LCFIVertex  0.7.2
PassthroughNormaliser.h
1 #ifndef PASSTHROUGHNORMALISER_H
2 #define PASSTHROUGHNORMALISER_H
3 
4 #include "NeuralNetConfig.h"
5 
6 #include "InputNormaliser.h"
7 
8 #include <iostream>
9 #include <string>
10 
11 //namespace nnet added 15/08/06 by Mark Grimes (mark.grimes@bristol.ac.uk) for the LCFI vertex package
12 namespace nnet
13 {
14 
15 class NeuralNet;
16 
17 class NEURALNETDLL PassthroughNormaliser :
18  public InputNormaliser
19 {
20 public:
21  PassthroughNormaliser(const NeuralNet *parentNetwork);
22  ~PassthroughNormaliser(void);
23 
24  double normalisedValue(const double input) const;
25  std::string name() const {return "PassthroughNormaliser";}
26  void serialise(std::ostream &os) const;
27  InputNormaliser *clone(const NeuralNet *newNetwork) const;
28 };
29 
30 }//namespace nnet
31 
32 #endif