iterators
Class PowellIterator

java.lang.Object
  extended byiterators.ModelIterator
      extended byiterators.PowellIterator
All Implemented Interfaces:
java.lang.Runnable

public class PowellIterator
extends ModelIterator
implements java.lang.Runnable


Field Summary
 
Fields inherited from class iterators.ModelIterator
cells, finalScore, model, network, nParsTV, numCells, numFunctionCalls, origStopper, outFileName, p, parsTV, ps, running, runThread, theFunction, TheIteratorViewer, verbose
 
Constructor Summary
PowellIterator()
           
 
Method Summary
 ModelIterator copy()
          // ******* This version of F for diagnostic purposes only public float F(float [] thePoint) { numFunctionCalls++; return (10 + SQR(thePoint[0]) + SQR(thePoint[1])); } // ******* This version of F for diagnostic purposes only //
 void doRun()
           
protected  void loadParameter(java.lang.String info, BetterTokenizer tokenizer)
           
 void loadParameters(BetterTokenizer tokenizer)
           
 void reset()
          Called before each run of an iterator.
 
Methods inherited from class iterators.ModelIterator
continueF, didBomb, didPass, doStartRun, F, getOutputFileName, getParameterSet, getState, getStopper, getValue, init, isRunning, isSaveExtra, iterError, print, println, println, quit, resetStopper, run, saveExtra, saveOutput, saveOutputTags, setFunction, setIteratorViewer, setOutputFile, setPrint, setPrintStream, setState, setStopper, startRun, stopRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

PowellIterator

public PowellIterator()
Method Detail

loadParameters

public void loadParameters(BetterTokenizer tokenizer)
                    throws java.lang.Exception
Overrides:
loadParameters in class ModelIterator
Throws:
java.lang.Exception

loadParameter

protected void loadParameter(java.lang.String info,
                             BetterTokenizer tokenizer)
                      throws java.lang.Exception
Overrides:
loadParameter in class ModelIterator
Throws:
java.lang.Exception

copy

public ModelIterator copy()
                   throws java.lang.Exception
// ******* This version of F for diagnostic purposes only public float F(float [] thePoint) { numFunctionCalls++; return (10 + SQR(thePoint[0]) + SQR(thePoint[1])); } // ******* This version of F for diagnostic purposes only //

Overrides:
copy in class ModelIterator
Throws:
java.lang.Exception

reset

public void reset()
Description copied from class: ModelIterator
Called before each run of an iterator. This reset contains code that all iterators should do when they are reset. Subclasses should override to perform any additional operations they need to do when reset, but they should also call super.reset().

Overrides:
reset in class ModelIterator

doRun

public void doRun()
Overrides:
doRun in class ModelIterator