public class ClusterNodesAnalysis extends Analysis
Graph
Constructor and Description |
---|
ClusterNodesAnalysis(ClusterNodesTransformer analyzer)
Construct an instance of this class with a given analyzer.
|
ClusterNodesAnalysis(Graph graph,
java.util.Collection nodeCollection,
Node superNode)
Construct an instance of this class for a given graph.
|
Modifier and Type | Method and Description |
---|---|
Graph |
clusterNodes()
Return the clustered Graph.
|
java.lang.String |
toString()
Return a description of the analysis and the associated analyzer.
|
boolean |
validAnalyzerInterface(Analyzer analyzer)
Check if a given analyzer is compatible with this analysis.
|
analyzer, changeAnalyzer, graph, valid
public ClusterNodesAnalysis(Graph graph, java.util.Collection nodeCollection, Node superNode)
graph
- The graph.nodeCollection
- The collection of nodes.superNode
- The node that replaces the subgraph.public ClusterNodesAnalysis(ClusterNodesTransformer analyzer)
analyzer
- The default Analyzer.public Graph clusterNodes()
public java.lang.String toString()
public boolean validAnalyzerInterface(Analyzer analyzer)
validAnalyzerInterface
in class Analysis
analyzer
- The given analyzer.