gov.sns.tools.solver
Class Trial

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

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

public class Trial
extends java.lang.Object

Trial keeps track of trial points.


Field Summary
protected  Problem problem
          Deprecated.  
protected  java.util.Map scores
          Deprecated.  
protected  TrialPoint trialPoint
          Deprecated.  
 
Constructor Summary
Trial(Problem aProblem, TrialPoint aTrialPoint)
          Deprecated. Creates a new instance of Trial
 
Method Summary
 Score getScore(Objective objective)
          Deprecated. Get the score corresponding to the specified objective.
 TrialPoint getTrialPoint()
          Deprecated. Get the trial point.
 void setScore(Score aScore)
          Deprecated. Set the scores of a trial point.
 void vetoTrial()
          Deprecated. Veto a trial.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trialPoint

protected TrialPoint trialPoint
Deprecated. 

problem

protected Problem problem
Deprecated. 

scores

protected java.util.Map scores
Deprecated. 
Constructor Detail

Trial

public Trial(Problem aProblem,
             TrialPoint aTrialPoint)
Deprecated. 
Creates a new instance of Trial

Method Detail

vetoTrial

public void vetoTrial()
Deprecated. 
Veto a trial.


setScore

public void setScore(Score aScore)
Deprecated. 
Set the scores of a trial point.


getScore

public Score getScore(Objective objective)
Deprecated. 
Get the score corresponding to the specified objective.

Parameters:
objective - The objective for which to fetch the score.
Returns:
The score of the specified objective.

getTrialPoint

public TrialPoint getTrialPoint()
Deprecated. 
Get the trial point.

Returns:
The trial point.