Interface Expression.ArithmeticExpression

    • Method Detail

      • evalSet

        HashSet<Integer> evalSet​(HashMap<String,​HashSet<Integer>> h)
        Evaluates this expression for the given values of the variables involved. Can be used when the arguments can have multiple values.
        Parameters:
        h - The hash map that contains for each variable the possible set of its values.
        Returns:
        the set of the possible values of the expression, or an empty set if the expression uses a variable whose value is not in h