PushDiversityPool
<< previous | Chapter 17. The Built-In breve Class APIs | next >>

## PushDiversityPool

Description for class PushDiversityPool:

> Summary: a tool to test diversity in populations of PushProgram objects.

> The PushDiversityPool allows you to determine the level of genotypic diversity of PushProgram objects, typically individuals in a genetic programming or artificial life experiment.

> Diversity is detemined as the number of unique species which differ from one another by at least a certain tolerance value. "Difference" is defined by the algorithm outlined in OBJECTPushProgram:get-discrepancy. No single species will contain any two individuals which differ by more than the specified tolerance.

> The tolerance can be set with the method set-tolerance. Programs can then be added using add. The number of species can then be retreived using get-size. The method clear allows the diversity pool to be emptied and reused.

Inherits from Object

Full API documentation for the class PushDiversityPool:

- steve language documentation

- Python language documentation

<< previous | Up | next >>
PushClusterGP | Table of Contents | PushGP