wodka.ga.racer.mc
Class ModelCompareRaceRunner

java.lang.Object
  extended bywodka.ga.racer.mc.ModelCompareRaceRunner
All Implemented Interfaces:
RaceRunner, java.lang.Runnable
Direct Known Subclasses:
ModelCompareLinearSquareRaceRunner, ModelCompareLinearStarRaceRunner, ModelCompareLinearWheelRaceRunner, ModelCompareSquareRaceRunner, ModelCompareStarRaceRunner, ModelCompareWheelRaceRunner

public abstract class ModelCompareRaceRunner
extends java.lang.Object
implements RaceRunner


Constructor Summary
ModelCompareRaceRunner()
           
 
Method Summary
 int compare(Model m)
           
protected abstract  GridFunction getGridFunction()
           
protected abstract  ModelHolder getModelHolder()
           
 void run()
           
 void setErrHandler(RaceRunnerErrorHandler errHandler)
           
protected  void setGridFunction(GridFunction gridFunction)
           
 void setId(int id)
           
 void setModel(Model m)
           
 void setRaceRunnerListener(RaceRunnerListener rrl)
           
 void setTerrainXml(java.lang.String terrain)
           
 void setTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelCompareRaceRunner

public ModelCompareRaceRunner()
Method Detail

setTimeout

public void setTimeout(int timeout)
Specified by:
setTimeout in interface RaceRunner

getGridFunction

protected abstract GridFunction getGridFunction()

getModelHolder

protected abstract ModelHolder getModelHolder()

setErrHandler

public void setErrHandler(RaceRunnerErrorHandler errHandler)
Specified by:
setErrHandler in interface RaceRunner

compare

public int compare(Model m)

run

public void run()
Specified by:
run in interface java.lang.Runnable

setGridFunction

protected void setGridFunction(GridFunction gridFunction)

setId

public void setId(int id)
Specified by:
setId in interface RaceRunner

setModel

public void setModel(Model m)
Specified by:
setModel in interface RaceRunner

setRaceRunnerListener

public void setRaceRunnerListener(RaceRunnerListener rrl)
Specified by:
setRaceRunnerListener in interface RaceRunner

setTerrainXml

public void setTerrainXml(java.lang.String terrain)
Specified by:
setTerrainXml in interface RaceRunner