|
|||||||||||
Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
Advancable Class Reference#include <advanceable.h>
Inheritance diagram for Advancable: Detailed DescriptionBase class for all objects to simulate.
The ModelAdvancable defines the (virtual) methods advance() and reset() which must be implemented by any class in the simulation in order to implement a specific model. At the beginning of a simulation (at time ) reset() iscalled. For each time step (of fixed length ) duringthe simulation advance() will be called for each object and it is assumed that during the call to advance() the object calculates its next state and sends the result of this computation to any destination/succesors/outgoing object.
Input/Output SignalsEach object in the simulation gets input signals (analog or spikes) from source or incoming objects and sends output signals (analog or spikes) to destination or outgoing objects. Hence there are the two methods addIncoming() and addOutgoing() which will be called to set up the inward and outward signal flow. Within these methods each object (derived from Advancable) should check whether an object is a proper source (destination) of input (output) signals.
Public Member Functions
Friends
| |||||||||||
(C) 2003, Thomas Natschläger | last modified 07/10/2006 |