![]() |
OpenLB 1.8.1
|
Abstract base class for optimization tasks. More...
#include <optiCase.h>
Inheritance diagram for olb::opti::OptiCase< typename, typename >:
Collaboration diagram for olb::opti::OptiCase< typename, typename >:Public Member Functions | |
| OptiCase ()=default | |
| OptiCase (std::function< void(void)> postEvaluation) | |
| virtual S | evaluateObjective (const C &control, unsigned optiStep=0)=0 |
| virtual void | computeDerivatives (const C &control, C &derivatives, unsigned optiStep=0)=0 |
| void | postEvaluation () |
Protected Attributes | |
| std::function< void(void)> | _postEvaluation { [](){} } |
Abstract base class for optimization tasks.
Definition at line 37 of file optimizer.hh.
|
default |
|
inlineexplicit |
Definition at line 48 of file optiCase.h.
|
pure virtual |
Implemented in olb::opti::OptiCaseAnalytical< S, C >, olb::opti::OptiCaseCDQ< S, C >, olb::opti::OptiCaseDual< S, SOLVER, CONTROLLED_FIELD, PRIMAL_DYNAMICS, C >, and olb::opti::OptiCaseFDQ< S, C >.
Here is the caller graph for this function:
|
pure virtual |
Implemented in olb::opti::OptiCaseAnalytical< S, C >, olb::opti::OptiCaseDQ< S, C >, and olb::opti::OptiCaseDual< S, SOLVER, CONTROLLED_FIELD, PRIMAL_DYNAMICS, C >.
Here is the caller graph for this function:
|
inline |
Definition at line 56 of file optiCase.h.
References olb::opti::OptiCase< typename, typename >::_postEvaluation.
|
protected |
Definition at line 43 of file optiCase.h.