Vita
|
Go to the source code of this file.
Classes | |
class | vita::ga::integer |
class | vita::ga::real |
Mainly used for differential evolution. More... | |
Namespaces | |
namespace | vita |
The main namespace for the project. | |
Typedefs | |
using | vita::ga::base_t = terminal_param_t |
We assume that errors during floating-point operations aren't terminal error. More... | |
Definition in file primitive.h.
using vita::ga::base_t = typedef terminal_param_t |
We assume that errors during floating-point operations aren't terminal error.
So we dont't try to prevent domain errors (e.g. square root of a negative number) or range error (e.g. pow(10.0, 1e6)
) checking arguments beforehand (domain errors could be prevented by carefully bounds checking the arguments before calling functions and taking alternative action if the bounds are violated; range errors usually can not be prevented, as they are dependent on the implementation of floating-point numbers, as well as the function being applied). Instead we detect them and take alternative action (usually returning an empty value).
Definition at line 33 of file primitive.h.