This wrapper counts sum of the improvements. It makes sense to use it only when ChooseFirstBetter strategy is applied. More...
#include <custom_components.hpp>
Public Member Functions | |
| compute_gain_wrapper (compute_gain_wrapper gain, ValueType &val) | |
| Constructor. More... | |
| template<typename... Args> | |
| ValueType | operator() (Args &&...args) |
| forwards args to original gain. Sum up the improvements. More... | |
| ValueType | get_val () const |
| Returns sum of the improvements. More... | |
This wrapper counts sum of the improvements. It makes sense to use it only when ChooseFirstBetter strategy is applied.
| Gain | |
| ValueType |
Definition at line 219 of file custom_components.hpp.
|
inline |
|
inline |
|
inline |
forwards args to original gain. Sum up the improvements.
| Args |
| args |
Definition at line 237 of file custom_components.hpp.
1.8.5