Module org.jgrapht.core
Package org.jgrapht.alg.planar
Class BoyerMyrvoldPlanarityInspector.OrientDfsStackInfo
- java.lang.Object
-
- org.jgrapht.alg.planar.BoyerMyrvoldPlanarityInspector.OrientDfsStackInfo
-
- Enclosing class:
- BoyerMyrvoldPlanarityInspector<V,E>
private class BoyerMyrvoldPlanarityInspector.OrientDfsStackInfo extends java.lang.ObjectRepresents information needed to store in the stack during the inputgraphorientation.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanbacktrackWhether dfs is moving forward or backtracking on thecurrentnode(package private) VcurrentThe current vertex of the dfs traversal(package private) VparentThe parent vertex of thecurrentvertex, which is null for dfs tree roots(package private) EparentEdgeThe edge connectingparentandcurrentvertices
-
Constructor Summary
Constructors Constructor Description OrientDfsStackInfo(V current, V parent, E parentEdge, boolean backtrack)Creates new instance of the information stored on the stack during the orientation of thegraph
-
-
-
Field Detail
-
current
V current
The current vertex of the dfs traversal
-
parent
V parent
The parent vertex of thecurrentvertex, which is null for dfs tree roots
-
parentEdge
E parentEdge
The edge connectingparentandcurrentvertices
-
backtrack
boolean backtrack
Whether dfs is moving forward or backtracking on thecurrentnode
-
-
Constructor Detail
-
OrientDfsStackInfo
OrientDfsStackInfo(V current, V parent, E parentEdge, boolean backtrack)
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
-
-