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

Create a Genomic Template #2

Open
5 tasks
hopeseekr opened this issue Jun 30, 2020 · 0 comments
Open
5 tasks

Create a Genomic Template #2

hopeseekr opened this issue Jun 30, 2020 · 0 comments

Comments

@hopeseekr
Copy link
Member

The Problem

In more complex GAs, with multiple populations of different species (e.g., Suspect vs Interrogator vs PrisonSentence), it seems that there is a LOT of duplicated code related to the basic Genomic Template.

The Solution

Create a template to abstract out a lot of this code. Specifically, it needs to have the purpose of Managing Genomic data:

  • Is a valid mutation viable? [true/false]
  • Mechanism to INSERT mutations, viable or inviable, into the Genome
  • Mechanism to EXPRESS genes of the genome.
  • Mechanism to CLONE the genome [override __clone()]
  • Mechanism to EXPOSE the genes of the genome (primarily for REPLICATION but also for cross-population storage [e.g., Morphic Fields]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant