PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | geqo_set_seed (PlannerInfo *root, double seed) |
double | geqo_rand (PlannerInfo *root) |
int | geqo_randint (PlannerInfo *root, int upper, int lower) |
double geqo_rand | ( | PlannerInfo * | root | ) |
Definition at line 28 of file geqo_random.c.
References pg_prng_double(), and root.
Referenced by linear_rand().
int geqo_randint | ( | PlannerInfo * | root, |
int | upper, | ||
int | lower | ||
) |
Definition at line 36 of file geqo_random.c.
References lower(), pg_prng_uint64_range(), root, and upper().
Referenced by edge_failure(), gimme_gene(), gimme_tour(), and init_tour().
void geqo_set_seed | ( | PlannerInfo * | root, |
double | seed | ||
) |
Definition at line 20 of file geqo_random.c.
References pg_prng_fseed(), and root.
Referenced by geqo().