|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmapss.dif.DIFClusterManager
mapss.dif.csdf.sdf.SDFClusterManager
public class SDFClusterManager
A graph class specializing in maintaining SDF cluster hierarchy. It is usually instanciated to distinguished away from the original flattened graph.
Constructor Summary | |
---|---|
SDFClusterManager(SDFGraph graph)
A constructor with the original graph. |
Method Summary | |
---|---|
protected java.util.List |
_clusterNodesComplete(DIFGraph graph,
java.util.Collection nodeCollection,
mocgraph.Node superNode)
Given a collection of nodes in the given graph, replace the subgraph induced by the node collection with a single node N. |
protected DIFEdgeWeight |
_newEdgeWeight()
Return an SDF edge weight for a newly created edge in clustering process. |
protected DIFNodeWeight |
_newNodeWeight()
Return an SDF node weight for a newly created node in clustering process. |
Methods inherited from class mapss.dif.DIFClusterManager |
---|
_getEdgeMap, _isReachable, _isReachable, _newSuperNode, _reachInNodes, _reachInNodes, _reachOutNodes, _reachOutNodes, _setSuperNode, _updateReachability, clusterNodes, clusterNodes, getGraph, getOriginalEdge, getRootNode, getSubgraph, isSuperNode, testAcyclicClustering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDFClusterManager(SDFGraph graph)
SDFGraph
.
Method Detail |
---|
protected java.util.List _clusterNodesComplete(DIFGraph graph, java.util.Collection nodeCollection, mocgraph.Node superNode)
List
is returned
which contains these results and users should be aware of what
they are (and their squence in the list). By default, this method
returns both the induced subgraph and a map from newly created
edges to old edges replaced.
_clusterNodesComplete
in class DIFClusterManager
nodeCollection
- The collection of nodes.superNode
- The super node that will replace the node collection.graph
- The given graph.
protected DIFEdgeWeight _newEdgeWeight()
_newEdgeWeight
in class DIFClusterManager
protected DIFNodeWeight _newNodeWeight()
_newNodeWeight
in class DIFClusterManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |