Interface TriggerApplier<RW extends MaterializedData & Writable>
- Type Parameters:
RW- the writable materialized data type receiving inferred facts
- All Known Implementing Classes:
TriggerApplierImpl, TriggerApplierWithTrackerImpl
public interface TriggerApplier<RW extends MaterializedData & Writable>
A trigger applier applies a homomorphism to the rule's head and adds the resulting atoms to the readWriteData
-
Method Summary
-
Method Details
-
apply
Applies the given substitution to the rule's head and add the result to the readWriteData- Parameters:
rule- the rule to applysubstitution- the trigger of the rulereadWriteData- Writable where to add the new facts- Returns:
- the effectively added facts
-
describe
Default method to describe the rule scheduler- Returns:
- a short description of this trigger applier
-