PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | geqo_randint(root, upper, lower) ( (int) floor( geqo_rand(root)*(((upper)-(lower))+0.999999) ) + (lower) ) |
Functions | |
void | geqo_set_seed (PlannerInfo *root, double seed) |
double | geqo_rand (PlannerInfo *root) |
#define geqo_randint | ( | root, | |
upper, | |||
lower | |||
) | ( (int) floor( geqo_rand(root)*(((upper)-(lower))+0.999999) ) + (lower) ) |
Definition at line 38 of file geqo_random.h.
Referenced by edge_failure(), gimme_gene(), gimme_tour(), and init_tour().
double geqo_rand | ( | PlannerInfo * | root | ) |
Definition at line 35 of file geqo_random.c.
References PlannerInfo::join_search_private, and pg_erand48().
Referenced by linear_rand().
void geqo_set_seed | ( | PlannerInfo * | root, |
double | seed | ||
) |
Definition at line 20 of file geqo_random.c.
References PlannerInfo::join_search_private, and Min.
Referenced by geqo().