Documentation of 'joptima.Parameter' Java class
Parameter
joptima

Class Parameter



  • public class Parameter
    extends java.lang.Object
    Mutable 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
      double get() 
      void set(double value) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Method Detail

      • set

        public void set(double value)
                 throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException
      • get

        public double get()
                   throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.