PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <math.h>
#include "optimizer/geqo.h"
#include "optimizer/geqo_misc.h"
#include "optimizer/geqo_pool.h"
#include "optimizer/geqo_random.h"
#include "optimizer/geqo_recombination.h"
#include "optimizer/geqo_selection.h"
Go to the source code of this file.
Functions | |
static int | gimme_pool_size (int nr_rel) |
static int | gimme_number_generations (int pool_size) |
RelOptInfo * | geqo (PlannerInfo *root, int number_of_rels, List *initial_rels) |
Variables | |
int | Geqo_effort |
int | Geqo_pool_size |
int | Geqo_generations |
double | Geqo_selection_bias |
double | Geqo_seed |
RelOptInfo* geqo | ( | PlannerInfo * | root, |
int | number_of_rels, | ||
List * | initial_rels | ||
) |
Definition at line 72 of file geqo_main.c.
References alloc_chromo(), alloc_city_table(), alloc_edge_table(), alloc_pool(), cx(), Pool::data, DEBUG1, DEBUG2, elog, ERROR, free_chromo(), free_city_table(), free_edge_table(), free_pool(), geqo_eval(), geqo_mutation(), Geqo_seed, geqo_selection(), Geqo_selection_bias, geqo_set_seed(), gimme_edge_table(), gimme_number_generations(), gimme_pool_size(), gimme_tour(), gimme_tree(), LOG, ox1(), ox2(), pmx(), px(), random_init_pool(), root, sort_pool(), spread_chromo(), generate_unaccent_rules::stdout, Chromosome::string, Pool::string_length, and Chromosome::worth.
Referenced by make_rel_from_joinlist().
|
static |
|
static |
Definition at line 320 of file geqo_main.c.
References Geqo_effort, Geqo_pool_size, and size.
Referenced by geqo().
int Geqo_effort |
Definition at line 44 of file geqo_main.c.
Referenced by gimme_pool_size().
int Geqo_generations |
Definition at line 46 of file geqo_main.c.
Referenced by gimme_number_generations().
int Geqo_pool_size |
Definition at line 45 of file geqo_main.c.
Referenced by gimme_pool_size().
double Geqo_seed |
Definition at line 48 of file geqo_main.c.
Referenced by geqo().
double Geqo_selection_bias |
Definition at line 47 of file geqo_main.c.
Referenced by geqo().