Class RuleApplicationStepResult
java.lang.Object
fr.inria.rules.integraal.forward_chaining.chase.RuleApplicationStepResult
This object represents the result of a step of the chase
It contains the applied rules and the created facts
-
Constructor Summary
ConstructorsConstructorDescriptionRuleApplicationStepResult(Collection<FORule> applied_rules, FactBase created_facts) Constructor with rules and factsRuleApplicationStepResult(Collection<FORule> applied_rules, Collection<Atom> created_facts) Constructor with rules and facts -
Method Summary
Modifier and TypeMethodDescriptionReturns the rules applied during the step.Returns the facts created during the step.describe()Returns a textual summary of the step result.
-
Constructor Details
-
RuleApplicationStepResult
Constructor with rules and facts- Parameters:
applied_rules- rules applied at the stepcreated_facts- facts created at the step
-
RuleApplicationStepResult
Constructor with rules and facts- Parameters:
applied_rules- rules applied at the stepcreated_facts- facts created at the step
-
-
Method Details
-
applied_rules
Returns the rules applied during the step.- Returns:
- the rules applied at the step
-
created_facts
Returns the facts created during the step.- Returns:
- the facts created at the step
-
describe
Returns a textual summary of the step result.- Returns:
- a textual summary of the last chase step
-