joptima
Class Parameter
- java.lang.Object
-
- joptima.Parameter
-
public class Parameter extends java.lang.ObjectMutable parameter. The minimizer calls the set() method on this class during minimization. This has the effect of setting the field on the object that implements the Function interface, so a subsequent Fuction.calculate() call will work with the given values.
-
-
Constructor Summary
Constructors Constructor and Description Parameter(Function function, java.lang.String fieldname)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleget()voidset(double value)
-
-
-
Constructor Detail
-
Parameter
public Parameter(Function function, java.lang.String fieldname) throws java.lang.NoSuchFieldException
Constructor. Remembers which object this parameter belongs to, and constructs- Throws:
java.lang.NoSuchFieldException
-
-
DMelt 3.0 © DataMelt by jWork.ORG