Package hec.data.rating
Class ParameterValues
java.lang.Object
hec.data.rating.ParameterValues
Describes a set of input or output values associated with a given parameter for a
rating function.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty parameter values.ParameterValues
(Parameter parameter, double[] values) Constructs a parameter values setting the parameter and values array. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Returns the double array.Returns the parameter.void
setDoubleArray
(double[] doubleArray) Sets the double array.void
setParameter
(Parameter parameter) Sets the parameter.
-
Constructor Details
-
ParameterValues
public ParameterValues()Constructs an empty parameter values. -
ParameterValues
Constructs a parameter values setting the parameter and values array.- Parameters:
parameter
-values
-
-
-
Method Details
-
getDoubleArray
public double[] getDoubleArray()Returns the double array.- Returns:
-
setDoubleArray
public void setDoubleArray(double[] doubleArray) Sets the double array.- Parameters:
doubleArray
-
-
getParameter
Returns the parameter.- Returns:
-
setParameter
Sets the parameter.- Parameters:
parameter
-
-