Documentation of 'hep.aida.ext.IVariableSettings' Java class
IVariableSettings
hep.aida.ext

Interface IVariableSettings

  • All Known Implementing Classes:
    VariableSettings


    public interface IVariableSettings
    IVariableSettings contains the settings for a give variable.
    • Method Summary

      All Methods Instance Methods Abstract 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 lowerBound, double upperBound)
      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.
    • Method Detail

      • name

        java.lang.String name()
        Get the name of the variable to which settings apply.
        Returns:
        The name.
      • stepSize

        double stepSize()
        The step size for this variable.
        Returns:
        the step size.
      • upperBound

        double upperBound()
        Get the upper bound.
        Returns:
        The upper bound.
      • lowerBound

        double lowerBound()
        Get the lower bound.
        Returns:
        The lower bound.
      • isBound

        boolean isBound()
        Check if a variable is bounded. A variable is bounded if either the upper bound or the lower bound are not infinity.
        Returns:
        true if the variable is bounded.
      • isFixed

        boolean isFixed()
        Check if a variable is fixed.
        Returns:
        true if the variable is fixed.
      • setStepSize

        void setStepSize(double step)
                  throws java.lang.IllegalArgumentException
        Set the step size for this variable.
        Parameters:
        step - The step size.
        Throws:
        java.lang.IllegalArgumentException - if the step is not positive.
      • setBounds

        void setBounds(double lowerBound,
                       double upperBound)
                throws java.lang.IllegalArgumentException
        Set the bounds for the variable.
        Parameters:
        lowerBound - The lower bound.
        upperBound - The upper bound.
        Throws:
        java.lang.IllegalArgumentException - if the lowerBound is not lower than the upperBound.
      • removeBounds

        void removeBounds()
        Reset the bounds.
      • setFixed

        void setFixed(boolean isFixed)
        Set the fixed/unfixed status of a variable.
        Parameters:
        isFixed - The fixed status of a variable.
      • reset

        void reset()
        Reset the IVariableSetting ot its defaults.
      • setValue

        void setValue(double value)
        Set the current value of this variable.
        Parameters:
        value - The current value.
      • value

        double value()
        The current value for this variable.
        Returns:
        The current value.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.