TarzaNN
TarzaNN neural network simulator
Classes | Defines
C:/Users/albertlr/projects/TarzaNN/TarzaNN/Neuron.h File Reference
#include "FeaturePlaneAbstract.h"

Go to the source code of this file.

Classes

class  Neuron

Defines

#define SETUP_NEURON

Define Documentation

#define SETUP_NEURON
Value:
switch(neuronType){ \
    case NEURON_TYPE_WILSON_COWAN: \
    neuron= new WilsonCowanNeuron(); \
    break; \
    case NEURON_TYPE_ST: \
    neuron= new STNeuron(); \
    break; \
    case NEURON_TYPE_SPIKING: \
    neuron =  new SpikingNeuron(); \
    break; \
    case NEURON_TYPE_SIGMOID: \
    neuron =  new SigmoidNeuron(max_activation, shift, slope); \
    break; \
    case NEURON_TYPE_TANH: \
    neuron =  new TanHNeuron(); \
    break; \
    case NEURON_TYPE_LINEAR_SIGMOID: \
    neuron =  new LinearSigmoidNeuron(max_activation, rangeLow, rangeHigh); \
    break; \
    case NEURON_TYPE_LINEAR: \
    neuron =  new LinearNeuron(); \
    break; \
    case NEURON_TYPE_GENERIC: \
    neuron =  new Neuron(); \
    break; \
    default: \
    qDebug("invalid neuron type for FP=%s (%d)\n",name->ascii(), neuronType); \
    exit(-ERROR_INVALID_NEURON_TYPE); \
    }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines