Public Member Functions | |
void | apply (int, bool) |
mets::gol_type | apply_and_evaluate (int index, bool val) |
void | copy_from (const mets::copyable &o) |
mets::gol_type | cost_function () const |
Cost function to be minimized. | |
void | setOptimizer (SAOptimizerT *opt) |
void | setSolution (std::vector< bool > &sol) |
void | unapply (int index, bool val) |
mets::gol_type | what_if (int, bool) const |
Public Attributes | |
mets::gol_type | cost_ |
SAOptimizerT * | opt_ |
std::vector< bool > | solution_ |
void pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::apply | ( | int | , |
bool | |||
) | [inline] |
mets::gol_type pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::apply_and_evaluate | ( | int | index, |
bool | val | ||
) | [inline] |
void pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::copy_from | ( | const mets::copyable & | o | ) | [inline, virtual] |
Implements mets::copyable.
mets::gol_type pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::cost_function | ( | ) | const [inline, virtual] |
Cost function to be minimized.
The cost function is the target that the search algorithm tries to minimize.
You must implement this for your problem.
Implements mets::evaluable_solution.
void pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::setOptimizer | ( | SAOptimizerT * | opt | ) | [inline] |
void pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::setSolution | ( | std::vector< bool > & | sol | ) | [inline] |
void pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::unapply | ( | int | index, |
bool | val | ||
) | [inline] |
mets::gol_type pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::what_if | ( | int | , |
bool | |||
) | const [inline] |
mets::gol_type pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::cost_ |
SAOptimizerT* pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::opt_ |
std::vector<bool> pcl::GlobalHypothesesVerification< ModelT, SceneT >::SAModel::solution_ |