SigUtil
0.95
Utility modules for modern C++
|
収束判定の管理を行うクラス More...
Public Member Functions | |
ManageConvergenceSimple (double epsilon) | |
コンストラクタ More... | |
bool | update (double value) |
状態の更新と収束判定 More... | |
double | get_value () const |
前回の値の取得 More... | |
bool | is_convergence () const |
収束判定の管理を行うクラス
反復処理において、前回の値との差が指定値未満になると収束と判定する
Definition at line 64 of file convergence.hpp.
|
inline |
コンストラクタ
epsilon | 収束判定用の定数(前回の値との差がこの定数未満であれば収束と判定する) |
Definition at line 75 of file convergence.hpp.
|
inline |
前回の値の取得
Definition at line 91 of file convergence.hpp.
|
inline |
Definition at line 93 of file convergence.hpp.
|
inline |
状態の更新と収束判定
value | 収束判定に用いる値(ex:評価関数の出力) |
Definition at line 83 of file convergence.hpp.