delayObject
Defines how predicted arrival times generate lateness costs during optimisation, minimising late arrival penalties.
{
"cost": <real> | null,
"costLimit": <real> | null,
"fromEarliest": <bool>,
"planningElasticity": { "allow": timeInterval, "every": timeInterval } | null,
}
-
costreal - Initial cost per minute when arrival equals the stop’s latest arrival plus the start time.
-
earlyPeriodtimeInterval - Exponential factor modifying the late cost when arrival is earlier than the latest arrival plus start.
-
latePeriodtimeInterval - Exponential factor governing cost growth after the latest arrival plus start.
-
starttimeInterval - Offset from the latest arrival at which delay cost begins to accrue (may be negative).
-
timeLimittimeInterval - Time cap beyond which the lateness cost no longer increases.
-
costLimitreal - Cost cap on the accrued lateness penalty.
-
fromEarliestbooldefaultfalse - Measure the delay from the earliest time rather than the latest.
-
planningElasticity{ "allow": timeInterval, "every": timeInterval } - Permits `allow` of additional lateness for every `every` of planning horizon.