Procedure | Location | Procedure Type | Description |
---|---|---|---|
adjmut | pikaia_module | Subroutine | Dynamical adjustment of mutation rate: |
cross | pikaia_module | Subroutine | breeds two parent chromosomes into two offspring chromosomes. breeding occurs through crossover. If the crossover probability test yields true (crossover taking place), either one-point or two-point crossover is used, with equal probabilities. |
decode | pikaia_module | Subroutine | decode genotype into phenotype parameters ph(k) are x,y coordinates [ 0 < x,y < 1 ] |
encode | pikaia_module | Subroutine | Encode phenotype parameters into integer genotype ph(k) are x,y coordinates [ 0 < x,y < 1 ] |
func_wrapper | pikaia_module | Subroutine | Wrapper for the user's function that is used by the main pikaia routine The x input to this function comes from pikaia, and will be between [0,1]. |
genrep | pikaia_module | Subroutine | Full generational replacement: accumulate offspring into new population array |
mutate | pikaia_module | Subroutine | Introduces random mutation in a genotype. Mutations occur at rate pmut at all gene loci. |
newpop | pikaia_module | Subroutine | Replaces old population by new; recomputes fitnesses & ranks |
pikaia | pikaia_module | Subroutine | Optimization (maximization) of user-supplied "fitness" function over n-dimensional parameter space x using a basic genetic algorithm method. |
report | pikaia_module | Subroutine | Write generation report to standard output |
rninit | pikaia_module | Subroutine | Initialize the random number generator with the input seed value. |
rnkpop | pikaia_module | Subroutine | Ranks initial population. Calls external sort routine to produce key index and rank order of input array arrin (which is not altered). |
rqsort | pikaia_module | Subroutine | Return integer array p which indexes array a in increasing order. Array a is not disturbed. The Quicksort algorithm is used. |
select_parents | pikaia_module | Subroutine | Selects two parents from the population, using roulette wheel algorithm with the relative fitnesses of the phenotypes as the "hit" probabilities. |
set_inputs | pikaia_module | Subroutine | Constructor for the pikaia_class. The routine must be called before the solve routine can be used. |
solve_with_pikaia | pikaia_module | Subroutine | Main pikaia wrapper used by the class. |
stdrep | pikaia_module | Subroutine | Steady-state reproduction: insert offspring pair into population only if they are fit enough (replace-random if irep=2 or replace-worst if irep=3). |
urand | pikaia_module | Function | Return the next pseudo-random deviate from a sequence which is uniformly distributed in the interval [0,1] |