OR-Tools  9.6
SharedSolutionRepository< ValueType >::Solution

Detailed Description

template<typename ValueType>
struct operations_research::sat::SharedSolutionRepository< ValueType >::Solution

Definition at line 60 of file 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
 

Member Function Documentation

◆ operator<()

bool operator< ( const Solution other) const
inline

Definition at line 82 of file synchronization.h.

◆ operator==()

bool operator== ( const Solution other) const
inline

Definition at line 79 of file synchronization.h.

Member Data Documentation

◆ info

std::string info

Definition at line 71 of file synchronization.h.

◆ num_selected

int num_selected = 0
mutable

Definition at line 77 of file synchronization.h.

◆ rank

int64_t rank = 0

Definition at line 67 of file synchronization.h.

◆ variable_values

std::vector<ValueType> variable_values

Definition at line 69 of file synchronization.h.


The documentation for this struct was generated from the following file: