#include <qbpp_easy_solver.hpp>
Definition at line 320 of file qbpp_easy_solver.hpp.
◆ EasySolver()
◆ ~EasySolver()
virtual qbpp::easy_solver::EasySolver::~EasySolver |
( |
| ) |
|
|
virtualdefault |
◆ single_search()
void qbpp::easy_solver::EasySolver::single_search |
( |
size_t |
thread_id | ) |
|
|
inlineprotected |
◆ get_quad_model()
const qbpp::QuadModel& qbpp::easy_solver::EasySolver::get_quad_model |
( |
| ) |
const |
|
inline |
◆ get_time_limit()
const std::optional<uint32_t> qbpp::easy_solver::EasySolver::get_time_limit |
( |
| ) |
const |
|
inline |
◆ get_target_energy()
const std::optional<energy_t> qbpp::easy_solver::EasySolver::get_target_energy |
( |
| ) |
const |
|
inline |
◆ get_sol_holder_ptr()
const std::shared_ptr<qbpp::SolHolder> qbpp::easy_solver::EasySolver::get_sol_holder_ptr |
( |
| ) |
const |
|
inline |
◆ var_count()
vindex_t qbpp::easy_solver::EasySolver::var_count |
( |
| ) |
const |
|
inline |
◆ set_time_limit()
void qbpp::easy_solver::EasySolver::set_time_limit |
( |
uint32_t |
limit | ) |
|
|
inline |
◆ set_target_energy()
void qbpp::easy_solver::EasySolver::set_target_energy |
( |
energy_t |
energy | ) |
|
|
inline |
◆ set_thread_count()
void qbpp::easy_solver::EasySolver::set_thread_count |
( |
unsigned int |
count | ) |
|
|
inline |
◆ get_thread_count()
size_t qbpp::easy_solver::EasySolver::get_thread_count |
( |
| ) |
|
|
inline |
◆ get_sol()
qbpp::Sol qbpp::easy_solver::EasySolver::get_sol |
( |
| ) |
const |
|
inline |
◆ get_tts()
double qbpp::easy_solver::EasySolver::get_tts |
( |
| ) |
const |
|
inline |
◆ enable_default_callback()
void qbpp::easy_solver::EasySolver::enable_default_callback |
( |
| ) |
|
|
inline |
◆ callback()
virtual void qbpp::easy_solver::EasySolver::callback |
( |
const qbpp::Sol & |
sol, |
|
|
double |
tts |
|
) |
| const |
|
inlinevirtual |
◆ search()
qbpp::Sol qbpp::easy_solver::EasySolver::search |
( |
| ) |
|
|
inline |
◆ quad_model_
◆ time_limit_
std::optional<uint32_t> qbpp::easy_solver::EasySolver::time_limit_ |
|
protected |
◆ thread_count_
size_t qbpp::easy_solver::EasySolver::thread_count_ |
|
protected |
Initial value:{std::thread::hardware_concurrency() < 4
? 4
: std::thread::hardware_concurrency()}
Definition at line 326 of file qbpp_easy_solver.hpp.
◆ target_energy_
std::optional<energy_t> qbpp::easy_solver::EasySolver::target_energy_ |
|
protected |
◆ sol_holder_ptr_
const std::shared_ptr<qbpp::SolHolder> qbpp::easy_solver::EasySolver::sol_holder_ptr_ |
|
protected |
◆ callback_mutex_
std::mutex qbpp::easy_solver::EasySolver::callback_mutex_ |
|
mutableprotected |
◆ enable_default_callback_
bool qbpp::easy_solver::EasySolver::enable_default_callback_ = false |
|
protected |
◆ start_time_
double qbpp::easy_solver::EasySolver::start_time_ |
|
protected |
◆ prev_energy_
std::optional<energy_t> qbpp::easy_solver::EasySolver::prev_energy_ = std::nullopt |
|
mutableprotected |
The documentation for this class was generated from the following file: