|
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 27 of file geqo_random.c.
References GetGeqoPrivateData(), pg_prng_double(), and root.
Referenced by linear_rand().
| int geqo_randint | ( | PlannerInfo * | root, |
| int | upper, | ||
| int | lower | ||
| ) |
Definition at line 35 of file geqo_random.c.
References GetGeqoPrivateData(), 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 19 of file geqo_random.c.
References GetGeqoPrivateData(), pg_prng_fseed(), and root.
Referenced by geqo().