Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
The solution format used by this class. More...
#include <synchronization.h>
Public Member Functions | |
bool | operator== (const Solution &other) const |
bool | operator< (const Solution &other) const |
Public Attributes | |
int64_t | rank = 0 |
std::vector< ValueType > | variable_values |
std::string | info |
int | num_selected = 0 |
The solution format used by this class.
Definition at line 65 of file synchronization.h.
|
inline |
Definition at line 87 of file synchronization.h.
|
inline |
Definition at line 84 of file synchronization.h.
std::string operations_research::sat::SharedSolutionRepository< ValueType >::Solution::info |
Definition at line 76 of file synchronization.h.
|
mutable |
Number of time this was returned by GetRandomBiasedSolution(). We use this information during the selection process.
Should be private: only SharedSolutionRepository should modify this.
Definition at line 82 of file synchronization.h.
int64_t operations_research::sat::SharedSolutionRepository< ValueType >::Solution::rank = 0 |
Solution with lower "rank" will be preferred
Definition at line 72 of file synchronization.h.
std::vector<ValueType> operations_research::sat::SharedSolutionRepository< ValueType >::Solution::variable_values |
Definition at line 74 of file synchronization.h.