Class InitialPhysicalCost

    • Constructor Detail

      • InitialPhysicalCost

        public InitialPhysicalCost​(IdGroupingToken groupId)
        Constructor
        Parameters:
        groupId - , contiguous id generation within this group for instances of this class
    • Method Detail

      • setSegmentCost

        public abstract void setSegmentCost​(Mode mode,
                                            LinkSegment linkSegment,
                                            double cost)
        Set the initial cost for a specified mode and link segment
        Parameters:
        mode - the current mode
        linkSegment - the current link segment
        cost - the initial cost for this mode and link segment