#include <qbpp_easy_solver.hpp>
Definition at line 260 of file qbpp_easy_solver.hpp.
◆ TabuSolDelta()
qbpp::easy_solver::TabuSolDelta::TabuSolDelta |
( |
const EasySolver & |
easy_solver, |
|
|
vindex_t |
tabu_size |
|
) |
| |
|
inline |
◆ ~TabuSolDelta()
virtual qbpp::easy_solver::TabuSolDelta::~TabuSolDelta |
( |
| ) |
|
|
virtualdefault |
◆ flip() [1/2]
void qbpp::easy_solver::TabuSolDelta::flip |
( |
vindex_t |
index | ) |
|
|
inlineoverridevirtual |
◆ tabu_has()
bool qbpp::easy_solver::TabuSolDelta::tabu_has |
( |
vindex_t |
index | ) |
const |
|
inline |
◆ non_tabu_random()
vindex_t qbpp::easy_solver::TabuSolDelta::non_tabu_random |
( |
| ) |
|
|
inline |
◆ get_delta()
◆ flip() [2/2]
void qbpp::Sol::flip |
( |
Var |
var | ) |
|
|
inlineinherited |
◆ set_if_better()
std::optional< double > qbpp::easy_solver::SolDelta::set_if_better |
( |
const std::string & |
solver_name | ) |
|
|
inlineinherited |
◆ neg_count()
vindex_t qbpp::easy_solver::SolDelta::neg_count |
( |
| ) |
const |
|
inlineinherited |
◆ neg_random()
vindex_t qbpp::easy_solver::SolDelta::neg_random |
( |
| ) |
|
|
inlineinherited |
◆ neg_min()
vindex_t qbpp::easy_solver::SolDelta::neg_min |
( |
| ) |
const |
|
inlineinherited |
◆ before_delta_updated()
virtual void qbpp::easy_solver::SolDelta::before_delta_updated |
( |
[[maybe_unused] ] vindex_t |
flip_index, |
|
|
[[maybe_unused] ] vindex_t |
update_delta_index |
|
) |
| |
|
inlinevirtualinherited |
◆ after_delta_updated()
virtual void qbpp::easy_solver::SolDelta::after_delta_updated |
( |
[[maybe_unused] ] vindex_t |
flip_index, |
|
|
[[maybe_unused] ] vindex_t |
update_delta_index |
|
) |
| |
|
inlinevirtualinherited |
◆ greedy()
void qbpp::easy_solver::SolDelta::greedy |
( |
| ) |
|
|
inlineinherited |
◆ random_flip()
void qbpp::easy_solver::SolDelta::random_flip |
( |
size_t |
iteration | ) |
|
|
inlineinherited |
◆ move_to()
void qbpp::easy_solver::SolDelta::move_to |
( |
qbpp::Sol |
destination | ) |
|
|
inlineinherited |
◆ comp_energy()
energy_t qbpp::Sol::comp_energy |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ get_map_list()
MapList qbpp::Sol::get_map_list |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ operator==()
bool qbpp::Sol::operator== |
( |
const Sol & |
sol | ) |
const |
|
inlineinherited |
◆ operator<()
bool qbpp::Sol::operator< |
( |
const Sol & |
sol | ) |
const |
|
inlineinherited |
◆ get() [1/4]
◆ get() [2/4]
◆ get() [3/4]
◆ get() [4/4]
template<typename T >
auto qbpp::Sol::get |
( |
const Vector< T > & |
vec | ) |
const |
|
inlineinherited |
◆ has()
bool qbpp::Sol::has |
( |
Var |
var | ) |
const |
|
inlineinherited |
◆ clear()
void qbpp::Sol::clear |
( |
| ) |
|
|
inlineinherited |
◆ set() [1/4]
void qbpp::Sol::set |
( |
vindex_t |
index, |
|
|
bool |
value |
|
) |
| |
|
inlineinherited |
◆ set() [2/4]
void qbpp::Sol::set |
( |
Var |
var, |
|
|
bool |
value |
|
) |
| |
|
inlineinherited |
◆ set() [3/4]
Sol qbpp::Sol::set |
( |
const Sol & |
sol | ) |
|
|
inlineinherited |
◆ set() [4/4]
◆ popcount()
◆ get_energy()
energy_t qbpp::Sol::get_energy |
( |
| ) |
const |
|
inlineinherited |
◆ set_energy()
void qbpp::Sol::set_energy |
( |
energy_t |
energy | ) |
|
|
inlineinherited |
◆ get_bit_vector()
◆ var_count()
◆ get_constant()
energy_t qbpp::Sol::get_constant |
( |
| ) |
const |
|
inlineinherited |
◆ get_var()
◆ get_index()
◆ operator MapList()
qbpp::Sol::operator MapList |
( |
| ) |
const |
|
inlineinherited |
◆ tabu_size_
const vindex_t qbpp::easy_solver::TabuSolDelta::tabu_size_ |
|
protected |
◆ tabu_
Tabu qbpp::easy_solver::TabuSolDelta::tabu_ |
|
protected |
◆ easy_solver_
const EasySolver& qbpp::easy_solver::SolDelta::easy_solver_ |
|
protectedinherited |
◆ delta_
std::vector<energy_t> qbpp::easy_solver::SolDelta::delta_ |
|
protectedinherited |
◆ neg_set_
◆ sol_holder_ptr_
std::shared_ptr<qbpp::SolHolder> qbpp::easy_solver::SolDelta::sol_holder_ptr_ |
|
protectedinherited |
◆ quad_model_
◆ bit_vector_
◆ energy_
std::optional<energy_t> qbpp::Sol::energy_ = std::nullopt |
|
mutableprotectedinherited |
The documentation for this class was generated from the following file: