Rules are prerequisite / conclusion associations. Note that this class represents
only simple rules having only one fact in the head. Prerequisites can be connected
by AND or OR.
For generalized rules with a disjunction of facts in the head use Clause or ClauseSet.
Note that instances are usually created using a factory.
See Also:org.mandarax.kernel.LogicFactory author: Jens Dietrich version: 3.4 <7 March 05> since: 1.0
Apply a set of replacements to a rule. Returns a new rule!
the rule that is the result of applying the replacements Parameters: r - a collection of replacements
public void setBodyOrConnected(boolean value)(Code)
Set a new value. A value true means that the prerequisistes are connected by OR,
a value false means that the prerequistes are connected by AND.
Parameters: value - a boolean