ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
tmva
tmva
inc
TMVA
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
50
TNeuronInput
() {}
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
TMVA::TNeuronInput::GetName
virtual TString GetName()=0
TString
Basic string class.
Definition:
TString.h:137
TMVA::TNeuronInput::TNeuronInput
TNeuronInput()
Definition:
TNeuronInput.h:50
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TMVA::TNeuron
Definition:
TNeuron.h:61
TMVA::TNeuronInput::GetInput
virtual Double_t GetInput(const TNeuron *neuron) const =0
TString.h
TMVA::TNeuronInput::~TNeuronInput
virtual ~TNeuronInput()
Definition:
TNeuronInput.h:51
TNeuron
Definition:
TNeuron.h:48
Double_t
double Double_t
Definition:
RtypesCore.h:55
TMVA
Abstract ClassifierFactory template that handles arbitrary types.
Definition:
MethodPyAdaBoost.h:29
TObject.h
TMVA::TNeuronInput
Definition:
TNeuronInput.h:46