Logo ROOT   6.12/07
Reference Guide
TNeuronInput.h
Go to the documentation of this file.
1 // @(#)root/tmva $Id$
2 // Author: Matt Jachowski
3 
4 /**********************************************************************************
5  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6  * Package: TMVA *
7  * Class : TMVA::TNeuronInput *
8  * *
9  * Description: *
10  * Interface for TNeuron input calculation classes *
11  * *
12  * Authors (alphabetical): *
13  * Matt Jachowski <jachowski@stanford.edu> - Stanford University, USA *
14  * *
15  * Copyright (c) 2005: *
16  * CERN, Switzerland *
17  * *
18  * Redistribution and use in source and binary forms, with or without *
19  * modification, are permitted according to the terms listed in LICENSE *
20  * (http://tmva.sourceforge.net/LICENSE) *
21  **********************************************************************************/
22 
23 
24 #ifndef ROOT_TMVA_TNeuronInput
25 #define ROOT_TMVA_TNeuronInput
26 
27 //////////////////////////////////////////////////////////////////////////
28 // //
29 // TNeuronInput //
30 // //
31 // Interface for TNeuron input calculation classes //
32 // //
33 //////////////////////////////////////////////////////////////////////////
34 
35 #include "TObject.h"
36 #include "TString.h"
37 
38 namespace TMVA {
39 
40  class TNeuron;
41 
42  class TNeuronInput {
43 
44  public:
45 
47  virtual ~TNeuronInput() {}
48 
49  // calculate input value for neuron
50  virtual Double_t GetInput( const TNeuron* neuron ) const = 0;
51 
52  // name of class
53  virtual TString GetName() = 0;
54 
55  ClassDef(TNeuronInput,0); // Interface for TNeuron input calculation classes
56  };
57 
58 } // namespace TMVA
59 
60 #endif
virtual TString GetName()=0
Basic string class.
Definition: TString.h:125
#define ClassDef(name, id)
Definition: Rtypes.h:320
Neuron class used by TMVA artificial neural network methods.
Definition: TNeuron.h:49
virtual Double_t GetInput(const TNeuron *neuron) const =0
virtual ~TNeuronInput()
Definition: TNeuronInput.h:47
double Double_t
Definition: RtypesCore.h:55
Abstract ClassifierFactory template that handles arbitrary types.
Interface for TNeuron input calculation classes.
Definition: TNeuronInput.h:42