Class Constant
java.lang.Object
org.tweetyproject.logics.commons.syntax.TermAdapter<String>
org.tweetyproject.logics.commons.syntax.StringTerm
org.tweetyproject.logics.commons.syntax.Constant
- All Implemented Interfaces:
LogicStructure
,Term<String>
- Direct Known Subclasses:
Individual
A Constant represents an constant object in the world of
a logical language. It is implemented as a specialized StringTerm.
- Author:
- Tim Janus
-
Constructor Summary
-
Method Summary
Methods inherited from class org.tweetyproject.logics.commons.syntax.StringTerm
get, toString
Methods inherited from class org.tweetyproject.logics.commons.syntax.TermAdapter
containsTermsOfType, equals, getSort, getTerms, getTerms, hashCode, substitute
-
Constructor Details
-
Constant
Ctor: Creates a new Constant with the given name, uses "Thing" as sort.- Parameters:
name
- The name of the Constant
-
Constant
-
Constant
Copy-Ctor: Creates a deep copy of the given Constant- Parameters:
other
- The Constant that acts as source for the copy
-
-
Method Details
-
set
-
clone
-