Class DlAxiom
java.lang.Object
org.tweetyproject.logics.dl.syntax.DlAxiom
- All Implemented Interfaces:
Formula,SimpleLogicalFormula
- Direct Known Subclasses:
AssertionalAxiom,EquivalenceAxiom
The common abstract class for axioms of the description logic ALC.
Belief bases in description logics consist of axioms.
- Author:
- Anna Gessler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract DlAxiomclone()Creates a deep copy of this formulagetAtoms()Processes the set of all atoms which appear in this formulaProcesses the set of all predicates which appear in this formulaabstract DlSignatureReturns the signature of the language of this formula.booleanMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tweetyproject.logics.commons.syntax.interfaces.SimpleLogicalFormula
equals, hashCode
-
Constructor Details
-
DlAxiom
public DlAxiom()Default
-
-
Method Details
-
getSignature
Description copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
getSignaturein interfaceFormula- Returns:
- the signature of the language of this formula.
-
getAtoms
Description copied from interface:SimpleLogicalFormulaProcesses the set of all atoms which appear in this formula- Specified by:
getAtomsin interfaceSimpleLogicalFormula- Returns:
- The set of all atoms
-
getPredicates
Description copied from interface:SimpleLogicalFormulaProcesses the set of all predicates which appear in this formula- Specified by:
getPredicatesin interfaceSimpleLogicalFormula- Returns:
- all predicates that appear in this formula
-
getPredicateCls
- Specified by:
getPredicateClsin interfaceSimpleLogicalFormula- Returns:
- The class description of the predicate used by this formula.
-
isLiteral
public boolean isLiteral()- Specified by:
isLiteralin interfaceSimpleLogicalFormula- Returns:
- true if the formula represents a literal in the language or false otherwise
-
clone
Description copied from interface:SimpleLogicalFormulaCreates a deep copy of this formula- Specified by:
clonein interfaceSimpleLogicalFormula- Returns:
- the cloned formula
-