This class declares example interface for system state used in simulated annealing optimization algorithm. More...
#include <opencv2/ml.hpp>
Public Member Functions | |
void | changeState () |
Function which change the state of system (random perturbation). More... | |
double | energy () const |
Give energy value for a state of system. More... | |
void | reverseState () |
Function to reverse to the previous state. More... | |
This class declares example interface for system state used in simulated annealing optimization algorithm.
void cv::ml::SimulatedAnnealingSolverSystem::changeState | ( | ) |
Function which change the state of system (random perturbation).
double cv::ml::SimulatedAnnealingSolverSystem::energy | ( | ) | const |
Give energy value for a state of system.
void cv::ml::SimulatedAnnealingSolverSystem::reverseState | ( | ) |
Function to reverse to the previous state.
Can be called once only after changeState().