diff options
Diffstat (limited to 'src/include/optimizer/geqo_random.h')
-rw-r--r-- | src/include/optimizer/geqo_random.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/optimizer/geqo_random.h b/src/include/optimizer/geqo_random.h index 9bb3affe725..73a9d37e53b 100644 --- a/src/include/optimizer/geqo_random.h +++ b/src/include/optimizer/geqo_random.h @@ -1,27 +1,27 @@ /*------------------------------------------------------------------------- * * geqo_random.h-- - * random number generator + * random number generator * * Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_random.h,v 1.1 1997/02/19 12:59:02 scrappy Exp $ + * $Id: geqo_random.h,v 1.2 1997/09/07 04:59:03 momjian Exp $ * *------------------------------------------------------------------------- */ /* contributed by: =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= - * Martin Utesch * Institute of Automatic Control * - = = University of Mining and Technology = - * [email protected] * Freiberg, Germany * + * Martin Utesch * Institute of Automatic Control * + = = University of Mining and Technology = + * [email protected] * Freiberg, Germany * =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */ /* -- parts of this are adapted from D. Whitley's Genitor algorithm -- */ -#ifndef GEQO_RANDOM_H -#define GEQO_RANDOM_H +#ifndef GEQO_RANDOM_H +#define GEQO_RANDOM_H #include <math.h> @@ -32,6 +32,6 @@ /* geqo_randint returns integer value between lower and upper inclusive */ -#define geqo_randint(upper,lower) ( (int) floor( geqo_rand()*((upper-lower)+0.999999) ) + lower ) +#define geqo_randint(upper,lower) ( (int) floor( geqo_rand()*((upper-lower)+0.999999) ) + lower ) -#endif /* GEQO_RANDOM_H */ +#endif /* GEQO_RANDOM_H */ |