Created by Scott Robert Ladd at Coyote Gulch Productions.
Global things used by all optimizer classes. More...
#include <function_optimizer.h>
Protected Types | |
typedef vector< double > | t_function(vector< double > a_args) |
Definition of a function type. More... | |
Static Protected Attributes | |
static evoreal | g_evoreal |
Provides mutation and crossover services for doubles. | |
I put all cross-class, shared items into a single base class; this encapsulates global data, and also show why multiple inheritance is a useful tool.
|
protected |
This is the type of function being optimized. The inner nature of this function is not defined by this optimizer. A t_function can be anything – a simple numerical formula or a simulation. For example: Consider a set of arguments that describe the shape of a wing, and a function that tests shapes in a simulated wind tunnel, the fitness representing "lift".
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.