OR-Tools  9.2
ids_validator.cc File Reference

Go to the source code of this file.

Namespaces

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

Functions

absl::Status CheckIdsNonnegativeAndStrictlyIncreasing (absl::Span< const int64_t > ids)
 
absl::Status CheckSortedIdsSubset (const absl::Span< const int64_t > ids, const absl::Span< const int64_t > universe)
 
absl::Status CheckUnsortedIdsSubset (const absl::Span< const int64_t > ids, const absl::Span< const int64_t > universe)
 
absl::Status CheckIdsSubset (absl::Span< const int64_t > ids, const IdNameBiMap &universe, absl::string_view ids_description, absl::string_view universe_description)
 
absl::Status CheckIdsIdentical (absl::Span< const int64_t > first_ids, const IdNameBiMap &second_ids, absl::string_view first_description, absl::string_view second_description)
 

Variables

constexpr double kInf = std::numeric_limits<double>::infinity()