Go to the source code of this file.
|
| operations_research |
| The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows.
|
|
| operations_research::sat |
|
◆ APPLY_TO_REPEATED_FIELD
#define APPLY_TO_REPEATED_FIELD |
( |
|
ct_name, |
|
|
|
field_name |
|
) |
| |
Value: { \
for (
int& r : *
ct->mutable_##ct_name()->mutable_##field_name()) f(&r); \
}
Definition at line 152 of file cp_model_utils.cc.
◆ APPLY_TO_SINGULAR_FIELD
#define APPLY_TO_SINGULAR_FIELD |
( |
|
ct_name, |
|
|
|
field_name |
|
) |
| |
Value: { \
int temp =
ct->mutable_##ct_name()->field_name(); \
f(&temp); \
ct->mutable_##ct_name()->set_##field_name(temp); \
}
Definition at line 145 of file cp_model_utils.cc.