PostgreSQL Source Code
git master
Loading...
Searching...
No Matches
geqo_gene.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* geqo_gene.h
4
* genome representation in optimizer/geqo
5
*
6
* Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* src/include/optimizer/geqo_gene.h
10
*
11
*-------------------------------------------------------------------------
12
*/
13
14
/*
15
* contributed by:
16
* =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
17
* * Martin Utesch * Institute of Automatic Control *
18
* = = University of Mining and Technology =
19
* * utesch@aut.tu-freiberg.de * Freiberg, Germany *
20
* =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
21
*/
22
23
24
#ifndef GEQO_GENE_H
25
#define GEQO_GENE_H
26
27
#include "
nodes/nodes.h
"
28
29
/*
30
* we presume that int instead of Relid
31
* is o.k. for Gene; so don't change it!
32
*/
33
typedef
int
Gene
;
34
35
typedef
struct
Chromosome
36
{
37
Gene
*
string
;
38
Cost
worth
;
39
}
Chromosome
;
40
41
typedef
struct
Pool
42
{
43
Chromosome
*
data
;
44
int
size
;
45
int
string_length
;
46
}
Pool
;
47
48
#endif
/* GEQO_GENE_H */
Gene
int Gene
Definition
geqo_gene.h:33
nodes.h
Cost
double Cost
Definition
nodes.h:261
Chromosome
Definition
geqo_gene.h:36
Chromosome::worth
Cost worth
Definition
geqo_gene.h:38
Chromosome::string
Gene * string
Definition
geqo_gene.h:37
Pool
Definition
geqo_gene.h:42
Pool::string_length
int string_length
Definition
geqo_gene.h:45
Pool::size
int size
Definition
geqo_gene.h:44
Pool::data
Chromosome * data
Definition
geqo_gene.h:43
src
include
optimizer
geqo_gene.h
Generated on Wed May 13 2026 23:13:17 for PostgreSQL Source Code by
1.9.8