Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Teem::Synapse Class Reference
[Neurons and synapses]

#include <Neuron.h>

Inheritance diagram for Teem::Synapse:

Teem::DelaySynapse Teem::SRMSynapse Teem::SRMPlasticSynapse List of all members.

Detailed Description

Connection between neurons.

See also:

Public Member Functions

 Synapse ()
virtual ~Synapse ()
virtual void init (Neuron *pre, Neuron *post, const double weight=0)
 Initialize the synapse. Must be called once and only once, just after construction.
virtual void finalize ()
 Called when the network is totally constructed but before it is run.
virtual void setParams (const std::map< std::string, double > params)
 Set parameters.
virtual void setParams (const std::string &param, double value)
 Set parameters. Should be overriden by subclasses to handle more parameters.
virtual bool getSpike () const
 Return true if there is a spike on this synapse.
virtual double getCurrent () const
 Return the value of the potential of this synapse.
virtual void update (double dt=1.0)
 Update status of the synapse according to state of presynaptic neurons.
const NeurongetPreNeuron () const
 Get the pre-synaptic neuron.
const NeurongetPostNeuron () const
 Get the post-synaptic neuron.

Public Attributes

double weight
 weight of this synapse
TagSet tags
 tags for this synapse

Protected Attributes

 pre-synaptic neuron
 post-synaptic neuron

The documentation for this class was generated from the following files:
Generated on Mon Oct 24 17:38:27 2005 for Teem by  doxygen 1.4.2