![]() |
OpenCV 4.12.0
开源计算机视觉
|
此类声明了用于模拟退火优化算法的系统状态的示例接口。 更多...
#include <opencv2/ml.hpp>
公共成员函数 | |
| void | changeState () |
| double | energy () const |
| void | reverseState () |
此类声明了用于模拟退火优化算法的系统状态的示例接口。
| void cv::ml::SimulatedAnnealingSolverSystem::changeState | ( | ) |
改变系统状态的函数(随机扰动)。
| double cv::ml::SimulatedAnnealingSolverSystem::energy | ( | ) | const |
给出系统状态的能量值。
| void cv::ml::SimulatedAnnealingSolverSystem::reverseState | ( | ) |
恢复到先前状态的函数。 只能在 changeState() 之后调用一次。