Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
geqo_gene.h46 linesDownload Raw Back to optimizer
1/*-------------------------------------------------------------------------2 *3 * geqo_gene.h4 *	  genome representation in optimizer/geqo5 *6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group7 * Portions Copyright (c) 1994, Regents of the University of California8 *9 * src/include/optimizer/geqo_gene.h10 *11 *-------------------------------------------------------------------------12 */13 14/* contributed by:15   =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=16   *  Martin Utesch				 * Institute of Automatic Control	   *17   =							 = University of Mining and Technology =18   *  utesch@aut.tu-freiberg.de  * Freiberg, Germany				   *19   =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=20 */21 22 23#ifndef GEQO_GENE_H24#define GEQO_GENE_H25 26#include "nodes/nodes.h"27 28/* we presume that int instead of Relid29   is o.k. for Gene; so don't change it! */30typedef int Gene;31 32typedef struct Chromosome33{34	Gene	   *string;35	Cost		worth;36} Chromosome;37 38typedef struct Pool39{40	Chromosome *data;41	int			size;42	int			string_length;43} Pool;44 45#endif							/* GEQO_GENE_H */46 
codekingpro/portable-devtools · Team Ai