EvolvingObjects
eoData.h
00001 
00024 #ifndef EODATA_H
00025 #define EODATA_H
00026 
00027 #ifndef _MSC_VER
00028 #include <math.h>
00029 #define _isnan isnan
00030 #endif
00031 
00032 
00033 //-----------------------------------------------------------------------------
00034 // some defines to make things easier to get at first sight
00035 
00036 // to be used in selection / replacement procedures to indicate whether
00037 // the argument (rate, a double) shoudl be treated as a rate (number=rate*popSize)
00038 // or as an absolute integer (number=rate regardless of popsize).
00039 // the default value shoudl ALWAYS be true (eo_as_a_rate).
00040 //
00041 // this construct is mandatory because in some cases you might not know the
00042 // population size that will enter the replacement for instance - so you
00043 // cannot simply have a pre-computed (double) rate of 1/popSize
00044 #define eo_is_a_rate true
00045 #define eo_is_an_integer false
00046 
00047 #endif
 All Classes Namespaces Files Functions Variables Typedefs Friends