In this module, you will find the funcionality for the Interactive mode. When you enter in the Interactive Mode, Pyevolve will automatic import this module and exposes to you in the name space called “it”.
To use this mode, the parameter interactiveMode must be enabled in the GSimpleGA.GSimpleGA.
You can use the manual method to enter in the Interactive Mode at specific generation using the GSimpleGA.GSimpleGA.setInteractiveGeneration() method.
Returns a list of population scores
>>> lst = Interaction.getPopScores(population)
Parameters: |
|
---|---|
Return type: | list of population scores |
Population score distribution histogram
>>> Interaction.plotHistPopScore(population)
Parameters: |
|
---|---|
Return type: | None |
Plot the population score distribution
>>> Interaction.plotPopScore(population)
Parameters: |
|
---|---|
Return type: | None |