![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 81 of file variable_expand.h.
#include <variable_expand.h>
Public Member Functions | |
| OrderEncoding (int var, PresolveContext *context, SolutionCrush &solution_crush) | |
| void | InsertLeLiteral (int64_t value, int literal) |
| void | InsertGeLiteral (int64_t value, int literal) |
| void | CreateAllOrderEncodingLiterals (const ValueEncoding &values) |
| int | ge_literal (int64_t value) const |
| int | le_literal (int64_t value) const |
| int | num_encoded_values () const |
| operations_research::sat::OrderEncoding::OrderEncoding | ( | int | var, |
| PresolveContext * | context, | ||
| SolutionCrush & | solution_crush ) |
Definition at line 244 of file variable_expand.cc.
| void operations_research::sat::OrderEncoding::CreateAllOrderEncodingLiterals | ( | const ValueEncoding & | values | ) |
Definition at line 302 of file variable_expand.cc.
| int operations_research::sat::OrderEncoding::ge_literal | ( | int64_t | value | ) | const |
Definition at line 385 of file variable_expand.cc.
| void operations_research::sat::OrderEncoding::InsertGeLiteral | ( | int64_t | value, |
| int | literal ) |
Definition at line 264 of file variable_expand.cc.
| void operations_research::sat::OrderEncoding::InsertLeLiteral | ( | int64_t | value, |
| int | literal ) |
Definition at line 251 of file variable_expand.cc.
| int operations_research::sat::OrderEncoding::le_literal | ( | int64_t | value | ) | const |
Definition at line 393 of file variable_expand.cc.
| int operations_research::sat::OrderEncoding::num_encoded_values | ( | ) | const |
Definition at line 399 of file variable_expand.cc.