#include <amygdala/netiodata.h>
Public Methods | |
| NetIOData (int size) | |
| virtual | ~NetIOData () |
| virtual int | AddSynapse (unsigned int neuronId, unsigned int synapseId, float weight) |
| virtual unsigned int | FirstNeuron () |
| virtual unsigned int | NextNeuron () |
| virtual int | FirstSynapse (unsigned int &synId, float &val) |
| virtual int | NextSynapse (unsigned int &synId, float &val) |
Protected Attributes | |
| unsigned int | netSize |
| vector< SynapseData > * | synapse |
| vector< SynapseData > | tempSynapse |
| unsigned int * | indexId |
| unsigned int | currNeuronIdx |
| unsigned int | currSynIdx |
|
||||||||||||||||
|
Add data about a connection between two neurons. Return 1 on success. |
|
|
Return the ID of the first neuron and set an internal pointer to that neuron. |
|
||||||||||||
|
Return values for the ID of the first input and its weight for the current neuron and set an internal pointer. |
|
|
Return the ID of the next neuron in the sequence and set an internal pointer to that neuron. |
|
||||||||||||
|
Return values for the ID of the next input and its weight for the current neuron and set an internal pointer. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002