public interface Refinable
Modifier and Type | Method and Description |
---|---|
int |
getConnectivity(int vertexI,
int vertexJ)
Get the connectivity between two vertices as an integer, to allow
for multigraphs : so a single edge is 1, a double edge 2, etc.
|
Partition |
getInitialPartition()
Get an initial partition of the vertices of the refinable -
for example, by color.
|
int |
getVertexCount()
Get the number of vertices in the graph to be refined.
|
Invariant |
neighboursInBlock(Set<Integer> block,
int vertexIndex)
Given a block (or cell) of a partition, determine the invariant that
represents the intersection between the block and the neighbours of
vertexIndex supplied.
|
Invariant neighboursInBlock(Set<Integer> block, int vertexIndex)
block
- a cell of the partition under refinementvertexIndex
- the element to compareint getVertexCount()
int getConnectivity(int vertexI, int vertexJ)
vertexI
- a vertex of the graphvertexJ
- a vertex of the graphPartition getInitialPartition()
Copyright © 2017. All Rights Reserved.