![]() |
OpenCV 4.13.0
開源計算機視覺庫 (Open Source Computer Vision)
|
此類聲明瞭在模擬退火最佳化演算法中使用的系統狀態的示例介面。 更多...
#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() 後只能呼叫一次。