public class SceneGraphUtils
extends java.lang.Object
Constructor and Description |
---|
SceneGraphUtils() |
Modifier and Type | Method and Description |
---|---|
static Pair<java.lang.Integer,java.lang.Integer> |
getClosestIndices(IndexedWord w1,
IndexedWord w2) |
static IndexedWord |
getCommonAncestor(SemanticGraph sg,
IndexedWord w1,
IndexedWord w2) |
static boolean |
inSameSubTree(SemanticGraph sg,
IndexedWord w1,
IndexedWord w2) |
public static IndexedWord getCommonAncestor(SemanticGraph sg, IndexedWord w1, IndexedWord w2)
public static boolean inSameSubTree(SemanticGraph sg, IndexedWord w1, IndexedWord w2)
public static Pair<java.lang.Integer,java.lang.Integer> getClosestIndices(IndexedWord w1, IndexedWord w2)