Public Member Functions | |
void | apply (mets::feasible_solution &) const |
Operates this move on sol. | |
mets::gol_type | apply_and_evaluate (mets::feasible_solution &cs) |
mets::gol_type | evaluate (const mets::feasible_solution &) const |
Evaluate the cost after the move. | |
move (int i) | |
void | unapply (mets::feasible_solution &s) const |
Private Attributes | |
int | index_ |
pcl::GlobalHypothesesVerification< ModelT, SceneT >::move::move | ( | int | i | ) | [inline] |
void pcl::GlobalHypothesesVerification< ModelT, SceneT >::move::apply | ( | mets::feasible_solution & | sol | ) | const [inline, virtual] |
mets::gol_type pcl::GlobalHypothesesVerification< ModelT, SceneT >::move::apply_and_evaluate | ( | mets::feasible_solution & | cs | ) | [inline] |
mets::gol_type pcl::GlobalHypothesesVerification< ModelT, SceneT >::move::evaluate | ( | const mets::feasible_solution & | sol | ) | const [inline, virtual] |
Evaluate the cost after the move.
What if we make this move? Local searches can be speed up by a substantial amount if we are able to efficiently evaluate the cost of the neighboring solutions without actually changing the solution.
Implements mets::move.
void pcl::GlobalHypothesesVerification< ModelT, SceneT >::move::unapply | ( | mets::feasible_solution & | s | ) | const [inline] |
int pcl::GlobalHypothesesVerification< ModelT, SceneT >::move::index_ [private] |