![]() |
OR-Tools
8.2
|
Definition at line 34 of file bop_solution.h.
Public Member Functions | |
BopSolution (const sat::LinearBooleanProblem &problem, const std::string &name) | |
void | SetValue (VariableIndex var, bool value) |
size_t | Size () const |
bool | Value (VariableIndex var) const |
const std::string & | name () const |
void | set_name (const std::string &name) |
int64_t | GetCost () const |
double | GetScaledCost () const |
bool | IsFeasible () const |
absl::StrongVector< VariableIndex, bool >::const_iterator | begin () const |
absl::StrongVector< VariableIndex, bool >::const_iterator | end () const |
bool | operator< (const BopSolution &solution) const |
BopSolution | ( | const sat::LinearBooleanProblem & | problem, |
const std::string & | name | ||
) |
Definition at line 28 of file bop_solution.cc.
|
inline |
Definition at line 80 of file bop_solution.h.
|
inline |
Definition at line 83 of file bop_solution.h.
|
inline |
Definition at line 53 of file bop_solution.h.
|
inline |
Definition at line 64 of file bop_solution.h.
|
inline |
Definition at line 72 of file bop_solution.h.
|
inline |
Definition at line 47 of file bop_solution.h.
|
inline |
Definition at line 90 of file bop_solution.h.
|
inline |
Definition at line 48 of file bop_solution.h.
|
inline |
Definition at line 39 of file bop_solution.h.
|
inline |
Definition at line 45 of file bop_solution.h.
|
inline |
Definition at line 46 of file bop_solution.h.