OpenCV
3.4.19
Open Source Computer Vision
|
This class declares example interface for system state used in simulated annealing optimization algorithm. More...
#include <opencv2/ml.hpp>
Public Member Functions | |
void | changeState () |
double | energy () const |
void | reverseState () |
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().