ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 #ifndef ROOT_TObject
36 #include "TObject.h"
37 #endif
38 #ifndef ROOT_TString
39 #include "TString.h"
40 #endif
41 
42 namespace TMVA {
43 
44  class TNeuron;
45 
46  class TNeuronInput {
47 
48  public:
49 
51  virtual ~TNeuronInput() {}
52 
53  // calculate input value for neuron
54  virtual Double_t GetInput( const TNeuron* neuron ) const = 0;
55 
56  // name of class
57  virtual TString GetName() = 0;
58 
59  ClassDef(TNeuronInput,0) // Interface for TNeuron input calculation classes
60  };
61 
62 } // namespace TMVA
63 
64 #endif
virtual TString GetName()=0
Basic string class.
Definition: TString.h:137
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual Double_t GetInput(const TNeuron *neuron) const =0
virtual ~TNeuronInput()
Definition: TNeuronInput.h:51
double Double_t
Definition: RtypesCore.h:55