C++ Reference
C++ Reference: CP-SAT
sorted_interval_list.h File Reference
Go to the source code of this file.
Classes | |
struct | ClosedInterval |
Represents a closed interval [start, end]. More... | |
class | Domain |
We call domain any subset of Int64 = [kint64min, kint64max]. More... | |
class | SortedDisjointIntervalList |
This class represents a sorted list of disjoint, closed intervals. More... | |
struct | SortedDisjointIntervalList::IntervalComparator |
Namespaces | |
namespace | operations_research |
Functions | |
std::ostream & | operator<< (std::ostream &out, const ClosedInterval &interval) |
std::ostream & | operator<< (std::ostream &out, const std::vector< ClosedInterval > &intervals) |
bool | IntervalsAreSortedAndNonAdjacent (absl::Span< const ClosedInterval > intervals) |
Returns true iff we have: More... | |
std::ostream & | operator<< (std::ostream &out, const Domain &domain) |
int64 | SumOfKMinValueInDomain (const Domain &domain, int k) |
int64 | SumOfKMaxValueInDomain (const Domain &domain, int k) |