V - The vertex typeE - The edge typepublic class AbstractTree<V extends Vertex,E extends Edge<V>> extends Graph<SPQRTreeNode<V,TreeEdgeWithContent<V,E>>,Edge<SPQRTreeNode<V,TreeEdgeWithContent<V,E>>>>
| Constructor and Description |
|---|
AbstractTree(E referenceEdge,
Graph<V,E> graph)
Constructors which sets the reference edge and graph for which the tree is being constructed
|
| Modifier and Type | Method and Description |
|---|---|
SPQRTreeNode<V,TreeEdgeWithContent<V,E>> |
getRoot() |
void |
setRoot(SPQRTreeNode<V,TreeEdgeWithContent<V,E>> root) |
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, toString, vertexDegreepublic SPQRTreeNode<V,TreeEdgeWithContent<V,E>> getRoot()
public void setRoot(SPQRTreeNode<V,TreeEdgeWithContent<V,E>> root)
root - The root to set