Interface ConnectoidSegment

    • Field Detail

      • CONNECTOID_SEGMENT_ID_CLASS

        static final Class<ConnectoidSegment> CONNECTOID_SEGMENT_ID_CLASS
        additional id class for generating connectoid segment ids
    • Method Detail

      • getConnectoidSegmentIdClass

        default Class<ConnectoidSegment> getConnectoidSegmentIdClass()
        Return class used to generate unique connectoid edge segment ids via the id generator
        Returns:
        class type
      • getConnectoidSegmentId

        long getConnectoidSegmentId()
        Collect the unqiue connectoid segment id
        Returns:
        connectoid segment id
      • getCapacityOrDefaultPcuH

        default double getCapacityOrDefaultPcuH()
        Connectoid segments are not capacity restricted by default, but can be used in conjunction with a capacitated network. Therefore, they by default return Double.MAX_VALUE as their capacity. We have no limitation on capacity to ensure that demand does not get "trapped" in zones, but can at least be loaded onto connectoid segments so it is present in the network during loading
        Specified by:
        getCapacityOrDefaultPcuH in interface PcuCapacitated
        Returns:
        capacity in PCu/h