Module org.jgrapht.core
Package org.jgrapht.alg.interfaces
Interface TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
- All Known Implementing Classes:
TreeToPathDecompositionAlgorithm.PathDecompositionImpl
- Enclosing interface:
- TreeToPathDecompositionAlgorithm<V,
E>
public static interface TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
A path decomposition.
-
Method Summary
-
Method Details
-
getEdges
Set of edges of the path decomposition.- Returns:
- edge set of the path decomposition
-
getPaths
Set of disjoint paths of the decomposition- Returns:
- list of vertex paths
-
numberOfPaths
default int numberOfPaths()- Returns:
- number of paths in the decomposition
-