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 java.lang.Object implements PlanarityTestingAlgorithm.Embedding<V,E>
Implementation of thePlanarityTestingAlgorithm.Embedding
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<E>
getEdgesAround(V vertex)
Returns the clockwise order of edges incident to thevertex
Graph<V,E>
getGraph()
Returns the underlyinggraph
java.lang.String
toString()
-
-
-
Method Detail
-
getEdgesAround
public java.util.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-