#include <spike_sources.hpp>
Transforms a SpikeSourceConstFreq neuron to a SpikeSourceConstInterval neuron by converting the frequency to an interval.
cypress::transformations::CFToCI::~CFToCI |
( |
| ) |
|
|
inline |
Copys the results from a transformed network to the original network.
|
protectedvirtualinherited |
Function called after the network was executed. This function should copy recorded data from the actually executed network to the target network. This function must be overriden if the network topology (including the neuron type) was changed by the transformation. Otherwise a default implementation is used.
|
inlineprotectedvirtualinherited |
|
inlineoverrideprotectedvirtualinherited |
Function which should be overriden by child classes. This function should perform the actual transformation an remember which changes were done.
- Parameters
-
src | is the network which should be modified. |
- Returns
- is a new Network instance which contains the transformed data.
Implements cypress::Transformation.
|
protectedpure virtualinherited |
|
protectedpure virtualinherited |
std::string cypress::transformations::CFToCI::id |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns an id which can for example be used to explicitly disable certain transformations.
- Returns
- a unique ID describing this transformation.
Implements cypress::Transformation.
Returns a structure describing the transformation, e.g. whether it is lossy or the priority with which it should be applied.
- Returns
- an instance of Transformation properties which contains information about this particular transformation.
Reimplemented in cypress::transformations::LIFToIFFH1.
Performs the transformation on the given network instance.
- Parameters
-
src | is the network which should be modified. |
aux | is some auxiliary data which may be modified by the transformation. |
- Returns
- is a new Network instance which contains the transformed data.
The documentation for this class was generated from the following file: