gov.sns.tools.optimizer
Class TrialPoint

java.lang.Object
  |
  +--gov.sns.tools.optimizer.TrialPoint

public class TrialPoint
extends java.lang.Object

TrialPoint is a collection of variables and values for those variables. This class provides the backward compatibility with the gov.sns.tools.optimization package.


Field Summary
protected  java.util.Map values
           
 
Constructor Summary
TrialPoint(java.util.Map newValues)
          Creates a new instance of TrialPoint
 
Method Summary
 double getValue(Variable variable)
          Get the value corresponding to the specified variable.
 java.util.Map getValueMap()
          Get the map of variable/value pairs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

protected java.util.Map values
Constructor Detail

TrialPoint

public TrialPoint(java.util.Map newValues)
Creates a new instance of TrialPoint

Method Detail

getValue

public double getValue(Variable variable)
Get the value corresponding to the specified variable.

Parameters:
variable - The variable for which to fetch the value.
Returns:
The value of the specified variable.

getValueMap

public java.util.Map getValueMap()
Get the map of variable/value pairs.

Returns:
the map of variable/value pairs.