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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether this structure contains any functional terms.abstract Set<FunctionalTerm>
abstract String
toString()
-
Constructor Details
-
LogicStructure
public LogicStructure()
-
-
Method Details
-
getConstants
- Returns:
- all constants that appear in this structure.
-
getFunctors
- Returns:
- all functors that appear in this structure.
-
getVariables
- Returns:
- all variables that appear in this structure.
-
getFunctionalTerms
- 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
-