![]() |
OR-Tools
8.2
|
Represents a closed interval [start, end].
We must have start <= end.
Definition at line 33 of file sorted_interval_list.h.
Public Member Functions | |
ClosedInterval () | |
ClosedInterval (int64 s, int64 e) | |
std::string | DebugString () const |
bool | operator== (const ClosedInterval &other) const |
bool | operator< (const ClosedInterval &other) const |
Public Attributes | |
int64 | start = 0 |
int64 | end = 0 |
|
inline |
Definition at line 34 of file sorted_interval_list.h.
|
inline |
Definition at line 35 of file sorted_interval_list.h.
std::string DebugString | ( | ) | const |
Definition at line 32 of file sorted_interval_list.cc.
|
inline |
Definition at line 48 of file sorted_interval_list.h.
|
inline |
Definition at line 41 of file sorted_interval_list.h.
int64 end = 0 |
Definition at line 53 of file sorted_interval_list.h.
int64 start = 0 |
Definition at line 52 of file sorted_interval_list.h.