Module org.jgrapht.core
Package org.jgrapht.alg.interfaces
Class PlanarityTestingAlgorithm.EmbeddingImpl<V,E>
java.lang.Object
org.jgrapht.alg.interfaces.PlanarityTestingAlgorithm.EmbeddingImpl<V,E>
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
- All Implemented Interfaces:
PlanarityTestingAlgorithm.Embedding<V,
E>
- Enclosing interface:
- PlanarityTestingAlgorithm<V,
E>
public static class PlanarityTestingAlgorithm.EmbeddingImpl<V,E>
extends Object
implements PlanarityTestingAlgorithm.Embedding<V,E>
Implementation of the
PlanarityTestingAlgorithm.Embedding
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
EmbeddingImpl
Creates new embedding of thegraph
- Parameters:
graph
- thegraph
embeddingMap
- map from vertices ofgraph
to the clockwise order of edges
-
-
Method Details
-
getEdgesAround
Returns the clockwise order of edges incident to thevertex
- Specified by:
getEdgesAround
in interfacePlanarityTestingAlgorithm.Embedding<V,
E> - Parameters:
vertex
- the vertex whose incident edges are returned- Returns:
- the clockwise order of edges incident to the
vertex
-
getGraph
Returns the underlyinggraph
- Specified by:
getGraph
in interfacePlanarityTestingAlgorithm.Embedding<V,
E> - Returns:
- the underlying
graph
-
toString
-