V - The vertex typeE - The edge typepublic class STDualGraph<V extends Vertex,E extends Edge<V>> extends Graph<DualGraphVertex<V,E>,DualGraphEdge<V,E>>
| Constructor and Description |
|---|
STDualGraph(Graph<V,E> graph,
java.util.List<E> externalFace,
V s,
V t)
Construct the st-dual graph given a graph, external face and s and t vertices
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<E> |
getExternalFace() |
V |
getS() |
java.util.List<E> |
getsStar() |
V |
getT() |
java.util.List<E> |
gettStar() |
java.lang.String |
toString() |
addEdge, addVertex, addVertex, addVertexBeginning, adjacencyMatrix, adjacentEdges, adjacentVertices, allEdges, edgeBetween, edgeesBetween, edgesBetween, equals, getAdjacentLists, getAllSelfLoopEdges, getAllSinks, getAllSources, getEdges, getTreeLeaves, getVertexByContent, getVertices, graphMaxDegree, hasEdge, hashCode, hasSelfLoopEdges, hasVertex, inDegree, inEdges, isBiconnected, isConnected, isConnected, isCyclic, isDirected, isRing, isSimple, isSink, isSource, isTree, listBiconnectedComponents, listCutVertices, listMultiEdges, outDegree, outEdges, printAdjacencyMatrix, removeEdge, removeVertex, setDirected, setEdges, setVertices, subgraph, vertexDegreepublic STDualGraph(Graph<V,E> graph, java.util.List<E> externalFace, V s, V t)
graph - GraphexternalFace - Edges of the external faces - The first vertex of the st-numberingt - The last vertex of the st-numberingpublic java.lang.String toString()
public java.util.List<E> getExternalFace()
public V getS()
public V getT()
public java.util.List<E> getsStar()
public java.util.List<E> gettStar()