mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Final pgindent + perltidy run for v10.
This commit is contained in:
@@ -65,25 +65,25 @@ typedef struct City
|
||||
int tour1_position;
|
||||
int used;
|
||||
int select_list;
|
||||
} City;
|
||||
} City;
|
||||
|
||||
extern City *alloc_city_table(PlannerInfo *root, int num_gene);
|
||||
extern void free_city_table(PlannerInfo *root, City *city_table);
|
||||
extern City * alloc_city_table(PlannerInfo *root, int num_gene);
|
||||
extern void free_city_table(PlannerInfo *root, City * city_table);
|
||||
|
||||
/* cycle crossover [CX] */
|
||||
extern int cx(PlannerInfo *root, Gene *tour1, Gene *tour2,
|
||||
Gene *offspring, int num_gene, City *city_table);
|
||||
Gene *offspring, int num_gene, City * city_table);
|
||||
|
||||
/* position crossover [PX] */
|
||||
extern void px(PlannerInfo *root, Gene *tour1, Gene *tour2, Gene *offspring,
|
||||
int num_gene, City *city_table);
|
||||
int num_gene, City * city_table);
|
||||
|
||||
/* order crossover [OX1] according to Davis */
|
||||
extern void ox1(PlannerInfo *root, Gene *mom, Gene *dad, Gene *offspring,
|
||||
int num_gene, City *city_table);
|
||||
int num_gene, City * city_table);
|
||||
|
||||
/* order crossover [OX2] according to Syswerda */
|
||||
extern void ox2(PlannerInfo *root, Gene *mom, Gene *dad, Gene *offspring,
|
||||
int num_gene, City *city_table);
|
||||
int num_gene, City * city_table);
|
||||
|
||||
#endif /* GEQO_RECOMBINATION_H */
|
||||
|
||||
Reference in New Issue
Block a user