Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 "Rtypes.h"
36#include "TString.h"
37
38namespace TMVA {
39
40 class TNeuron;
41
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
double Double_t
Definition RtypesCore.h:59
#define ClassDef(name, id)
Definition Rtypes.h:325
Interface for TNeuron input calculation classes.
virtual ~TNeuronInput()
virtual Double_t GetInput(const TNeuron *neuron) const =0
virtual TString GetName()=0
Neuron class used by TMVA artificial neural network methods.
Definition TNeuron.h:49
This class describes an elementary neuron, which is the basic element for a Neural Network.
Definition TNeuron.h:25
Basic string class.
Definition TString.h:136
create variable transformations