gov.sns.tools.solver
Class Solver

java.lang.Object
  |
  +--gov.sns.tools.solver.Solver

Deprecated. The optimization and optimizer packages have been replaced by the solver package.

public class Solver
extends java.lang.Object

Solver is the primary class for setting up and running an optimization.


Field Summary
protected  AlgorithmSchedule algorithmSchedule
          Deprecated.  
protected  MessageCenter messageBoard
          Deprecated.  
protected  Problem problem
          Deprecated.  
protected  ScoreBoard scoreBoard
          Deprecated.  
protected  Stopper stopper
          Deprecated.  
 
Constructor Summary
Solver()
          Deprecated. Creates a new instance of Solver
 
Method Summary
 ScoreBoard getScoreBoard()
          Deprecated. Get the scoreboard that shows the present state of solving.
 void solve(Problem aProblem, Stopper aStopper)
          Deprecated. Set the problem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messageBoard

protected MessageCenter messageBoard
Deprecated. 

problem

protected Problem problem
Deprecated. 

stopper

protected Stopper stopper
Deprecated. 

algorithmSchedule

protected AlgorithmSchedule algorithmSchedule
Deprecated. 

scoreBoard

protected ScoreBoard scoreBoard
Deprecated. 
Constructor Detail

Solver

public Solver()
Deprecated. 
Creates a new instance of Solver

Method Detail

solve

public void solve(Problem aProblem,
                  Stopper aStopper)
Deprecated. 
Set the problem.


getScoreBoard

public ScoreBoard getScoreBoard()
Deprecated. 
Get the scoreboard that shows the present state of solving. It shows the best solution found so far and the time elapsed since solving started.

Returns:
The scoreboard that shows the present state of solving.