gov.sns.tools.optimizer
Class Scoreboard
java.lang.Object
|
+--gov.sns.tools.optimizer.Scoreboard
- public class Scoreboard
- extends java.lang.Object
|
Constructor Summary |
protected |
Scoreboard()
Creates a new instance of Scoreboard |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bestScore
protected double bestScore
bestScoreBefore
protected double bestScoreBefore
solutionMap
protected java.util.Map solutionMap
iterations
protected int iterations
clockRunning
protected boolean clockRunning
startTime
protected java.util.Date startTime
lastTime
protected java.util.Date lastTime
Scoreboard
protected Scoreboard()
- Creates a new instance of Scoreboard
reset
protected final void reset()
startClock
protected final void startClock()
stopClock
protected final void stopClock()
elapsedTime
protected final double elapsedTime()
setBestScore
protected final void setBestScore(double bestScore,
java.util.Map solutionMap)
nextIteration
protected final void nextIteration()
getBestScore
public final double getBestScore()
getPreviousBestScore
public final double getPreviousBestScore()
getBestSolutionMap
public final java.util.Map getBestSolutionMap()
iterations
public final int iterations()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object