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

Method hasExcessLoad

pyvrp/cpp/Trip.cpp:187–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185size_t Trip::endDepot() const { return endDepot_; }
186
187bool Trip::hasExcessLoad() const
188{
189 return std::any_of(excessLoad_.begin(),
190 excessLoad_.end(),
191 [](auto const excess) { return excess > 0; });
192}
193
194bool Trip::operator==(Trip const &other) const
195{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected