You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means a lot of overhead for a downstream use where we only use iterators in validity checks. The tricky part is that the copy is indeed necessary inapply since we can't replace part of a route while iterating over a subset of the same route. But we could make it so that the copy only happens in apply which is only called a marginal number of times across all instances of the operator.
The text was updated successfully, but these errors were encountered:
We're making a copy of the "remaining" source range in the
vrptw::PDShift
operator ctor:vroom/src/problems/vrptw/operators/pd_shift.cpp
Lines 35 to 36 in 0aeb2cc
This means a lot of overhead for a downstream use where we only use iterators in validity checks. The tricky part is that the copy is indeed necessary in
apply
since we can't replace part of a route while iterating over a subset of the same route. But we could make it so that the copy only happens inapply
which is only called a marginal number of times across all instances of the operator.The text was updated successfully, but these errors were encountered: