![]() |
Google OR-Tools v9.14
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 217 of file sorted_interval_list.h.
|
inlineexplicit |
Definition at line 219 of file sorted_interval_list.h.
|
inline |
Definition at line 236 of file sorted_interval_list.h.
|
inline |
Definition at line 225 of file sorted_interval_list.h.
|
inline |
Definition at line 227 of file sorted_interval_list.h.