|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiterators.ModelIterator
iterators.EllipIterator
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 | |
EllipIterator()
|
Method Summary | |
ModelIterator |
copy()
|
void |
doRun()
// ******* This version of theFunction for diagnostic purposes only public float F(float [] thePoint) { double score,x3eight,sinx3eight,fac0,fac1,fac2,fac3; numFunctionCalls++; x3eight= 8.0 * thePoint[3]; sinx3eight = Math.sin(x3eight); sinx3eight = thePoint[3] * sinx3eight*sinx3eight; fac0 = 5.0 * (thePoint[0] - sinx3eight); score = fac0*fac0; fac1 = 5.0 * (thePoint[1] - sinx3eight); score += fac1*fac1; fac2 = Math.cos(x3eight); fac2 = 5.0 * (thePoint[2] - fac2*fac2); score += fac2*fac2; fac3 = 0.5 * Math.abs(thePoint[3]); score += fac3; return (float)score; } // ******* This version of theFunction for diagnostic purposes only // |
protected void |
loadParameter(java.lang.String info,
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, loadParameters, 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 |
Constructor Detail |
public EllipIterator()
Method Detail |
public void reset()
ModelIterator
reset
in class ModelIterator
public ModelIterator copy() throws java.lang.Exception
copy
in class ModelIterator
java.lang.Exception
protected void loadParameter(java.lang.String info, BetterTokenizer tokenizer) throws java.lang.Exception
loadParameter
in class ModelIterator
java.lang.Exception
public void doRun()
doRun
in class ModelIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |