#include <cherrymoya.h>
Inheritance diagram for Cherrymoya:
Public Methods | |
Cherrymoya (unsigned int r) | |
~Cherrymoya () | |
virtual void | gene (string gene) |
virtual void | startChromosome (int geneLength, int genes) |
virtual void | finish () |
virtual const int & | getradius () |
Network * | getNetwork () |
vector< AmIdInt > | GetInputNeurons () |
vector< Neuron * > | GetOutputNeurons () |
Protected Methods | |
void | BuildCherrymoya () |
void | connectInputNeurons () |
void | connectSkin () |
void | connectMeat () |
void | getFieldStrengthMeat (float *location, float *E) |
void | getFieldStrengthSkin (float *location, float *E) |
void | AxonConnector3D (Neuron *currentNeuron) |
void | AxonConnectorSkin (Neuron *currentNeuron) |
|
|
|
Connect a hidden layer meat neuron running along an axon. Connect all intersecting dendrites. Also connects the output neurons
|
|
Connect a hidden layer skin neuron running along an axon. Connect all intersecting dendrites. There are 2 physical axons: one running around the skin and one pointing to the center of the sphere. Also connects the output neurons
|
|
Connect all input neurons |
|
Connect all neurons in the meat |
|
Connect all neurons in the skin |
|
this function is called by Genome to notify the handler that no more genes get submitted. The handler is then supposed to do the rest of it's work. Implements GenomeHandler. |
|
gets called for each gene found in the genome
Implements GenomeHandler. |
|
puts the Strength of the field within the meat at location into E. |
|
puts the Strength of the field within the skin at location into E. |
|
|
|
return the Network generated by this class. This function is only temporary. |
|
|
|
Read property of unsigned int radius. |
|
gets called for each chromosome in the genome
Implements GenomeHandler. |