|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Evaluator
Calculates the integral contribution of a function for a multi-index. The index evaluator also keeps track of how often the integrand function has been called as a result of index evaluation.
Method Summary | |
---|---|
boolean |
canEvaluate(Index index)
Returns whether the index evaluator can evaluate the given index. |
double |
deltaEvaluate(Index index)
Evaluates the integration function for the given integration index. |
int |
dimension()
Returns the dimension with which this index evaluator works. |
int |
pointsForIndex(Index index)
Returns the number of points the function needs to be evaluated at for this index. |
Method Detail |
---|
int dimension()
double deltaEvaluate(Index index) throws IntegrationFailedException
index
- integration index
IntegrationFailedException
- if an integration error occursboolean canEvaluate(Index index)
evaluateIndex
on an index
for which this method returns false
will produce an
IntegrationFailedException
.
This method returns false
exactly
if neededEvaluations
returns 0.
index
- index
true
if the index can be evaluatedint pointsForIndex(Index index)
index
- integration index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |