49 auto best_order = within_this_set.
front();
52 for (
const auto o : within_this_set) {
53 auto size_J = this->at(o).subsetJ(within_this_set).size();
54 if (max_size < size_J) {
71 auto best_order = within_this_set.
front();
73 for (
const auto o : within_this_set) {
74 auto size_I = this->at(o).subsetI(within_this_set).size();
75 if (max_size < size_I) {
92 auto best_order = within_this_set.
front();
95 for (
const auto o : within_this_set) {
96 auto size_I = this->at(o).subsetI(within_this_set).size();
97 auto size_J = this->at(o).subsetJ(within_this_set).size();
98 if (max_size < (std::max)(size_I, size_J)) {
99 max_size = (std::max)(size_I, size_J);
111 for (
const auto &o : *
this) {
112 if (!o.is_valid(speed)) {
116 pgassert(o.delivery().is_delivery());
118 pgassert(o.delivery().is_compatible_IJ(o.pickup(), speed));
129 for (
auto &I : *
this) {
130 for (
const auto& J : *
this) {
131 I.set_compatibles(J, speed);