q1471341.mp1074.integration
Class LatticeIntegrator

java.lang.Object
  extended byq1471341.mp1074.integration.Integrator
      extended byq1471341.mp1074.integration.LatticeIntegrator

public class LatticeIntegrator
extends Integrator

Performs a lattice rule integration.

Author:
Ulrich Telle

Field Summary
 
Fields inherited from class q1471341.mp1074.integration.Integrator
TC_ABSOLUTE_TOLERANCE, TC_EVALUATION_COUNT, TC_EVALUATION_TIME, TC_RELATIVE_TOLERANCE
 
Constructor Summary
LatticeIntegrator(LatticeRule latticeRule, Optimizer optimizer)
          Instantiates a lattice rule integrator
 
Method Summary
 IntegrationResult integrate(Integrand f)
          Performs numerical integration of the integrand until one of the termination conditions is met.
 java.lang.String toString()
           
 
Methods inherited from class q1471341.mp1074.integration.Integrator
getAbsoluteTolerance, getEvaluationCountLimit, getEvaluationTime, getRelativeTolerance, getTerminationCondition, setAbsoluteTolerance, setEvaluationCountLimit, setRelativeTolerance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LatticeIntegrator

public LatticeIntegrator(LatticeRule latticeRule,
                         Optimizer optimizer)
Instantiates a lattice rule integrator

Parameters:
latticeRule - thelattice rule to use if not specified, e.g. null, a good lattice points rule is used
optimizer - the optimizer instance used to find the optimal lattice generating vector if not specified, e.g. null, the default optimizer is used
Method Detail

integrate

public IntegrationResult integrate(Integrand f)
Performs numerical integration of the integrand until one of the termination conditions is met.

Specified by:
integrate in class Integrator
Parameters:
f - integrand function
Returns:
result of integration
Throws:
IntegrationException - if an integration error occurs

toString

public java.lang.String toString()
Returns:
Returns the name of this integrator