Package | Description |
---|---|
at.jku.risc.stout.nau.algo |
This package contains the classes of the rule based system
(
AntiUnifySystem ) to solve the nominal
anti-unification problem and an algorithm to solve the nominal
equivariance problem (EquivarianceSystem )
which is needed by the anti-unification algorithm. |
at.jku.risc.stout.nau.data |
This package contains the nominal parser and some container classes like
equation systems, freshness context and a container for nominal pairs.
|
at.jku.risc.stout.nau.data.atom |
This package contains the classes which are needed to build up the term tree
(E.g.: Atom,
Abstraction,
FunctionApplication,
Suspension,
SortAtom,
SortData,
NodeFactory,...).
|
Modifier and Type | Method and Description |
---|---|
void |
Substitution.composeInRange(Variable fromVar,
NominalTerm toTerm)
Substitution composition which does not add new variables to the mapping.
|
Modifier and Type | Method and Description |
---|---|
Atom |
NodeFactory.newAtom(String name,
SortAtom sort)
Instantiates an atom of the specified sort.
|
Atom |
NodeFactory.newAtom(String name,
String sort)
Instantiates an atom of the specified sort.
|
FunctionSymbol |
NodeFactory.newFunction(String name,
Sort[] sortArgs,
SortData sortRet)
Instantiates a function symbol of the specified arity.
|
FunctionSymbol |
NodeFactory.newFunction(String name,
Sort[] sortArgs,
String sortRet)
Instantiates a function symbol of the specified arity.
|
Variable |
NodeFactory.newVarAtom(String name,
String sort)
Instantiates a variable of the specified sort.
|
Variable |
NodeFactory.newVarData(String name,
String sort)
Instantiates a variable of the specified sort.
|
Variable |
NodeFactory.newVariable(String name,
Sort sort)
Instantiates a variable of the specified sort.
|
Set<Atom> |
InputParser.parseAtomSet(Reader in) |
<T extends Equation<NominalTerm>> |
InputParser.parseEquation(Reader in1,
Reader in2,
EquationSystem<T> eqSys) |
FreshnessCtx |
InputParser.parseEquationAndCtx(Reader in1,
Reader in2,
Reader inA,
Reader inN,
EquationSystem<AntiUnifyProblem> eqSys) |
FreshnessCtx |
InputParser.parseNabla(Reader in) |
NominalPair |
InputParser.parsePair(Reader nablaIn,
Reader termIn) |
NominalTerm |
InputParser.parseTerm(Reader in,
boolean reset)
Pull characters from the given Reader and parse the input.
|
void |
NominalPair.substitute(Variable fromVar,
NominalTerm toTerm)
Applies a substitution to the nominal pair.
|
void |
NominalPair.swap(Atom a1,
Atom a2)
Applies a swapping to this nominal pair.
|
Modifier and Type | Method and Description |
---|---|
void |
Permutation.addSwappingHead(Atom a1,
Atom a2)
Adds a swapping at the head (left) of this sequence of swappings.
|
void |
Permutation.addSwappingTail(Atom a1,
Atom a2)
Adds a swapping at the tail (right) of this sequence of swappings.
|
void |
FunctionSymbol.setArity(int arity)
Sets the arity and checks whether it is consistent with the defined sorts
of the arguments.
|
void |
Atom.setSort(Sort sort) |
void |
FunctionApplication.setSort(Sort sort) |
void |
Suspension.setSort(Sort sort) |
void |
Abstraction.setSort(Sort sort) |
void |
HasSort.setSort(T sort) |
void |
FunctionSymbol.setSortArgs(Sort[] sortArgs)
Defines the sorts of the arguments and checks whether it is consistent
with the defined arity.
|
NominalTerm |
FunctionApplication.substitute(Variable fromVar,
NominalTerm toTerm) |
NominalTerm |
Suspension.substitute(Variable fromVar,
NominalTerm toTerm) |
NominalTerm |
Abstraction.substitute(Variable fromVar,
NominalTerm toTerm) |
abstract NominalTerm |
NominalTerm.substitute(Variable fromVar,
NominalTerm toTerm) |
NominalTerm |
FunctionApplication.swap(Atom a1,
Atom a2) |
NominalTerm |
Suspension.swap(Atom a1,
Atom a2) |
NominalTerm |
Abstraction.swap(Atom a1,
Atom a2) |
abstract NominalTerm |
NominalTerm.swap(Atom a1,
Atom a2) |
Constructor and Description |
---|
FunctionApplication(FunctionSymbol fncSymb)
Instantiates a constant without arguments.
|
FunctionApplication(FunctionSymbol fncSymb,
List<NominalTerm> args)
Instantiates a function application with the given arguments.
|
FunctionApplication(FunctionSymbol fncSymb,
NominalTerm[] args)
Instantiates a function application with the given arguments.
|