#include <qbpp_exhaustive_solver.hpp>
Definition at line 36 of file qbpp_exhaustive_solver.hpp.
◆ Sol() [1/3]
qbpp::exhaustive_solver::Sol::Sol |
( |
const QuadModel & |
quad_model | ) |
|
|
inlineexplicit |
◆ Sol() [2/3]
qbpp::exhaustive_solver::Sol::Sol |
( |
const Sol & |
| ) |
|
|
default |
◆ Sol() [3/3]
qbpp::exhaustive_solver::Sol::Sol |
( |
Sol && |
| ) |
|
|
default |
◆ operator=() [1/2]
Sol& qbpp::exhaustive_solver::Sol::operator= |
( |
const Sol & |
| ) |
|
|
default |
◆ operator=() [2/2]
Sol& qbpp::exhaustive_solver::Sol::operator= |
( |
Sol && |
| ) |
|
|
default |
◆ get_all_solutions()
std::list<qbpp::Sol>& qbpp::exhaustive_solver::Sol::get_all_solutions |
( |
| ) |
|
|
inline |
◆ get_sol()
qbpp::Sol qbpp::exhaustive_solver::Sol::get_sol |
( |
| ) |
const |
|
inline |
◆ all_solution_mode()
void qbpp::exhaustive_solver::Sol::all_solution_mode |
( |
| ) |
|
|
inline |
◆ optimal_solution_mode()
void qbpp::exhaustive_solver::Sol::optimal_solution_mode |
( |
| ) |
|
|
inline |
◆ set_all_solutions()
void qbpp::exhaustive_solver::Sol::set_all_solutions |
( |
std::list< qbpp::Sol > && |
all_solutions | ) |
|
|
inline |
◆ str()
std::string qbpp::exhaustive_solver::Sol::str |
( |
| ) |
const |
|
inline |
◆ begin()
std::list<qbpp::Sol>::const_iterator qbpp::exhaustive_solver::Sol::begin |
( |
| ) |
const |
|
inline |
◆ end()
std::list<qbpp::Sol>::const_iterator qbpp::exhaustive_solver::Sol::end |
( |
| ) |
const |
|
inline |
◆ 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]
◆ flip() [1/2]
virtual void qbpp::Sol::flip |
( |
vindex_t |
index | ) |
|
|
inlinevirtualinherited |
◆ flip() [2/2]
void qbpp::Sol::flip |
( |
Var |
var | ) |
|
|
inlineinherited |
◆ 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 |
◆ is_all_solutions_
bool qbpp::exhaustive_solver::Sol::is_all_solutions_ = false |
|
private |
◆ is_optimal_solutions_
bool qbpp::exhaustive_solver::Sol::is_optimal_solutions_ = false |
|
private |
◆ all_solutions_
std::list<qbpp::Sol> qbpp::exhaustive_solver::Sol::all_solutions_ |
|
private |
◆ 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: