gov.sns.tools.optimization
Class Solution

java.lang.Object
  |
  +--gov.sns.tools.optimization.Solution

Deprecated. The optimization package has been replaced by the optimizer package.

public class Solution
extends java.lang.Object

Solution is a container of a trial point and its score.


Field Summary
protected  double score
          Deprecated.  
protected  TrialPoint trialPoint
          Deprecated.  
 
Constructor Summary
Solution(TrialPoint aPoint, double aScore)
          Deprecated. Creates a new instance of Solution
 
Method Summary
 double getScore()
          Deprecated. Get the solution's score.
 TrialPoint getTrialPoint()
          Deprecated. Get the trial point used in this solution.
 java.lang.String toString()
          Deprecated. Provide a string for displaying solutions in a simple way.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

trialPoint

protected TrialPoint trialPoint
Deprecated. 

score

protected double score
Deprecated. 
Constructor Detail

Solution

public Solution(TrialPoint aPoint,
                double aScore)
Deprecated. 
Creates a new instance of Solution

Method Detail

getTrialPoint

public TrialPoint getTrialPoint()
Deprecated. 
Get the trial point used in this solution.

Returns:
The trial point used in this solution.

getScore

public double getScore()
Deprecated. 
Get the solution's score.

Returns:
The score of this solution.

toString

public java.lang.String toString()
Deprecated. 
Provide a string for displaying solutions in a simple way. The string is composed of the trial point and the score.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of a solution.