C++ Reference
C++ Reference: CP-SAT
ClosedInterval
Detailed Description
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 |
Constructor & Destructor Documentation
◆ ClosedInterval() [1/2]
|
inline |
Definition at line 34 of file sorted_interval_list.h.
◆ ClosedInterval() [2/2]
|
inline |
Definition at line 35 of file sorted_interval_list.h.
Member Function Documentation
◆ DebugString()
std::string DebugString | ( | ) | const |
◆ operator<()
|
inline |
Definition at line 48 of file sorted_interval_list.h.
◆ operator==()
|
inline |
Definition at line 41 of file sorted_interval_list.h.
Member Data Documentation
◆ end
int64 end = 0 |
Definition at line 53 of file sorted_interval_list.h.
◆ start
int64 start = 0 |
Definition at line 52 of file sorted_interval_list.h.
The documentation for this struct was generated from the following file: