Next: , Previous: , Up: Software Evolution Library Index   [Contents][Index]


A.11 SOFTWARE-EVOLUTION-LIBRARY/COMPONENTS/LEXICASE

Variable: *lexicase-key* [sel/cp/lexicase]

Optional key function for components of test vector.

Function: lexicase-better-p [sel/cp/lexicase] order fitness-a fitness-b

Compare fitness vectors with a fixed order.

Function: lexicase-select [sel/cp/lexicase] population max-size

Choose max-size individuals from the population by lexicase selection. The same individual may be selected multiple times.

Function: lexicase-select-best [sel/cp/lexicase] group &key predicate

Choose best individuals by lexicase selection.

If there is a tie after all tests, return all remaining individuals.

Set the value of ‘*tournament-selector*’ to ‘lexicase-select-best’ to use lexicase-style selection in tournament selection.