#include <GaussianNoise.h>


Public Member Functions | |
| GaussianNoise (float level=1.0) | |
| virtual | ~GaussianNoise () |
| virtual double | getManagedDelay () const |
| virtual int | nSpikeInputPorts () const |
| virtual int | nSpikeOutputPorts () const |
| virtual int | nAnalogInputPorts () const |
| virtual int | nAnalogOutputPorts () const |
| virtual PortType | outputPortType (port_t o) const |
| virtual PortType | inputPortType (port_t i) const |
| virtual double | getAnalogOutput (analog_port_id_t port=0) const |
| Return the analog value currently associated with the given port. | |
| virtual int | reset (double dt) |
| Called at the beginning of a simulation at t=0. | |
| virtual int | advance (AdvanceInfo const &) |
| Calculate the next state and output/propagate the result to succesors/outgoing objects. | |
| virtual int | non_thread_safe_advance (AdvanceInfo const &) |
| virtual int | plain_boost (AdvanceInfo const &) |
| virtual int | no_action (AdvanceInfo const &) |
Public Attributes | |
| float | level |
| The amplitude of the noise. | |
| double | noise |
| The actual output value. | |
Definition at line 7 of file GaussianNoise.h.
| GaussianNoise::GaussianNoise | ( | float | level = 1.0 |
) |
Definition at line 5 of file GaussianNoise.cpp.
| GaussianNoise::~GaussianNoise | ( | ) | [virtual] |
Definition at line 12 of file GaussianNoise.cpp.
| virtual double GaussianNoise::getManagedDelay | ( | ) | const [inline, virtual] |
| virtual int GaussianNoise::nSpikeInputPorts | ( | ) | const [inline, virtual] |
| virtual int GaussianNoise::nSpikeOutputPorts | ( | ) | const [inline, virtual] |
| virtual int GaussianNoise::nAnalogInputPorts | ( | ) | const [inline, virtual] |
| virtual int GaussianNoise::nAnalogOutputPorts | ( | ) | const [inline, virtual] |
Reimplemented from SimObject.
Definition at line 20 of file GaussianNoise.h.
References SimObject::analog, and SimObject::undefined.
Reimplemented from SimObject.
Definition at line 24 of file GaussianNoise.h.
References SimObject::undefined.
| double GaussianNoise::getAnalogOutput | ( | analog_port_id_t | port = 0 |
) | const [virtual] |
Return the analog value currently associated with the given port.
Reimplemented from SimObject.
Definition at line 15 of file GaussianNoise.cpp.
References noise.
Called at the beginning of a simulation at t=0.
Reimplemented from SimObject.
Definition at line 20 of file GaussianNoise.cpp.
References level, noise, and ThreadSpecificRandomDistribution< Dist >::set().

| int GaussianNoise::advance | ( | AdvanceInfo const & | ) | [virtual] |
Calculate the next state and output/propagate the result to succesors/outgoing objects.
The return value of advance contains several bits of information which can be decoded with the bit masks ADVANCEFLAG_* like ADVANCEFLAG_HASSPIKED and ADVANCEFLAG_DEACTIVATE.
Reimplemented from SimObject.
Definition at line 27 of file GaussianNoise.cpp.
| int GaussianNoise::non_thread_safe_advance | ( | AdvanceInfo const & | ) | [virtual] |
| int GaussianNoise::plain_boost | ( | AdvanceInfo const & | ) | [virtual] |
| int GaussianNoise::no_action | ( | AdvanceInfo const & | ) | [virtual] |
The amplitude of the noise.
Definition at line 38 of file GaussianNoise.h.
Referenced by advance(), no_action(), non_thread_safe_advance(), plain_boost(), and reset().
The actual output value.
Definition at line 41 of file GaussianNoise.h.
Referenced by advance(), getAnalogOutput(), no_action(), non_thread_safe_advance(), plain_boost(), and reset().
1.5.5