iterators
Class CooptimizerFunction

java.lang.Object
  extended byiterators.Function
      extended byiterators.CooptimizerFunction

public class CooptimizerFunction
extends Function


Field Summary
 
Fields inherited from class iterators.Function
runner
 
Constructor Summary
CooptimizerFunction(ModelRunner run)
           
 
Method Summary
 void addObject(Model model, BetterTokenizer tokenizer, java.lang.String eval_type, java.lang.String class_name)
           
 Function copy()
           
 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.
 
Methods inherited from class iterators.Function
continueEvaluate, getStopper, init, loadParameter, loadParameters, setStopper, stopRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CooptimizerFunction

public CooptimizerFunction(ModelRunner run)
Method Detail

copy

public Function copy()
Overrides:
copy in class Function

addObject

public void addObject(Model model,
                      BetterTokenizer tokenizer,
                      java.lang.String eval_type,
                      java.lang.String class_name)
               throws java.lang.Exception
Overrides:
addObject in class Function
Throws:
java.lang.Exception

evaluate

public float evaluate(ParameterSet pars)
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