OR-Tools  9.6
sorted_interval_list.cc File Reference

Go to the source code of this file.

Namespaces

 operations_research
 Collection of objects used to extend the Constraint Solver library.
 

Functions

bool IntervalsAreSortedAndNonAdjacent (absl::Span< const ClosedInterval > intervals)
 Returns true iff we have: More...
 
int64_t CeilRatio (int64_t value, int64_t positive_coeff)
 
int64_t FloorRatio (int64_t value, int64_t positive_coeff)
 
std::ostream & operator<< (std::ostream &out, const ClosedInterval &interval)
 
std::ostream & operator<< (std::ostream &out, const std::vector< ClosedInterval > &intervals)
 
std::ostream & operator<< (std::ostream &out, const Domain &domain)
 
int64_t SumOfKMinValueInDomain (const Domain &domain, int k)
 
int64_t SumOfKMaxValueInDomain (const Domain &domain, int k)