|
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
PartitionLayouter.EdgeBetweennessPartitionFinder
uses Groups.edgeBetweennessClustering(y.base.Graph, NodeMap, boolean, int, int, DataProvider)
as strategy for finding graph partitions.
Constructor Summary | |
---|---|
PartitionLayouter.EdgeBetweennessPartitionFinder()
Creates a new instance of 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 the result should have. |
int |
getMinimumPartitionCount()
Returns the minimum number of partitions the result should have. |
void |
setMaximumPartitionCount(int maximumPartitionCount)
Specifies the maximum number of partitions the result should have. |
void |
setMinimumPartitionCount(int minimumPartitionCount)
Specifies the minimum number of partitions the result should have. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartitionLayouter.EdgeBetweennessPartitionFinder()
PartitionLayouter.EdgeBetweennessPartitionFinder
.
Method Detail |
---|
public void findPartitions(LayoutGraph graph, NodeMap clusterIDMap)
PartitionLayouter.PartitionFinder
findPartitions
in interface PartitionLayouter.PartitionFinder
graph
- the input graphclusterIDMap
- the map that is filled with the resulting partition IDspublic int getMaximumPartitionCount()
The number of partitions must be non-negative.
setMaximumPartitionCount(int)
public void setMaximumPartitionCount(int maximumPartitionCount)
The number of partitions must be non-negative.
Integer.MAX_VALUE
. There is no limit to the number of returned partitions.maximumPartitionCount
- the maximum number of partitions
java.lang.IllegalArgumentException
- if the specified count is negativepublic int getMinimumPartitionCount()
The number of partitions must be non-negative.
setMinimumPartitionCount(int)
public void setMinimumPartitionCount(int minimumPartitionCount)
The number of partitions must be non-negative.
minimumPartitionCount
- the minimum number of partitions
java.lang.IllegalArgumentException
- if the specified count is negative
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |