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

Method endEarly

pyvrp/cpp/DurationSegment.h:296–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296Duration DurationSegment::endEarly() const
297{
298 auto const tripDuration = duration() - cumDuration_;
299 auto const tripTimeWarp = timeWarp() - cumTimeWarp_;
300 return startEarly() + tripDuration - tripTimeWarp;
301}
302
303Duration DurationSegment::endLate() const
304{

Callers 1

finaliseBackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected