montecarlointegrator_3.h

00001 #ifndef MONTECARLOINTEGRATOR_3_H
00002 #define IMONTECARLONTEGRATOR_3_H
00003 
00004 #include "integrator_3.h"
00005 
00006 namespace afl
00007 {
00012     class MonteCarloIntegrator_3 : public Integrator_3
00013     {
00014         public:
00023             MonteCarloIntegrator_3( const Field* field, const Parameters& params );
00024 
00028             virtual ~MonteCarloIntegrator_3(  );
00029 
00035             virtual Value integral( const Simplex& s ) const;
00036 
00041             virtual void toXML( std::ostream& doc ) const;
00042 
00047             virtual Integrator* clone(  );
00048 
00052             virtual const std::string& getMethod(  ) const;
00053 
00055         private:
00059             unsigned _polls;
00060 
00064             static const std::string _method;
00065     };
00066 
00067 };
00068 
00069 #endif // MONTECARLOINTEGRATOR_3_H

Generated on Fri Dec 22 07:17:50 2006 for afl by  doxygen 1.4.6