net.sourceforge.combean.interfaces.graph.alg.partition
Interface PartitioningAlg
- All Superinterfaces:
- GraphAlgorithm
- All Known Subinterfaces:
- StronglyConnectedComponentsAlg
- All Known Implementing Classes:
- AbstractSCCImpl, SCCByDFSImpl, SCCByDoubleDFSImpl
public interface PartitioningAlg
- extends GraphAlgorithm
Base interface for algorithms which partition/color the nodes of the graph.
setVisitor
void setVisitor(NodePartitionVisitor partitionVisitor)
- Set the visitor which shall be informed about the partitions which
were found.
- Parameters:
partitionVisitor
-
getVisitor
NodePartitionVisitor getVisitor()
- Returns:
- the partition visitor