Helios++
Helios software for LiDAR simulations
|
Base abstract class providing basic structure for minimization optimization of a given function. More...
#include <Minimizer.h>
Public Member Functions | |
Minimizer (function< OT(IT)> f) | |
Minimizer default constructor. More... | |
virtual IT | argmin (IT x)=0 |
Find the argument which minimizes minimizer's function. More... | |
virtual function< OT(IT)> | getF () const |
Obtain the function to be minimized. More... | |
virtual void | setF (function< OT(IT)> f) |
Set the function to be minimized. More... | |
Protected Attributes | |
function< OT(IT)> | f |
The function to be minimized. | |
Private Member Functions | |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned int const version) |
Serialize the minimizer to a stream of bytes. More... | |
Friends | |
class | boost::serialization::access |
Base abstract class providing basic structure for minimization optimization of a given function.
Minimizer serves as basis for implementation of analytical minimizers, numerical minimizers, heuristic minimizers and any minimization-like optimization. Thus, it is only aware of the mathematical core of any minimization, which is:
\[ \mathrm{arg min}_{x} \; f(x) \]
IT | Type of input the function to be minimized receives |
OT | Type of output the function to be minimized gives |
|
inline |
Minimizer default constructor.
f | Function to be minimized |
|
pure virtual |
Find the argument which minimizes minimizer's function.
x |
Implemented in fluxionum::UnivariateNewtonRaphsonMinimizer< IT, OT >.
|
inlinevirtual |
Obtain the function to be minimized.
|
inlineprivate |
Serialize the minimizer to a stream of bytes.
Archive | Type of rendering |
ar | Specific rendering for the stream of bytes |
version | Version number for the minimizer |
|
inlinevirtual |
Set the function to be minimized.
f | New function to be minimized |