OpenCV  4.1.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::ml::SimulatedAnnealingSolverSystem Struct Reference

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 ()
 

Detailed Description

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

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().


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