afl::MonteCarloIntegrator_3 Class Reference

#include <montecarlointegrator_3.h>

Inheritance diagram for afl::MonteCarloIntegrator_3:

afl::Integrator_3 afl::Integrator List of all members.

Public Member Functions

 MonteCarloIntegrator_3 (const Field *field, const Parameters &params)
virtual ~MonteCarloIntegrator_3 ()
virtual Value integral (const Simplex &s) const
virtual void toXML (std::ostream &doc) const
virtual Integratorclone ()
virtual const std::string & getMethod () const

Detailed Description

Class MonteCarloIntegrator_3 provides integrals for 2D fields by polling the field at random locations


Constructor & Destructor Documentation

afl::MonteCarloIntegrator_3::MonteCarloIntegrator_3 const Field field,
const Parameters params
 

constructor

Parameters:
field the field to approximate integrals in
params passed to this iterator. Should include >polls<number>/polls<. The default number is 5 polls
Exceptions:
ddf::InvalidArgumentException 

virtual afl::MonteCarloIntegrator_3::~MonteCarloIntegrator_3  )  [virtual]
 

Destructor


Member Function Documentation

virtual Integrator* afl::MonteCarloIntegrator_3::clone  )  [virtual]
 

Returns:
a true copy of the object. The object becomes the responsibility of the calling function

Reimplemented from afl::Integrator_3.

virtual const std::string& afl::MonteCarloIntegrator_3::getMethod  )  const [virtual]
 

Returns:
the name of the method this integrator implements

Reimplemented from afl::Integrator_3.

virtual Value afl::MonteCarloIntegrator_3::integral const Simplex s  )  const [virtual]
 

Parameters:
s the simplex to integrate over
Returns:
the integral over s

Reimplemented from afl::Integrator_3.

virtual void afl::MonteCarloIntegrator_3::toXML std::ostream &  doc  )  const [virtual]
 

represents the integrator for an FRL document

Parameters:
doc the output stream that the xml will be appended to

Reimplemented from afl::Integrator_3.


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 07:17:51 2006 for afl by  doxygen 1.4.6