G - the type that represents the graphB - the type that represents the blockN - the type of the nodepublic interface GraphBlocks<G,B,N>
| Modifier and Type | Method and Description |
|---|---|
int |
blockId(B block)
Unique id of a block.
|
Collection<? extends N> |
blockNodes(G info,
B block) |
Collection<? extends B> |
blocks(G graph)
All blocks in the graph.
|
Collection<? extends B> |
blockSuccessors(B block) |
Collection<? extends B> blocks(G graph)
graph - the graphint blockId(B block)
block - the blockCollection<? extends N> blockNodes(G info, B block)
Collection<? extends B> blockSuccessors(B block)