V - the graph vertex typeE - the graph edge typepublic static class TreeToPathDecompositionAlgorithm.PathDecompositionImpl<V,E> extends Object implements TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>, Serializable
| Constructor and Description |
|---|
PathDecompositionImpl(Graph<V,E> graph,
Set<E> edges,
List<List<V>> paths)
Construct a new path decomposition.
|
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
getEdges()
Set of edges of the path decomposition.
|
Set<GraphPath<V,E>> |
getPaths()
Set of disjoint paths of the decomposition
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnumberOfPathspublic Set<E> getEdges()
TreeToPathDecompositionAlgorithm.PathDecompositiongetEdges in interface TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>public Set<GraphPath<V,E>> getPaths()
TreeToPathDecompositionAlgorithm.PathDecompositiongetPaths in interface TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>Copyright © 2018. All rights reserved.