Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

Configuration.h

Go to the documentation of this file.
00001 
00010 #ifndef __CONFIGURATION_H__
00011 #define __CONFIGURATION_H__
00012 
00013 #include <math.h>
00014 
00015 #ifdef __OLD_CPP__
00016 
00017 #include <iostream.h>
00018 #include <fstream.h>
00019 #include <string.h>
00020 #include <limits.h>
00021 #include <float.h>
00022 typedef int bool ;
00023 const bool true  = 1 ;
00024 const bool false = 0 ;
00025 
00026 #else
00027 #include <string>
00028 #include <iostream>
00029 #include <fstream>
00030 #include <climits>
00031 #include <cfloat>
00032 
00033 using namespace std ;
00034 
00035 const long MAX_INT = LONG_MAX ;
00036 const long MIN_INT = LONG_MIN ;
00037 
00038 const double MAX_REAL = HUGE_VAL  ;
00039 const double MIN_REAL = -MAX_REAL ;
00040 
00041 #endif
00042 
00043 #include <stdlib.h>
00044 
00045 enum MutationOperator {BIT_FLIP, RANDOM, POLYNOMIAL, UNIFORM} ; 
00046 enum VariableType {BINARY, BINARY_REAL, BINARY_GRAY_REAL, REAL, 
00047                    TREE, INTEGER, PERMUTATION} ;
00048 
00049 #endif

Generated on Wed Feb 11 10:38:01 2004 for Paes by doxygen 1.3.3