gov.sns.tools.solver
Class AlgorithmRun

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

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

public class AlgorithmRun
extends java.lang.Object

AlgorithmRun determines if there is another search algorithm to execute. If there is the interface it evaluates the next algorithm.


Field Summary
protected  SearchAlgorithm algorithm
          Deprecated.  
protected  int count
          Deprecated.  
 
Constructor Summary
AlgorithmRun(SearchAlgorithm anAlgorithm, int aCount)
          Deprecated. Creates a new instance of AlgorithmRun
 
Method Summary
 SearchAlgorithm getAlgorithm()
          Deprecated. The next algorithm to be run.
 boolean hasNext()
          Deprecated. Signal if there is another algorithm run.
 SearchAlgorithm popAlgorithm()
          Deprecated. Pop the next algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

algorithm

protected SearchAlgorithm algorithm
Deprecated. 

count

protected int count
Deprecated. 
Constructor Detail

AlgorithmRun

public AlgorithmRun(SearchAlgorithm anAlgorithm,
                    int aCount)
Deprecated. 
Creates a new instance of AlgorithmRun

Method Detail

getAlgorithm

public SearchAlgorithm getAlgorithm()
Deprecated. 
The next algorithm to be run.

Returns:
algorithm

hasNext

public boolean hasNext()
Deprecated. 
Signal if there is another algorithm run.

Returns:
true if there is another algorithm to be run.

popAlgorithm

public SearchAlgorithm popAlgorithm()
Deprecated. 
Pop the next algorithm.

Returns:
algorithm