public class AtomEquitablePartitionRefiner extends AbstractEquitablePartitionRefiner implements IEquitablePartitionRefiner
AtomDiscretePartitionRefiner
.AbstractEquitablePartitionRefiner.SplitOrder
Constructor and Description |
---|
AtomEquitablePartitionRefiner(AtomDiscretePartitionRefiner discreteRefiner) |
Modifier and Type | Method and Description |
---|---|
int |
getVertexCount()
Gets from the graph the number of vertices.
|
int |
neighboursInBlock(Set<Integer> block,
int atomIndex)
Find |a ∩ b| - that is, the size of the intersection between a and b.
|
refine, setSplitOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
refine
public AtomEquitablePartitionRefiner(AtomDiscretePartitionRefiner discreteRefiner)
public int neighboursInBlock(Set<Integer> block, int atomIndex)
AbstractEquitablePartitionRefiner
neighboursInBlock
in class AbstractEquitablePartitionRefiner
block
- a set of numbersatomIndex
- the element to comparepublic int getVertexCount()
AbstractEquitablePartitionRefiner
getVertexCount
in class AbstractEquitablePartitionRefiner
Copyright © 2014. All Rights Reserved.