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

Gene Coding #62

Open
SezMe opened this issue Feb 8, 2022 · 1 comment
Open

Gene Coding #62

SezMe opened this issue Feb 8, 2022 · 1 comment

Comments

@SezMe
Copy link

SezMe commented Feb 8, 2022

I'm curious about how you allocate the bits in a gene. The first bit is the source type and the next 7 bits are the source ID, right? But if you know the source ID you automatically know its type. Same for the sink.

Please say a bit (ha-ha; sometimes I slay me) about this gene design. Is it to add some "robustness"? Maybe it arose out of a software consideration? Reduce execution time?

Thanks in advance.

@davidrmiller
Copy link
Owner

Hi @SezMe , That's a valid question. We could have used a single ID number to select a source neuron and another ID number to select the sink. But without extra logic, most connections would go directly from sensor to action neurons because they outnumber the internal neurons.

The internal neurons help generate rich and complex behaviors. We want to give them a fair chance to participate in connections. The one-bit flags serve as a simple and scalable method of selecting equally between sensor and internal neurons for the source and between the internal and action neurons for the sink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants