OR-Tools  8.2
SharedSolutionRepository< ValueType >::Solution

Detailed Description

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

Definition at line 51 of file synchronization.h.

Public Member Functions

bool operator== (const Solution &other) const
 
bool operator< (const Solution &other) const
 

Public Attributes

int64 rank
 
std::vector< ValueType > variable_values
 
int num_selected = 0
 

Member Function Documentation

◆ operator<()

bool operator< ( const Solution other) const
inline

Definition at line 71 of file synchronization.h.

◆ operator==()

bool operator== ( const Solution other) const
inline

Definition at line 68 of file synchronization.h.

Member Data Documentation

◆ num_selected

int num_selected = 0
mutable

Definition at line 66 of file synchronization.h.

◆ rank

int64 rank

Definition at line 58 of file synchronization.h.

◆ variable_values

std::vector<ValueType> variable_values

Definition at line 60 of file synchronization.h.


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