SpikeStream Library  0.2
spikestream::Connection Class Reference

#include <Connection.h>

List of all members.

Public Member Functions

 Connection ()
 Connection (unsigned fromNeuronID, unsigned toNeuronID, float delay, float weight)
 Connection (unsigned id, unsigned fromNeuronID, unsigned toNeuronID, float delay, float weight)
 Connection (const Connection &conn)
Connectionoperator= (const Connection &rhs)
void print ()
unsigned getID ()
float getDelay ()
unsigned getFromNeuronID ()
unsigned getToNeuronID ()
float getTempWeight ()
float getWeight ()
void setID (unsigned id)
void setFromNeuronID (unsigned fromNeurID)
void setToNeuronID (unsigned toNeurID)
void setTempWeight (float newTempWeight)
void setWeight (float newWeight)

Detailed Description

Holds information about each connection. Should match the information stored in the Connections table of the SpikeStreamNetwork database.

Definition at line 23 of file Connection.h.


Constructor & Destructor Documentation

Empty constructor

Definition at line 14 of file Connection.cpp.

spikestream::Connection::Connection ( unsigned  fromNeuronID,
unsigned  toNeuronID,
float  delay,
float  weight 
)
Connection::Connection ( unsigned  id,
unsigned  fromNeuronID,
unsigned  toNeuronID,
float  delay,
float  weight 
)

Constructor

Definition at line 51 of file Connection.cpp.

Copy constructor

Definition at line 73 of file Connection.cpp.


Member Function Documentation

Returns the delay

Definition at line 77 of file Connection.h.

Definition at line 34 of file Connection.h.

unsigned spikestream::Connection::getID ( ) [inline]

Definition at line 32 of file Connection.h.

Returns the temporary weight

Definition at line 89 of file Connection.h.

Definition at line 35 of file Connection.h.

Returns the weight

Definition at line 83 of file Connection.h.

Connection & Connection::operator= ( const Connection rhs)

Assignment operator

Definition at line 92 of file Connection.cpp.

Prints out information about the connection.

Definition at line 109 of file Connection.cpp.

void spikestream::Connection::setFromNeuronID ( unsigned  fromNeurID) [inline]

Definition at line 39 of file Connection.h.

void spikestream::Connection::setID ( unsigned  id) [inline]

Definition at line 38 of file Connection.h.

void spikestream::Connection::setTempWeight ( float  newTempWeight) [inline]

Sets the temporary weight

Definition at line 95 of file Connection.h.

void spikestream::Connection::setToNeuronID ( unsigned  toNeurID) [inline]

Definition at line 40 of file Connection.h.

void spikestream::Connection::setWeight ( float  newWeight) [inline]

Sets the weight

Definition at line 103 of file Connection.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Defines