TarzaNN
TarzaNN neural network simulator
C:/Users/albertlr/projects/TarzaNN/TarzaNN/SaliencyFeaturePlane.h
Go to the documentation of this file.
00001 /* SaliencyFeaturePlane is a modification of the regular feature plane which
00002 overloads the sum activations function to take the sum of the negative logs.
00003 Author: Calden Wloka */
00004 
00005 #ifndef SALIENCYFEATUREPLANE_H_INCLUDED
00006 #define SALIENCYFEATUREPLANE_H_INCLUDED
00007 
00008 #include "FeaturePlane.h"
00009 
00010 class SaliencyFeaturePlane : public FeaturePlane {
00011         friend class FeaturePlaneFactory;
00012 
00013 protected:
00014         //constructor
00015         SaliencyFeaturePlane(Network* net, int l, QString* n, int w, int h, int angles, int speeds, int alpha, int speed, bool isWTA, bool visible, Neuron* neuron, NotifyStrategyAbstract* notify);
00016 
00017         // Overload the sumActivations functions to take the sum of the negative logs of the activations
00018         void sumActivations(MatrixVector regularActivations, MatrixVector nonFourierActivations, Matrix* totalActivation);      
00019         void _sumActivations(MatrixVector activations, Matrix* totalActivation);
00020 
00021 };
00022 
00023 #endif //SALIENCYFEATUREPLANE_H_INCLUDED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines