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