Class BoyerMyrvoldPlanarityInspector.OrientDfsStackInfo
java.lang.Object
org.jgrapht.alg.planar.BoyerMyrvoldPlanarityInspector.OrientDfsStackInfo
- Enclosing class:
BoyerMyrvoldPlanarityInspector<V,E>
Represents information needed to store in the stack during the input
graph
orientation.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleanWhether dfs is moving forward or backtracking on thecurrentnode(package private) VThe current vertex of the dfs traversal(package private) VThe parent vertex of thecurrentvertex, which is null for dfs tree roots(package private) EThe edge connectingparentandcurrentvertices -
Constructor Summary
ConstructorsConstructorDescriptionOrientDfsStackInfo(V current, V parent, E parentEdge, boolean backtrack) Creates new instance of the information stored on the stack during the orientation of thegraph -
Method Summary
-
Field Details
-
current
V currentThe current vertex of the dfs traversal -
parent
V parentThe parent vertex of thecurrentvertex, which is null for dfs tree roots -
parentEdge
E parentEdgeThe edge connectingparentandcurrentvertices -
backtrack
boolean backtrackWhether dfs is moving forward or backtracking on thecurrentnode
-
-
Constructor Details
-
OrientDfsStackInfo
Creates new instance of the information stored on the stack during the orientation of thegraph- Parameters:
current- the vertex dfs is currently processingparent- the parent of thecurrentvertexparentEdge- the edge betweencurrentandparentverticesbacktrack- whether dfs is moving forward or backtracking on thecurrentvertex
-