00001 // @(#)root/tmva $Id: TNeuronInput.h 29122 2009-06-22 06:51:30Z brun $ 00002 // Author: Matt Jachowski 00003 00004 /********************************************************************************** 00005 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * 00006 * Package: TMVA * 00007 * Class : TMVA::TNeuronInput * 00008 * * 00009 * Description: * 00010 * Interface for TNeuron input calculation classes * 00011 * * 00012 * Authors (alphabetical): * 00013 * Matt Jachowski <jachowski@stanford.edu> - Stanford University, USA * 00014 * * 00015 * Copyright (c) 2005: * 00016 * CERN, Switzerland * 00017 * * 00018 * Redistribution and use in source and binary forms, with or without * 00019 * modification, are permitted according to the terms listed in LICENSE * 00020 * (http://tmva.sourceforge.net/LICENSE) * 00021 **********************************************************************************/ 00022 00023 00024 #ifndef ROOT_TMVA_TNeuronInput 00025 #define ROOT_TMVA_TNeuronInput 00026 00027 ////////////////////////////////////////////////////////////////////////// 00028 // // 00029 // TNeuronInput // 00030 // // 00031 // Interface for TNeuron input calculation classes // 00032 // // 00033 ////////////////////////////////////////////////////////////////////////// 00034 00035 #ifndef ROOT_TObject 00036 #include "TObject.h" 00037 #endif 00038 #ifndef ROOT_TString 00039 #include "TString.h" 00040 #endif 00041 00042 namespace TMVA { 00043 00044 class TNeuron; 00045 00046 class TNeuronInput { 00047 00048 public: 00049 00050 TNeuronInput() {} 00051 virtual ~TNeuronInput() {} 00052 00053 // calculate input value for neuron 00054 virtual Double_t GetInput( const TNeuron* neuron ) const = 0; 00055 00056 // name of class 00057 virtual TString GetName() = 0; 00058 00059 ClassDef(TNeuronInput,0) // Interface for TNeuron input calculation classes 00060 }; 00061 00062 } // namespace TMVA 00063 00064 #endif