Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::SharedSolutionRepository< ValueType >::Solution Struct Reference

Detailed Description

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

Definition at line 94 of file synchronization.h.

#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
int source_id

Member Function Documentation

◆ operator<()

template<typename ValueType>
bool operations_research::sat::SharedSolutionRepository< ValueType >::Solution::operator< ( const Solution & other) const
inline

Definition at line 118 of file synchronization.h.

◆ operator==()

template<typename ValueType>
bool operations_research::sat::SharedSolutionRepository< ValueType >::Solution::operator== ( const Solution & other) const
inline

Definition at line 115 of file synchronization.h.

Member Data Documentation

◆ info

template<typename ValueType>
std::string operations_research::sat::SharedSolutionRepository< ValueType >::Solution::info

Definition at line 105 of file synchronization.h.

◆ num_selected

template<typename ValueType>
int operations_research::sat::SharedSolutionRepository< ValueType >::Solution::num_selected = 0
mutable

Definition at line 111 of file synchronization.h.

◆ rank

template<typename ValueType>
int64_t operations_research::sat::SharedSolutionRepository< ValueType >::Solution::rank = 0

Definition at line 101 of file synchronization.h.

◆ source_id

template<typename ValueType>
int operations_research::sat::SharedSolutionRepository< ValueType >::Solution::source_id

Definition at line 113 of file synchronization.h.

◆ variable_values

template<typename ValueType>
std::vector<ValueType> operations_research::sat::SharedSolutionRepository< ValueType >::Solution::variable_values

Definition at line 103 of file synchronization.h.


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