org.apache.commons.math3.optim
Class BaseOptimizer.MaxEvalCallback

java.lang.Object
  extended by org.apache.commons.math3.optim.BaseOptimizer.MaxEvalCallback
All Implemented Interfaces:
Incrementor.MaxCountExceededCallback
Enclosing class:
BaseOptimizer<PAIR>

private static class BaseOptimizer.MaxEvalCallback
extends Object
implements Incrementor.MaxCountExceededCallback

Defines the action to perform when reaching the maximum number of evaluations.


Constructor Summary
private BaseOptimizer.MaxEvalCallback()
           
 
Method Summary
 void trigger(int max)
          Function called when the maximal count has been reached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseOptimizer.MaxEvalCallback

private BaseOptimizer.MaxEvalCallback()
Method Detail

trigger

public void trigger(int max)
Function called when the maximal count has been reached.

Specified by:
trigger in interface Incrementor.MaxCountExceededCallback
Parameters:
max - Maximal count.
Throws:
TooManyEvaluationsException.


Copyright (c) 2003-2013 Apache Software Foundation