![]() |
OR-Tools
9.6
|
Represents a closed interval [start, end].
We must have start <= end.
Definition at line 34 of file sorted_interval_list.h.
Public Member Functions | |
| ClosedInterval () | |
| ClosedInterval (int64_t s, int64_t e) | |
| std::string | DebugString () const |
| bool | operator== (const ClosedInterval &other) const |
| bool | operator< (const ClosedInterval &other) const |
Public Attributes | |
| int64_t | start = 0 |
| int64_t | end = 0 |
|
inline |
Definition at line 35 of file sorted_interval_list.h.
|
inline |
Definition at line 36 of file sorted_interval_list.h.
| std::string DebugString | ( | ) | const |
Definition at line 34 of file sorted_interval_list.cc.
|
inline |
Definition at line 49 of file sorted_interval_list.h.
|
inline |
Definition at line 42 of file sorted_interval_list.h.
| int64_t end = 0 |
Definition at line 54 of file sorted_interval_list.h.
| int64_t start = 0 |
Definition at line 53 of file sorted_interval_list.h.