#include <advanceable.h>
Inheritance diagram for Advancable:
Advancable 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.
Each 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.