Class LogicStructure
java.lang.Object
org.tweetyproject.logics.fol.syntax.LogicStructure
This abstract class captures the common functionalities of both
formulas and terms.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether this structure contains any functional terms.Return all constants that appear in this structure.abstract Set
<FunctionalTerm> Return all functional terms that appear in this structure.Return all functors that appear in this structure.Return all variables that appear in this structure.abstract String
toString()
-
Constructor Details
-
LogicStructure
public LogicStructure()Constructor
-
-
Method Details
-
getConstants
-
getFunctors
-
getVariables
-
getFunctionalTerms
Return all functional terms that appear in this structure.- Returns:
- all functional terms that appear in this structure.
-
containsFunctionalTerms
public boolean containsFunctionalTerms()Checks whether this structure contains any functional terms.- Returns:
- "true" if this structure contains a functional term.
-
toString
-