java.lang.Object
de.grogra.graph.GraphUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidacceptPath(Path pathToFollow, Visitor visitor, ArrayPath placeInPath) static PathcutToGraph(Path path, Graph graph) static booleanstatic ObjectgetEdge(Graph graph, Object source, Object target, EdgePattern pattern, boolean ignoreDirection) static ObjectgetFirstIncomingNode(Graph graph, Object node) static ObjectgetFirstOutgoingNode(Graph graph, Object node) static PathgetTreePath(GraphState gs, Object obj, boolean node) static intlastIndexOfGraph(Path path, Graph graph) static intlastIndexOfTree(Path path, GraphState gs) static booleanmatches(EdgePattern p, Graph g, Object edgeSet, boolean toTarget) static booleanmatchesTerminalEdge(EdgePattern p, Path path) static booleannodesEqual(Path p, Path q) static final booleantestEdgeBits(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
-