iterators
Class ICSamplingFunction

java.lang.Object
  extended byiterators.Function
      extended byiterators.ICSamplingFunction

public class ICSamplingFunction
extends Function


Field Summary
 
Fields inherited from class iterators.Function
runner
 
Constructor Summary
ICSamplingFunction()
           
ICSamplingFunction(ModelRunner run)
           
 
Method Summary
 float evaluate(ParameterSet pars)
          this is the default evaluate method that just runs this models runner with its native stopper and parameter values defined by pars.
 void init(ModelRunner run)
           
protected  void loadICs(java.lang.String init_name, BetterTokenizer tokenizer)
           
protected  void loadParameter(java.lang.String info, BetterTokenizer tokenizer)
           
 void loadParameters(BetterTokenizer tokenizer)
           
 void setModel(Cell[] cells)
           
 void setStopper(SimpleStop stopper)
           
 
Methods inherited from class iterators.Function
addObject, continueEvaluate, copy, getStopper, stopRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICSamplingFunction

public ICSamplingFunction()

ICSamplingFunction

public ICSamplingFunction(ModelRunner run)
Method Detail

init

public void init(ModelRunner run)
Overrides:
init in class Function

setStopper

public void setStopper(SimpleStop stopper)
Overrides:
setStopper in class Function

evaluate

public float evaluate(ParameterSet pars)
               throws java.lang.Exception
Description copied from class: Function
this is the default evaluate method that just runs this models runner with its native stopper and parameter values defined by pars. The state of pars reflects any parameter changes and the resultant score is returned.

Overrides:
evaluate in class Function
Throws:
java.lang.Exception

setModel

public void setModel(Cell[] cells)

loadParameters

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

loadParameter

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

loadICs

protected void loadICs(java.lang.String init_name,
                       BetterTokenizer tokenizer)
                throws java.lang.Exception
Throws:
java.lang.Exception