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
      • deepClone

        ConnectoidSegment deepClone()
        An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call. To be used with caution if not called by managed id container related code
        Specified by:
        deepClone in interface EdgeSegment
        Specified by:
        deepClone in interface GraphEntity
        Specified by:
        deepClone in interface IdAble
        Returns:
        deep copy of entity
      • 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