Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <sorted_interval_list.h>
Public Member Functions | |
DomainIterator (const absl::InlinedVector< ClosedInterval, 1 > &intervals) | |
int64_t | operator* () const |
void | operator++ () |
bool | operator!= (absl::InlinedVector< ClosedInterval, 1 >::const_iterator end) const |
Allows to iterate over all values of a domain in order with for (const int64_t v : domain.Values()) { ... }
Note that this shouldn't be used in another context !! We don't implement full fledged iterator APIs.
Definition at line 176 of file sorted_interval_list.h.
|
inlineexplicit |
Definition at line 178 of file sorted_interval_list.h.
|
inline |
Definition at line 195 of file sorted_interval_list.h.
|
inline |
Definition at line 184 of file sorted_interval_list.h.
|
inline |
Definition at line 186 of file sorted_interval_list.h.