Initializing help system before first use

UnaryExpression


  • public final class UnaryExpression
    extends FormulaExpression
    A unary operation in a non-linear formula.
    Since:
    43.00
    • Constructor Detail

      • UnaryExpression

        public UnaryExpression​(UnaryExpression.Operator op,
                               Expression argument)
        Create a new unary expression.
        Parameters:
        op - Operator new expression.
        argument - Operand of new expression.
        Since:
        43.00
    • Method Detail

      • evaluate

        public double evaluate​(double[] solution)
        Compute the value of this expression with respect to the given solution vector (which is not required to be feasible).
        Specified by:
        evaluate in class  Expression
        Parameters:
        solution - Solution values for which the expression is evaluated.
        Since:
        43.00
      • extract

        public void extract​(PostfixExtractor extractor)
        Extract this expression into postfix notation.
        Specified by:
        extract in class  FormulaExpression
        Parameters:
        extractor - The extractor to which the expression is extract.
        Since:
        43.00
      • toString

        public java.lang.String toString()

        Used in these examples:

        • GlobalRHSParametrics
        • IISExample
        • Knapsack
        • Trimloss
        Overrides:
        toString in class  java.lang.Object
        Since:
        43.00

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.