Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages | Search for

# 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 // tuning the amount of output using a boolean argument:
    00037 // true should always mean more output
    00038 #define eo_verbose true
    00039 #define eo_no_verbose false
    00040 // to be used in selection / replacement procedures to indicate whether
    00041 // the argument (rate, a double) shoudl be treated as a rate (number=rate*popSize)
    00042 // or as an absolute integer (number=rate regardless of popsize).
    00043 // the default value shoudl ALWAYS be true (eo_as_a_rate).
    00044 //
    00045 // this construct is mandatory because in some cases you might not know the
    00046 // population size that will enter the replacement for instance - so you
    00047 // cannot simply have a pre-computed (double) rate of 1/popSize
    00048 #define eo_is_a_rate true
    00049 #define eo_is_an_integer false
    00050
    00051 #endif
    00052