Logo ROOT   6.14/05
Reference Guide
IFitterTarget.h
Go to the documentation of this file.
1 // @(#)root/tmva $Id$
2 // Author: Andreas Hoecker, Peter Speckmayer
3 
4 /**********************************************************************************
5  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6  * Package: TMVA *
7  * Class : IFitterTarget *
8  * Web : http://tmva.sourceforge.net *
9  * *
10  * Description: *
11  * Interface for generic fitter *
12  * *
13  * Authors (alphabetical): *
14  * Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
15  * Peter Speckmayer <speckmay@mail.cern.ch> - CERN, Switzerland *
16  * *
17  * Copyright (c) 2005: *
18  * CERN, Switzerland *
19  * MPI-K Heidelberg, Germany *
20  * *
21  * Redistribution and use in source and binary forms, with or without *
22  * modification, are permitted according to the terms listed in LICENSE *
23  * (http://tmva.sourceforge.net/LICENSE) *
24  **********************************************************************************/
25 
26 #ifndef ROOT_TMVA_IFitterTarget
27 #define ROOT_TMVA_IFitterTarget
28 
29 //////////////////////////////////////////////////////////////////////////
30 // //
31 // IFitterTarget //
32 // //
33 // Interface for a fitter "target" //
34 // //
35 //////////////////////////////////////////////////////////////////////////
36 
37 #include <vector>
38 
39 #include "TMVA/Types.h"
40 
41 
42 namespace TMVA {
43 
44  class IFitterTarget {
45 
46  public:
47 
48  IFitterTarget();
49 
50  virtual ~IFitterTarget() {}
51 
52  virtual Double_t EstimatorFunction( std::vector<Double_t>& parameters ) = 0;
53 
54  // function to notify the FitterTarget of the progress status of the fitter
55  // sender : "GA", "MC", ...
56  // progress : "init", "iteration", "last", "stop"
57  virtual void ProgressNotifier ( TString /*sender*/, TString /* progress */ ) {}
58 
59  private:
60 
61  ClassDef(IFitterTarget,0); // base class for a fitter "target"
62  };
63 
64 } // namespace TMVA
65 
66 #endif
virtual Double_t EstimatorFunction(std::vector< Double_t > &parameters)=0
Basic string class.
Definition: TString.h:131
#define ClassDef(name, id)
Definition: Rtypes.h:320
virtual void ProgressNotifier(TString, TString)
Definition: IFitterTarget.h:57
virtual ~IFitterTarget()
Definition: IFitterTarget.h:50
double Double_t
Definition: RtypesCore.h:55
IFitterTarget()
constructor
Abstract ClassifierFactory template that handles arbitrary types.
Interface for a fitter &#39;target&#39;.
Definition: IFitterTarget.h:44