Class Network

    • Field Detail

      • networkIdGroupingToken

        protected IdGroupingToken networkIdGroupingToken
        a token for this network in particular to ensure unique ids across all entities of the same class instance within this network
      • MACROSCOPIC_NETWORK

        public static final String MACROSCOPIC_NETWORK
        shorthand for creating a macroscopic infrastructure network
    • Constructor Detail

      • Network

        public Network​(IdGroupingToken tokenId)
        Constructor
        Parameters:
        tokenId - contiguous id generation within this group for instances of this class
      • Network

        public Network​(Network network)
        Copy constructor
        Parameters:
        network - to clone
    • Method Detail

      • getNetworkGroupingTokenId

        public IdGroupingToken getNetworkGroupingTokenId()
        collect the grouping token for this network instance
        Returns:
        id grouping token
      • reset

        public void reset()
        All components should be able to reset going back to some representative initial state
        Specified by:
        reset in class PlanitComponent<Network>