|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RewriteSystem
Class modelling a Rewrite System.
Method Summary | |
---|---|
void |
filter(java.util.Map<java.lang.String,java.util.List<java.lang.Integer>> filtering)
Applies an argument filtering to the rules of the rewrite system. |
java.util.Set<Pair<java.lang.String,java.lang.Integer>> |
getAllFunctionSymbolsWithArity()
Gets the list of function symbols of the rewrite system together with the corresponding arities. |
java.util.List<java.lang.String> |
getDefinedFunctionSymbols()
Gets the defined function symbols of the rewrite system, i.e. |
java.util.List<Rule> |
getRules()
Gets the rules of the rewrite system. |
java.util.Set<java.lang.String> |
getSignature()
Gets the signature of the rewrite system. |
Strategy |
getStrategy()
Gets the strategy of the rewrite system. |
java.util.List<java.lang.String> |
getVariables()
Extracts all variables that are used in the rules of the rewrite systems. |
boolean |
isConditional()
Computes whether the rewrite system is conditional, i.e. |
java.util.List<Term> |
narrow(Term t)
Narrows a given term with respect to this rewrite system. |
void |
removeContextSensitivityFlags()
Removes all forbidden flags from the rules of this Rewrite System. |
void |
reverse()
Swaps the direction of all rules of the Rewrite System, i.e. |
void |
setRules(java.util.List<Rule> rules)
Sets the rules of the rewrite system. |
void |
setStrategy(Strategy strategy)
Sets the strategy of the rewrite system. |
void |
setVariables(java.util.List<java.lang.String> variables)
Sets those functions that shall be interpreted as variables. |
Method Detail |
---|
void reverse()
java.util.List<Rule> getRules()
void setRules(java.util.List<Rule> rules)
rules
- The new rules of the rewrite system.Strategy getStrategy()
void setStrategy(Strategy strategy)
strategy
- The new strategy of the rewrite system.java.util.List<java.lang.String> getVariables()
void setVariables(java.util.List<java.lang.String> variables)
variables
- The new variables of the TRS.java.util.List<java.lang.String> getDefinedFunctionSymbols()
java.util.List<Term> narrow(Term t)
t
- The term to be narrowed
java.util.Set<java.lang.String> getSignature()
void filter(java.util.Map<java.lang.String,java.util.List<java.lang.Integer>> filtering)
filtering
- The filtering given by a mapping from functions to lists of argument positions.boolean isConditional()
java.util.Set<Pair<java.lang.String,java.lang.Integer>> getAllFunctionSymbolsWithArity()
void removeContextSensitivityFlags()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |