gov.sns.tools.solver
Class Score

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

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

public class Score
extends java.lang.Object

Score is a collection of objectives with scores mapped to those objectives.


Field Summary
protected  Objective objective
          Deprecated.  
protected  double value
          Deprecated.  
 
Constructor Summary
Score(Objective anObjective, double aValue)
          Deprecated. Creates a new instance of Score
 
Method Summary
 Objective getObjective()
          Deprecated. Get the objective.
 double getValue()
          Deprecated. Get the value.
 double satisfaction()
          Deprecated. Call satisfaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objective

protected Objective objective
Deprecated. 

value

protected double value
Deprecated. 
Constructor Detail

Score

public Score(Objective anObjective,
             double aValue)
Deprecated. 
Creates a new instance of Score

Method Detail

satisfaction

public double satisfaction()
Deprecated. 
Call satisfaction.

Returns:
The satisfaction as a double.

getObjective

public Objective getObjective()
Deprecated. 
Get the objective.

Returns:
The objective to be scored.

getValue

public double getValue()
Deprecated. 
Get the value.

Returns:
value