Class ManualInitialLinkSegmentCost

    • Constructor Detail

      • ManualInitialLinkSegmentCost

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

      • setAllSegmentCosts

        public void setAllSegmentCosts​(Mode mode,
                                       double cost,
                                       int noLinkSegments)
        Sets a given cost for all link segments for a given mode
        Parameters:
        mode - the specified mode
        cost - the cost of travel to be used
        noLinkSegments - the number of link segments