Package edu.tufts.hrilab.fol
Class Constant
java.lang.Object
edu.tufts.hrilab.fol.Symbol
edu.tufts.hrilab.fol.Constant
- All Implemented Interfaces:
Serializable
,Cloneable
Representation of constant logical form.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.tufts.hrilab.fol.Symbol
getName, getType, hasArgs, hasType, isPredicate, isTerm, isVariable, setName, toString, toUnnegatedForm, toUntypedString
-
Constructor Details
-
Constant
-
Constant
-
Constant
-
Constant
-
-
Method Details
-
getValue
-
clone
-
equalsIgnoreType
Compare without checking semantic type information.- Overrides:
equalsIgnoreType
in classSymbol
- Parameters:
o
-- Returns:
-
equals
-
hashCode
public int hashCode() -
isConstant
public boolean isConstant()- Overrides:
isConstant
in classSymbol
-