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, wait
numberOfPaths
public Set<E> getEdges()
TreeToPathDecompositionAlgorithm.PathDecomposition
getEdges
in interface TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
public Set<GraphPath<V,E>> getPaths()
TreeToPathDecompositionAlgorithm.PathDecomposition
getPaths
in interface TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
Copyright © 2019. All rights reserved.