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

NetIOData Class Reference

#include <amygdala/netiodata.h>

List of all members.

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


Detailed Description

Author:
Matt Grover


Member Function Documentation

virtual int NetIOData::AddSynapse unsigned int    neuronId,
unsigned int    synapseId,
float    weight
[virtual]
 

Add data about a connection between two neurons. Return 1 on success.

virtual unsigned int NetIOData::FirstNeuron   [virtual]
 

Return the ID of the first neuron and set an internal pointer to that neuron.

virtual int NetIOData::FirstSynapse unsigned int &    synId,
float &    val
[virtual]
 

Return values for the ID of the first input and its weight for the current neuron and set an internal pointer.

virtual unsigned int NetIOData::NextNeuron   [virtual]
 

Return the ID of the next neuron in the sequence and set an internal pointer to that neuron.

virtual int NetIOData::NextSynapse unsigned int &    synId,
float &    val
[virtual]
 

Return values for the ID of the next input and its weight for the current neuron and set an internal pointer.


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