Package com.jgalgo
Interface LowestCommonAncestorStatic.DataStructure
-
- Enclosing interface:
- LowestCommonAncestorStatic
public static interface LowestCommonAncestorStatic.DataStructure
Data structure result created from a static LCA pre-processing.- Author:
- Barak Ugav
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
findLowestCommonAncestor(int u, int v)
Find the lowest common ancestor of two vertices in the tree.
-