Class FreshVariableImpl
java.lang.Object
fr.inria.rules.integraal.model.logicalElements.impl.VariableImpl
fr.inria.rules.integraal.model.logicalElements.impl.FreshVariableImpl
- All Implemented Interfaces:
fr.inria.rules.dlgpemodel.api.elems.ITerm, fr.inria.rules.dlgpemodel.api.elems.IVariable, fr.inria.rules.dlgpemodel.api.sentences.IPrintable, Standardizable, Substitutable<Term>, Term, Variable
A fresh variable is guaranteed not to compare equal to previously created variables.
- Author:
- Florent Tornil
-
Field Summary
Fields inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
WRITER -
Constructor Summary
ConstructorsConstructorDescriptionFreshVariableImpl(String label) Creates a fresh variable with the provided label. -
Method Summary
Methods inherited from class VariableImpl
applySubstitution, getName, isAnonymous, label, toStringMethods inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
toDLGPEMethods inherited from interface Standardizable
toStandardFormMethods inherited from interface Term
applySubstitution, isConstant, isEvaluableFunction, isFrozen, isFunctionalTerm, isGround, isLiteralMethods inherited from interface Variable
isVariable, toStandardForm
-
Constructor Details
-
FreshVariableImpl
Creates a fresh variable with the provided label.- Parameters:
label- the label
-
-
Method Details
-
hashCode
public int hashCode()//////////////////////////////////////////////- Overrides:
hashCodein classVariableImpl
-
equals
- Overrides:
equalsin classVariableImpl
-