Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Public Member Functions | Protected Member Functions | List of all members
cypress::transformations::LIFToIFFH1 Class Referenceabstract

#include <spikey_if_cond_exp.hpp>

Inheritance diagram for cypress::transformations::LIFToIFFH1:
Inheritance graph
[legend]
Collaboration diagram for cypress::transformations::LIFToIFFH1:
Collaboration graph
[legend]

Public Member Functions

std::string id () const override
 
TransformationProperties properties () const override
 
 ~LIFToIFFH1 ()
 
NetworkBase transform (const NetworkBase &src, TransformationAuxData &aux)
 
void copy_results (const NetworkBase &src, NetworkBase &tar) const
 

Protected Member Functions

void do_transform_parameters (const IfCondExpParameters &src, IfFacetsHardware1Parameters tar) override
 
void do_transform_signals (const IfCondExpSignals &src, IfFacetsHardware1Signals tar) override
 
const NeuronTypesrc_type ()
 
const NeuronTypetar_type ()
 
NetworkBase do_transform (const NetworkBase &src, TransformationAuxData &) override
 
virtual void do_transform_parameters (const typename IfCondExp::Parameters &src, typename IfFacetsHardware1::Parameters tar)=0
 
virtual bool do_dehomogenise_parameters (const typename IfCondExp::Parameters &)
 
virtual void do_transform_signals (const typename IfCondExp::Signals &src, typename IfFacetsHardware1::Signals tar)=0
 
virtual void do_copy_results (const NetworkBase &src, NetworkBase &tar) const
 

Detailed Description

Lossily transforms a standard IfCondExp neuron to an IfFacetsHardware1 neuron.

Constructor & Destructor Documentation

cypress::transformations::LIFToIFFH1::~LIFToIFFH1 ( )
inline

Member Function Documentation

void cypress::Transformation::copy_results ( const NetworkBase src,
NetworkBase tar 
) const
inherited

Copys the results from a transformed network to the original network.

virtual void cypress::Transformation::do_copy_results ( const NetworkBase src,
NetworkBase tar 
) const
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.

virtual bool cypress::NeuronTypeTransformation< IfCondExp , IfFacetsHardware1 >::do_dehomogenise_parameters ( const typename IfCondExp ::Parameters &  )
inlineprotectedvirtualinherited
NetworkBase cypress::NeuronTypeTransformation< IfCondExp , IfFacetsHardware1 >::do_transform ( const NetworkBase src,
TransformationAuxData  
)
inlineoverrideprotectedvirtualinherited

Function which should be overriden by child classes. This function should perform the actual transformation an remember which changes were done.

Parameters
srcis the network which should be modified.
Returns
is a new Network instance which contains the transformed data.

Implements cypress::Transformation.

void cypress::transformations::LIFToIFFH1::do_transform_parameters ( const IfCondExpParameters src,
IfFacetsHardware1Parameters  tar 
)
overrideprotected
virtual void cypress::NeuronTypeTransformation< IfCondExp , IfFacetsHardware1 >::do_transform_parameters ( const typename IfCondExp ::Parameters &  src,
typename IfFacetsHardware1 ::Parameters  tar 
)
protectedpure virtualinherited
void cypress::transformations::LIFToIFFH1::do_transform_signals ( const IfCondExpSignals src,
IfFacetsHardware1Signals  tar 
)
overrideprotected
virtual void cypress::NeuronTypeTransformation< IfCondExp , IfFacetsHardware1 >::do_transform_signals ( const typename IfCondExp ::Signals &  src,
typename IfFacetsHardware1 ::Signals  tar 
)
protectedpure virtualinherited
std::string cypress::transformations::LIFToIFFH1::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.

TransformationProperties cypress::transformations::LIFToIFFH1::properties ( ) const
inlineoverridevirtual

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 from cypress::Transformation.

const NeuronType* cypress::NeuronTypeTransformation< IfCondExp , IfFacetsHardware1 >::src_type ( )
inlineprotectedinherited
const NeuronType* cypress::NeuronTypeTransformation< IfCondExp , IfFacetsHardware1 >::tar_type ( )
inlineprotectedinherited
NetworkBase cypress::Transformation::transform ( const NetworkBase src,
TransformationAuxData aux 
)
inherited

Performs the transformation on the given network instance.

Parameters
srcis the network which should be modified.
auxis 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: