Module org.jgrapht.core
Package org.jgrapht.alg.interfaces
Interface TreeToPathDecompositionAlgorithm<V,E>
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
- All Known Implementing Classes:
HeavyPathDecomposition
public interface TreeToPathDecompositionAlgorithm<V,E>
An algorithm which computes a decomposition into disjoint paths for a given tree/forest
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A path decomposition.static class
Default implementation of the path decomposition interface. -
Method Summary
Modifier and TypeMethodDescriptionComputes a path decomposition.
-
Method Details
-
getPathDecomposition
TreeToPathDecompositionAlgorithm.PathDecomposition<V,E> getPathDecomposition()Computes a path decomposition.- Returns:
- a path decomposition
-