Interface GraphPartitioningAlgorithm
is to be
implemented by graph partitioning algorithms.
Algorithm
Method Summary | |
int[] |
findPartition(double[][] adjMatrix)
Method findPartition should return
vertices in one of the two sets. |
Methods inherited from interface edu.gwu.algtest.Algorithm |
getName, setPropertyExtractor |
Method Detail |
public int[] findPartition(double[][] adjMatrix)
findPartition
should return
vertices in one of the two sets. The number of
vertices in the returned set should be half the number
in the graph. The value of the partition will be
the total edge weight for those edges that go between
the partitions.adjMatrix
- a double[][]
valueint[]
value