Struct cv::ml::SimulatedAnnealingSolverSystem#

This class declares example interface for system state used in simulated annealing optimization algorithm. View details

#include <opencv2/ml.hpp>

Collaboration diagram for cv::ml::SimulatedAnnealingSolverSystem:

Detailed Description#

struct SimulatedAnnealingSolverSystem#

This class declares example interface for system state used in simulated annealing optimization algorithm.

Note

This class is not defined in C++ code and can’t be use directly - you need your own implementation with the same methods.

Member Function Documentation#

changeState()#

void cv::ml::SimulatedAnnealingSolverSystem::changeState()

Function which change the state of system (random perturbation).

energy()#

double cv::ml::SimulatedAnnealingSolverSystem::energy()

Give energy value for a state of system.

reverseState()#

void cv::ml::SimulatedAnnealingSolverSystem::reverseState()

Function to reverse to the previous state. Can be called once only after changeState().

Source file#

The documentation for this struct was generated from the following file: