|
std::string | operations_research::sat::FormatCounter (int64_t num) |
| Prints a positive number with separators for easier reading (ex: 1'348'065).
|
|
std::string | operations_research::sat::FormatName (absl::string_view name) |
| This is used to format our table first row entry.
|
|
std::string | operations_research::sat::FormatTable (std::vector< std::vector< std::string > > &table, int spacing) |
|
int64_t | operations_research::sat::ModularInverse (int64_t x, int64_t m) |
|
int64_t | operations_research::sat::PositiveMod (int64_t x, int64_t m) |
| Just returns x % m but with a result always in [0, m).
|
|
int64_t | operations_research::sat::ProductWithModularInverse (int64_t coeff, int64_t mod, int64_t rhs) |
|
bool | operations_research::sat::SolveDiophantineEquationOfSizeTwo (int64_t &a, int64_t &b, int64_t &cte, int64_t &x0, int64_t &y0) |
|
int64_t | operations_research::sat::FloorSquareRoot (int64_t a) |
| The argument must be non-negative.
|
|
int64_t | operations_research::sat::CeilSquareRoot (int64_t a) |
|
int64_t | operations_research::sat::SafeDoubleToInt64 (double value) |
|
int64_t | operations_research::sat::ClosestMultiple (int64_t value, int64_t base) |
|
std::vector< absl::Span< int > > | operations_research::sat::AtMostOneDecomposition (const std::vector< std::vector< int > > &graph, absl::BitGenRef random, std::vector< int > *buffer) |
|
bool | operations_research::sat::LinearInequalityCanBeReducedWithClosestMultiple (int64_t base, absl::Span< const int64_t > coeffs, absl::Span< const int64_t > lbs, absl::Span< const int64_t > ubs, int64_t rhs, int64_t *new_rhs) |
|
void | operations_research::sat::RandomizeDecisionHeuristic (absl::BitGenRef random, SatParameters *parameters) |
| Randomizes the decision heuristic of the given SatParameters.
|
|
int | operations_research::sat::WeightedPick (absl::Span< const double > input, absl::BitGenRef random) |
|
int | operations_research::sat::MoveOneUnprocessedLiteralLast (const absl::btree_set< LiteralIndex > &processed, int relevant_prefix_size, std::vector< Literal > *literals) |
|
void | operations_research::sat::CompressTuples (absl::Span< const int64_t > domain_sizes, std::vector< std::vector< int64_t > > *tuples) |
|
std::vector< std::vector< absl::InlinedVector< int64_t, 2 > > > | operations_research::sat::FullyCompressTuples (absl::Span< const int64_t > domain_sizes, std::vector< std::vector< int64_t > > *tuples) |
|
bool | operations_research::sat::IsNegatableInt64 (absl::int128 x) |
| Tells whether a int128 can be casted to a int64_t that can be negated.
|
|
template<typename IntType , bool ceil> |
IntType | operations_research::sat::CeilOrFloorOfRatio (IntType numerator, IntType denominator) |
|
template<typename IntType > |
IntType | operations_research::sat::CeilOfRatio (IntType numerator, IntType denominator) |
|
template<typename IntType > |
IntType | operations_research::sat::FloorOfRatio (IntType numerator, IntType denominator) |
|