|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.PartitionLayouter.EdgeBetweennessPartitionFinder
public static class PartitionLayouter.EdgeBetweennessPartitionFinder
PartitionFinder implementation that uses Groups.edgeBetweennessClustering(y.base.Graph, y.base.NodeMap, boolean, int, int, y.base.DataProvider)
as partition strategy.
Constructor Summary | |
---|---|
PartitionLayouter.EdgeBetweennessPartitionFinder()
|
Method Summary | |
---|---|
void |
findPartitions(LayoutGraph graph,
NodeMap clusterIDMap)
Returns a partition id for each node of an input graph. |
int |
getMaximumPartitionCount()
Returns the maximum number of partitions that this class should return. |
int |
getMinimumPartitionCount()
Returns the minimum number of partitions that this class should return. |
void |
setMaximumPartitionCount(int maximumPartitionCount)
Sets the maximum number of partitions that this class should return. |
void |
setMinimumPartitionCount(int minimumPartitionCount)
Sets the minimum number of partitions that this class should return. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartitionLayouter.EdgeBetweennessPartitionFinder()
Method Detail |
---|
public void findPartitions(LayoutGraph graph, NodeMap clusterIDMap)
PartitionLayouter.PartitionFinder
findPartitions
in interface PartitionLayouter.PartitionFinder
graph
- the input graphclusterIDMap
- used to return the resulting partition idspublic int getMaximumPartitionCount()
public void setMaximumPartitionCount(int maximumPartitionCount)
public int getMinimumPartitionCount()
0
.
public void setMinimumPartitionCount(int minimumPartitionCount)
0
.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |