Package org.jgrapht.alg.interfaces
Class TreeToPathDecompositionAlgorithm.PathDecompositionImpl<V,E>
- java.lang.Object
-
- org.jgrapht.alg.interfaces.TreeToPathDecompositionAlgorithm.PathDecompositionImpl<V,E>
-
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
- All Implemented Interfaces:
Serializable
,TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
- Enclosing interface:
- TreeToPathDecompositionAlgorithm<V,E>
public static class TreeToPathDecompositionAlgorithm.PathDecompositionImpl<V,E> extends Object implements TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>, Serializable
Default implementation of the path decomposition interface.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<E>
getEdges()
Set of edges of the path decomposition.Set<GraphPath<V,E>>
getPaths()
Set of disjoint paths of the decompositionString
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jgrapht.alg.interfaces.TreeToPathDecompositionAlgorithm.PathDecomposition
numberOfPaths
-
-
-
-
Method Detail
-
getEdges
public Set<E> getEdges()
Description copied from interface:TreeToPathDecompositionAlgorithm.PathDecomposition
Set of edges of the path decomposition.- Specified by:
getEdges
in interfaceTreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
- Returns:
- edge set of the path decomposition
-
getPaths
public Set<GraphPath<V,E>> getPaths()
Description copied from interface:TreeToPathDecompositionAlgorithm.PathDecomposition
Set of disjoint paths of the decomposition- Specified by:
getPaths
in interfaceTreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
- Returns:
- list of vertex paths
-
-