Module org.jgrapht.core
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:
java.io.Serializable,TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>
- Enclosing interface:
- TreeToPathDecompositionAlgorithm<V,E>
public static class TreeToPathDecompositionAlgorithm.PathDecompositionImpl<V,E> extends java.lang.Object implements TreeToPathDecompositionAlgorithm.PathDecomposition<V,E>, java.io.Serializable
Default implementation of the path decomposition interface.
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgrapht.alg.interfaces.TreeToPathDecompositionAlgorithm.PathDecomposition
numberOfPaths
-
Constructor Details
-
Method Details
-
getEdges
Description copied from interface:TreeToPathDecompositionAlgorithm.PathDecompositionSet of edges of the path decomposition.- Specified by:
getEdgesin interfaceTreeToPathDecompositionAlgorithm.PathDecomposition<V,E>- Returns:
- edge set of the path decomposition
-
getPaths
Description copied from interface:TreeToPathDecompositionAlgorithm.PathDecompositionSet of disjoint paths of the decomposition- Specified by:
getPathsin interfaceTreeToPathDecompositionAlgorithm.PathDecomposition<V,E>- Returns:
- list of vertex paths
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-