Next: , Previous: , Up: Implementation   [Contents][Index]


2.4 Global Variables

The following global variables are exposed for configuration and interaction with heuristic search processes. This table contains summary information only, see the Software Evolution Library Index section for full details.

sel:*population*A list of the software objects currently known to the system.
sel:*max-population-size*Maximum allowable population size.
sel:*generations*The running generation count.
sel:*tournament-size*Number of individuals to participate in tournament selection.
sel:*tournament-eviction-size*Number of individuals to participate in eviction tournaments.
sel:*tournament-selector*Function used to select winners of a tournament.
sel:*tournament-tie-breaker*Function used to break ties when a tournament has multiple winners.
sel:*tie-breaker-predicate*Function to compare two tie breaker values to select which is preferred.
sel:*fitness-predicate*Function to compare two fitness values to select which is preferred.
sel:*cross-chance*Fraction of new individuals generated using crossover rather than mutation.
sel:*mut-rate*Chance to mutate a new individual.
sel:*fitness-evals*Tracks the total number of fitness evaluations performed.
sel:*running*True when a search process is running, set to nil to stop a running search.