iterator
Class ConstrainedTwoStageAlgoBuilder

java.lang.Object
  extended by iterator.AbstractIterator
      extended by iterator.AbstractOptimizer<T>
          extended by iterator.AbstractPointOptimizer<T>
              extended by iterator.TwoStageAlgoBuilder<InequalityConstrainedProblem,ConstrainedImprovementDiviner,AbstractOptimizer<BoundConstrainedProblem>>
                  extended by iterator.ConstrainedTwoStageAlgoBuilder
All Implemented Interfaces:
DataListener, Iterable, LoggableIterator, RepeatableLoggableIterator

public class ConstrainedTwoStageAlgoBuilder
extends TwoStageAlgoBuilder<InequalityConstrainedProblem,ConstrainedImprovementDiviner,AbstractOptimizer<BoundConstrainedProblem>>

A TwoStageAlgoBuilder for constrained problems. Overrides the update() and updateDiagnostics() methods.

Author:
dgorur

Field Summary
 
Fields inherited from class iterator.AbstractOptimizer
doubleFormat, funEvalCount, logWriter
 
Fields inherited from class iterator.AbstractIterator
diagnosticString, iter
 
Constructor Summary
ConstrainedTwoStageAlgoBuilder()
           
 
Method Summary
protected  void printDiagnostics()
          Prints diagnostic output.
protected  void update()
          Any updates that need to be performed at each iteration are encapsulated in this routine.
protected  void updateDiagnostics()
          Provides access to the diagnosticString, so that the user has flexibility over multiple methods accessing this string at different times.
 
Methods inherited from class iterator.TwoStageAlgoBuilder
computeNextPoint, getApproxModels, getAuxOptimizer, getAuxProblem, getCalibrationInterval, getDiviner, getFunEvalCount, getMainOptimizer, getProblem, getRandomSeed, init, makeAuxProblem, setApproxModels, setAuxOptimizer, setAuxProblem, setCalibrationInterval, setDiviner, setFunEvalCount, setMainOptimizer, setProblem, setRandomSeed
 
Methods inherited from class iterator.AbstractPointOptimizer
singleIteration
 
Methods inherited from class iterator.AbstractOptimizer
clear, dataAdded, dataAdded, dataRemoved, dataRemoved, getDataHandler, getLogFileName, getMaxFunEval, isTerminated, iterate, setDataHandler, setLogFileName, setMaxFunEval, writeInitialRunLog
 
Methods inherited from class iterator.AbstractIterator
isVerbose, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface iterator.LoggableIterator
getLogFileName, setLogFileName
 
Methods inherited from interface iterator.Iterable
isTerminated, iterate, singleIteration
 

Constructor Detail

ConstrainedTwoStageAlgoBuilder

public ConstrainedTwoStageAlgoBuilder()
Method Detail

printDiagnostics

protected void printDiagnostics()
Description copied from class: AbstractIterator
Prints diagnostic output.

Overrides:
printDiagnostics in class TwoStageAlgoBuilder<InequalityConstrainedProblem,ConstrainedImprovementDiviner,AbstractOptimizer<BoundConstrainedProblem>>

update

protected void update()
Description copied from class: TwoStageAlgoBuilder
Any updates that need to be performed at each iteration are encapsulated in this routine.

Overrides:
update in class TwoStageAlgoBuilder<InequalityConstrainedProblem,ConstrainedImprovementDiviner,AbstractOptimizer<BoundConstrainedProblem>>

updateDiagnostics

protected void updateDiagnostics()
Description copied from class: AbstractIterator
Provides access to the diagnosticString, so that the user has flexibility over multiple methods accessing this string at different times.

Overrides:
updateDiagnostics in class AbstractOptimizer<InequalityConstrainedProblem>