Procedures

ProcedureLocationProcedure TypeDescription
adjmut pikaia_module Subroutine

Dynamical adjustment of mutation rate:

Read more…
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.

Read more…
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.

Read more…
newpop pikaia_module Subroutine

Replaces old population by new; recomputes fitnesses & ranks

Read more…
pikaia pikaia_module Subroutine

Optimization (maximization) of user-supplied "fitness" function over n-dimensional parameter space x using a basic genetic algorithm method.

Read more…
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.

Read more…
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.

Read more…
set_inputs pikaia_module Subroutine

Constructor for the pikaia_class. The routine must be called before the solve routine can be used.

Read more…
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]

call~~graph~~CallGraph proc~adjmut pikaia_module::pikaia_class%adjmut proc~cross pikaia_module::pikaia_class%cross proc~urand pikaia_module::pikaia_class%urand proc~cross->proc~urand proc~decode pikaia_module::pikaia_class%decode proc~encode pikaia_module::pikaia_class%encode proc~func_wrapper pikaia_module::pikaia_class%func_wrapper proc~genrep pikaia_module::pikaia_class%genrep proc~mutate pikaia_module::pikaia_class%mutate proc~mutate->proc~urand proc~newpop pikaia_module::pikaia_class%newpop proc~newpop->proc~func_wrapper proc~rnkpop pikaia_module::pikaia_class%rnkpop proc~newpop->proc~rnkpop proc~pikaia pikaia_module::pikaia_class%pikaia proc~pikaia->proc~adjmut proc~pikaia->proc~cross proc~pikaia->proc~decode proc~pikaia->proc~encode proc~pikaia->proc~func_wrapper proc~pikaia->proc~genrep proc~pikaia->proc~mutate proc~pikaia->proc~newpop proc~report pikaia_module::pikaia_class%report proc~pikaia->proc~report proc~rninit pikaia_module::pikaia_class%rninit proc~pikaia->proc~rninit proc~pikaia->proc~rnkpop proc~select_parents pikaia_module::pikaia_class%select_parents proc~pikaia->proc~select_parents proc~stdrep pikaia_module::pikaia_class%stdrep proc~pikaia->proc~stdrep proc~pikaia->proc~urand initialize initialize proc~rninit->initialize proc~rqsort pikaia_module::rqsort proc~rnkpop->proc~rqsort proc~select_parents->proc~urand proc~set_inputs pikaia_module::pikaia_class%set_inputs proc~solve_with_pikaia pikaia_module::pikaia_class%solve_with_pikaia proc~solve_with_pikaia->proc~pikaia proc~stdrep->proc~urand genrand64_real1 genrand64_real1 proc~urand->genrand64_real1
Help