MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / duration

Method duration

pyvrp/cpp/DurationSegment.h:263–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263Duration DurationSegment::duration() const
264{
265 auto const duration = cumDuration_ + duration_;
266 return duration + std::max<Duration>(startEarly() - prevEndLate_, 0);
267}
268
269Duration DurationSegment::timeWarp(Duration maxDuration) const
270{

Calls

no outgoing calls