Interface MiTopologyExplicitI<C extends MiCell>

    • Method Detail

      • getEndNodeId

        long getEndNodeId()
        Returns the last node id + 1 used by this topology.

        This topology uses only node index in the interval [beginNodeId, endNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId().

        Returns:
        the last node id + 1 used by this topology
      • getCell

        C getCell​(long id)
        Returns a cell of this topology. The cell is identified by one id.
        Parameters:
        id - id of the cell
        Returns:
        the cell identified by the specified id
      • getBeginNodeId

        long getBeginNodeId()
        Returns the first node id used by this topology.

        This topology uses only node index in the interval [beginNodeId,EndNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId().

        Returns:
        the first node id used by this topology