1 /*-------------------------------------------------------------------------
4 * pool representation in optimizer/geqo
6 * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/optimizer/geqo_pool.h
11 *-------------------------------------------------------------------------
15 =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
16 * Martin Utesch * Institute of Automatic Control *
17 = = University of Mining and Technology =
18 * utesch@aut.tu-freiberg.de * Freiberg, Germany *
19 =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
26 #include "optimizer/geqo.h"
29 extern Pool *alloc_pool(PlannerInfo *root, int pool_size, int string_length);
30 extern void free_pool(PlannerInfo *root, Pool *pool);
32 extern void random_init_pool(PlannerInfo *root, Pool *pool);
33 extern Chromosome *alloc_chromo(PlannerInfo *root, int string_length);
34 extern void free_chromo(PlannerInfo *root, Chromosome *chromo);
36 extern void spread_chromo(PlannerInfo *root, Chromosome *chromo, Pool *pool);
38 extern void sort_pool(PlannerInfo *root, Pool *pool);
40 #endif /* GEQO_POOL_H */