mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Change my-function-name-- to my_function_name, and optimizer renames.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* geqo_selection.c--
|
||||
* geqo_selection.c
|
||||
* linear selection scheme for the genetic query optimizer
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: geqo_selection.c,v 1.6 1999/02/03 21:16:23 momjian Exp $
|
||||
* $Id: geqo_selection.c,v 1.7 1999/02/13 23:16:13 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
static int linear(int max, double bias);
|
||||
|
||||
/* geqo_selection--
|
||||
/* geqo_selection
|
||||
*
|
||||
* according to bias described by input parameters,
|
||||
* second genes are selected from the pool
|
||||
@@ -81,7 +81,7 @@ geqo_selection(Chromosome *momma, Chromosome *daddy, Pool *pool, double bias)
|
||||
geqo_copy(daddy, &pool->data[second], pool->string_length);
|
||||
}
|
||||
|
||||
/* linear--
|
||||
/* linear
|
||||
* generates random integer between 0 and input max number
|
||||
* using input linear bias
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user