Interface GraphBlocks<G,B,N>

Type Parameters:
G - the type that represents the graph
B - the type that represents the block
N - the type of the node

public interface GraphBlocks<G,B,N>
Special support for dealing with blocks.
  • Method Details

    • blocks

      Collection<? extends B> blocks(G graph)
      All blocks in the graph.
      Parameters:
      graph - the graph
      Returns:
      collection of blocks in the graph
    • blockId

      int blockId(B block)
      Unique id of a block.
      Parameters:
      block - the block
      Returns:
      the id of the block
    • blockNodes

      Collection<? extends N> blockNodes(G info, B block)
    • blockSuccessors

      Collection<? extends B> blockSuccessors(B block)