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 thePlanarityTestingAlgorithm.Embedding
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<E>
getEdgesAround(V vertex)
Returns the clockwise order of edges incident to thevertex
Graph<V,E>
getGraph()
Returns the underlyinggraph
String
toString()
-
-
-
Method Detail
-
getEdgesAround
public List<E> getEdgesAround(V vertex)
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
public Graph<V,E> getGraph()
Returns the underlyinggraph
- Specified by:
getGraph
in interfacePlanarityTestingAlgorithm.Embedding<V,E>
- Returns:
- the underlying
graph
-
-