java.lang.Object
de.grogra.graph.GraphUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic void
acceptPath
(Path pathToFollow, Visitor visitor, ArrayPath placeInPath) static Path
cutToGraph
(Path path, Graph graph) static boolean
static Object
getEdge
(Graph graph, Object source, Object target, EdgePattern pattern, boolean ignoreDirection) static Object
getFirstIncomingNode
(Graph graph, Object node) static Object
getFirstOutgoingNode
(Graph graph, Object node) static Path
getTreePath
(GraphState gs, Object obj, boolean node) static int
lastIndexOfGraph
(Path path, Graph graph) static int
lastIndexOfTree
(Path path, GraphState gs) static boolean
matches
(EdgePattern p, Graph g, Object edgeSet, boolean toTarget) static boolean
matchesTerminalEdge
(EdgePattern p, Path path) static boolean
nodesEqual
(Path p, Path q) static final boolean
testEdgeBits
(int edgeBits, int mask)
-
Field Details
-
I18N
-
-
Method Details
-
nodesEqual
-
equal
-
matches
-
matchesTerminalEdge
-
getTreePath
-
testEdgeBits
public static final boolean testEdgeBits(int edgeBits, int mask) -
acceptPath
-
lastIndexOfGraph
-
lastIndexOfTree
-
cutToGraph
-
getEdge
public static Object getEdge(Graph graph, Object source, Object target, EdgePattern pattern, boolean ignoreDirection) -
getFirstIncomingNode
-
getFirstOutgoingNode
-