Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


Protected Types | Static Protected Attributes | List of all members
libevocosm::fopt_global Class Reference

Global things used by all optimizer classes. More...

#include <function_optimizer.h>

Inheritance diagram for libevocosm::fopt_global:
libevocosm::function_landscape libevocosm::function_mutator libevocosm::function_optimizer libevocosm::function_reproducer libevocosm::function_solution

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.
 

Detailed Description

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.

Member Typedef Documentation

typedef vector<double> libevocosm::fopt_global::t_function(vector< double > a_args)
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".


The documentation for this class was generated from the following file:

© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.