Interface LowestCommonAncestorOffline.IResult

All Superinterfaces:
LowestCommonAncestorOffline.Result<Integer,Integer>
Enclosing interface:
LowestCommonAncestorOffline

public static interface LowestCommonAncestorOffline.IResult extends LowestCommonAncestorOffline.Result<Integer,Integer>
Result of a LowestCommonAncestorOffline computation for IntGraph.
Author:
Barak Ugav
  • Method Summary

    Modifier and Type
    Method
    Description
    default Integer
    getLca(int queryIdx)
    Deprecated.
    Please use getLcaInt(int) instead to avoid un/boxing.
    int
    getLcaInt(int queryIdx)
    Get the lowest common ancestor of the given query.

    Methods inherited from interface com.jgalgo.alg.tree.LowestCommonAncestorOffline.Result

    size