Interface ICause

    • Method Detail

      • why

        default boolean why​(RuleStore ruleStore,
                            IntVar var,
                            IEventType evt,
                            int value)
        Add new rules to the rule store
        Parameters:
        ruleStore - the rule store
        var - the modified variable
        evt - the undergoing event
        value - the value (for REMOVE only)
        Returns:
        true if at least one rule has been added to the rule store