Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Population Class Interface #14

Closed
mauicv opened this issue Mar 14, 2021 · 0 comments
Closed

Make Population Class Interface #14

mauicv opened this issue Mar 14, 2021 · 0 comments
Labels
enhancement New feature or request High Priority

Comments

@mauicv
Copy link
Owner

mauicv commented Mar 14, 2021

Population Class should be an interface with the Speciate method to be implemented.

This looks like:

class CustomPopulation(Population):
    def speciate(self):
       for genome in self.genomes:
            # do something here

p = CustomPopulation(metric=NEAT_metric())
@mauicv mauicv added enhancement New feature or request High Priority labels Mar 14, 2021
@mauicv mauicv added this to TODO in To Generality Mar 14, 2021
@mauicv mauicv moved this from TODO to TODO PRIORITY in To Generality Mar 14, 2021
@mauicv mauicv moved this from TODO PRIORITY to IN PROGRESS in To Generality Mar 14, 2021
@mauicv mauicv moved this from IN PROGRESS to DONE in To Generality Mar 21, 2021
@mauicv mauicv closed this as completed Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request High Priority
Projects
No open projects
Development

No branches or pull requests

1 participant