MCPcopy Index your code
hub / github.com/PyVRP/PyVRP / finaliseFront

Method finaliseFront

pyvrp/cpp/DurationSegment.h:255–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255DurationSegment DurationSegment::finaliseFront() const
256{
257 // We finalise at the start of this segment. This is pretty easy, via a
258 // merge with our release times, if they are binding.
259 DurationSegment const release = {0, 0, startEarly(), startLate()};
260 return merge(release, {duration_, timeWarp_, startEarly_, startLate_});
261}
262
263Duration DurationSegment::duration() const
264{

Callers 3

RouteMethod · 0.80
durationMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected