Documentation of 'hep.aida.ref.optimizer.VariableSettings' Java class
VariableSettings
hep.aida.ref.optimizer

Class VariableSettings

    • Constructor Summary

      Constructors 
      Constructor and Description
      VariableSettings(java.lang.String name) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isBound()
      Check if a variable is bounded.
      boolean isFixed()
      Check if a variable is fixed.
      double lowerBound()
      Get the lower bound.
      java.lang.String name()
      Get the name of the variable to which settings apply.
      void removeBounds()
      Reset the bounds.
      void reset()
      Reset the IVariableSetting ot its defaults.
      void setBounds(double lo, double up)
      Set the bounds for the variable.
      void setFixed(boolean isFixed)
      Set the fixed/unfixed status of a variable.
      void setStepSize(double step)
      Set the step size for this variable.
      void setValue(double value)
      Set the current value of this variable.
      double stepSize()
      The step size for this variable.
      double upperBound()
      Get the upper bound.
      double value()
      The current value for this variable.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VariableSettings

        public VariableSettings(java.lang.String name)
    • Method Detail

      • name

        public java.lang.String name()
        Description copied from interface: IVariableSettings
        Get the name of the variable to which settings apply.
        Specified by:
        name in interface IVariableSettings
        Returns:
        The name.
      • isBound

        public boolean isBound()
        Description copied from interface: IVariableSettings
        Check if a variable is bounded. A variable is bounded if either the upper bound or the lower bound are not infinity.
        Specified by:
        isBound in interface IVariableSettings
        Returns:
        true if the variable is bounded.
      • isFixed

        public boolean isFixed()
        Description copied from interface: IVariableSettings
        Check if a variable is fixed.
        Specified by:
        isFixed in interface IVariableSettings
        Returns:
        true if the variable is fixed.
      • setStepSize

        public void setStepSize(double step)
        Description copied from interface: IVariableSettings
        Set the step size for this variable.
        Specified by:
        setStepSize in interface IVariableSettings
        Parameters:
        step - The step size.
      • setBounds

        public void setBounds(double lo,
                              double up)
        Description copied from interface: IVariableSettings
        Set the bounds for the variable.
        Specified by:
        setBounds in interface IVariableSettings
        Parameters:
        lo - The lower bound.
        up - The upper bound.
      • setFixed

        public void setFixed(boolean isFixed)
        Description copied from interface: IVariableSettings
        Set the fixed/unfixed status of a variable.
        Specified by:
        setFixed in interface IVariableSettings
        Parameters:
        isFixed - The fixed status of a variable.
      • value

        public double value()
        Description copied from interface: IVariableSettings
        The current value for this variable.
        Specified by:
        value in interface IVariableSettings
        Returns:
        The current value.
      • setValue

        public void setValue(double value)
        Description copied from interface: IVariableSettings
        Set the current value of this variable.
        Specified by:
        setValue in interface IVariableSettings
        Parameters:
        value - The current value.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.