Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::SharedSolutionPool Class Reference

Detailed Description

Definition at line 236 of file synchronization.h.

#include <synchronization.h>

Public Member Functions

 SharedSolutionPool (const SatParameters &parameters_)
const SharedSolutionRepository< int64_t > & BestSolutions () const
std::shared_ptr< const SharedSolutionRepository< int64_t >::Solution > GetSolutionToImprove (absl::BitGenRef random) const
std::shared_ptr< const SharedSolutionRepository< int64_t >::Solution > Add (SharedSolutionRepository< int64_t >::Solution solution)
void Synchronize (absl::BitGenRef random)
void AddTableStats (std::vector< std::vector< std::string > > *table) const

Constructor & Destructor Documentation

◆ SharedSolutionPool()

operations_research::sat::SharedSolutionPool::SharedSolutionPool ( const SatParameters & parameters_)
inlineexplicit

Definition at line 238 of file synchronization.h.

Member Function Documentation

◆ Add()

std::shared_ptr< const SharedSolutionRepository< int64_t >::Solution > operations_research::sat::SharedSolutionPool::Add ( SharedSolutionRepository< int64_t >::Solution solution)

Definition at line 83 of file synchronization.cc.

◆ AddTableStats()

void operations_research::sat::SharedSolutionPool::AddTableStats ( std::vector< std::vector< std::string > > * table) const
inline

Definition at line 276 of file synchronization.h.

◆ BestSolutions()

const SharedSolutionRepository< int64_t > & operations_research::sat::SharedSolutionPool::BestSolutions ( ) const
inline

Definition at line 246 of file synchronization.h.

◆ GetSolutionToImprove()

std::shared_ptr< const SharedSolutionRepository< int64_t >::Solution > operations_research::sat::SharedSolutionPool::GetSolutionToImprove ( absl::BitGenRef random) const
inline

Definition at line 253 of file synchronization.h.

◆ Synchronize()

void operations_research::sat::SharedSolutionPool::Synchronize ( absl::BitGenRef random)

Definition at line 97 of file synchronization.cc.


The documentation for this class was generated from the following files: