Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

Cherrymoya Class Reference

#include <cherrymoya.h>

Inheritance diagram for Cherrymoya:

GenomeHandler List of all members.

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 ()
NetworkgetNetwork ()
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)

Detailed Description

Implements the Cherrymoya model of genome generated Amygdala neural networks.
Author:
Rudiger Koch


Constructor & Destructor Documentation

Cherrymoya::Cherrymoya unsigned int    r
 

Parameters:
the  radius of the Cherrymoya


Member Function Documentation

void Cherrymoya::AxonConnector3D Neuron   currentNeuron [protected]
 

Connect a hidden layer meat neuron running along an axon. Connect all intersecting dendrites. Also connects the output neurons

Parameters:
currentNeuron  the presynaptic neuron

void Cherrymoya::AxonConnectorSkin Neuron   currentNeuron [protected]
 

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

Parameters:
currentNeuron  the presynaptic neuron

void Cherrymoya::connectInputNeurons   [protected]
 

Connect all input neurons

void Cherrymoya::connectMeat   [protected]
 

Connect all neurons in the meat

void Cherrymoya::connectSkin   [protected]
 

Connect all neurons in the skin

virtual void Cherrymoya::finish   [virtual]
 

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.

virtual void Cherrymoya::gene string    gene [virtual]
 

gets called for each gene found in the genome

Parameters:
one  gene of the current chromosome

Implements GenomeHandler.

void Cherrymoya::getFieldStrengthMeat float *    location,
float *    E
[protected]
 

puts the Strength of the field within the meat at location into E.

void Cherrymoya::getFieldStrengthSkin float *    location,
float *    E
[protected]
 

puts the Strength of the field within the skin at location into E.

vector<AmIdInt> Cherrymoya::GetInputNeurons  
 

Returns:
a vector of all input neurons in the order of the genes in their chromosome

Network* Cherrymoya::getNetwork  
 

return the Network generated by this class. This function is only temporary.

vector<Neuron*> Cherrymoya::GetOutputNeurons  
 

Returns:
a vector of all output neurons in the order the genes appear in their chromosome

virtual const int& Cherrymoya::getradius   [virtual]
 

Read property of unsigned int radius.

virtual void Cherrymoya::startChromosome int    geneLength,
int    genes
[virtual]
 

gets called for each chromosome in the genome

Parameters:
geneLength  the length of the genes that will be sent

Implements GenomeHandler.


The documentation for this class was generated from the following file:
Generated on Wed Sep 4 02:30:36 2002 for Amygdala by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002