Class FunctionBinary.PowerLong_zxy

    • Method Detail

      • get_method_name

        public String[] get_method_name​(@GuardSatisfied FunctionBinary.PowerLong_zxy this)
      • get_var_order

        public int get_var_order​(@GuardSatisfied FunctionBinary.PowerLong_zxy this)
      • func

        public long func​(long x,
                         long y)
      • check_modified

        public InvariantStatus check_modified​(long x,
                                              long y,
                                              long z,
                                              int count)
        Description copied from class: ThreeScalar
        Presents a sample to the invariant. Returns whether the sample is consistent with the invariant. Does not change the state of the invariant.
        Specified by:
        check_modified in class ThreeScalar
        count - how many identical samples were observed in a row. For example, three calls to check_modified with a count parameter of 1 is equivalent to one call to check_modified with a count parameter of 3.
        Returns:
        whether or not the sample is consistent with the invariant
      • isExact

        @Pure
        public boolean isExact()
        Description copied from class: Invariant
        Subclasses should override. An exact invariant indicates that given all but one variable value, the last one can be computed. (I think that's correct, anyway.) Examples are IntComparison (when only equality is possible), LinearBinary, FunctionUnary. OneOf is treated differently, as an interface. The result of this method does not depend on whether the invariant is justified, destroyed, etc.
        Overrides:
        isExact in class Invariant
        Returns:
        true if any variable value can be computed from all the others