Class FreshRenamer
java.lang.Object
fr.inria.rules.integraal.forward_chaining.chase.rule_applier.trigger_applier.renamer.FreshRenamer
- All Implemented Interfaces:
TriggerRenamer
Rename with a fresh variable each time
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a renamer generating a fresh variable for each existential. -
Method Summary
Modifier and TypeMethodDescriptionrenameExistentials(FORule rule, Substitution substitution) Is expected to NOT change the given substitution
-
Constructor Details
-
FreshRenamer
Creates a renamer generating a fresh variable for each existential.- Parameters:
tf- the term factory
-
-
Method Details
-
renameExistentials
Description copied from interface:TriggerRenamerIs expected to NOT change the given substitution- Specified by:
renameExistentialsin interfaceTriggerRenamer- Parameters:
rule- rule that created the triggersubstitution- the trigger- Returns:
- a substitution made from all the entries of the initial substitution and an additional entry for each existential of the rule that is not in the initial substitution
-