![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Utility class to encapsulate an IntVarIterator and use it in a range-based loop. See the code snippet above IntVarIterator. It contains DEBUG_MODE-enabled code that DCHECKs that the same iterator instance isn't being iterated on in multiple places simultaneously.
Definition at line 4303 of file constraint_solver.h.
#include <constraint_solver.h>
Classes | |
| struct | Iterator |
Public Member Functions | |
| InitAndGetValues (IntVarIterator *it) | |
| Iterator | begin () |
| Iterator | end () |
|
inlineexplicit |
Definition at line 4305 of file constraint_solver.h.
|
inline |
Definition at line 4311 of file constraint_solver.h.
|
inline |
Definition at line 4318 of file constraint_solver.h.