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
-
Method Summary
Modifier and TypeMethodDescriptionabstract DlAxiom
clone()
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 DlSignature
Returns the signature of the language of this formula.boolean
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:Formula
Returns the signature of the language of this formula.- Specified by:
getSignature
in interfaceFormula
- Returns:
- the signature of the language of this formula.
-
getAtoms
Description copied from interface:SimpleLogicalFormula
Processes the set of all atoms which appear in this formula- Specified by:
getAtoms
in interfaceSimpleLogicalFormula
- Returns:
- The set of all atoms
-
getPredicates
Description copied from interface:SimpleLogicalFormula
Processes the set of all predicates which appear in this formula- Specified by:
getPredicates
in interfaceSimpleLogicalFormula
- Returns:
- all predicates that appear in this formula
-
getPredicateCls
- Specified by:
getPredicateCls
in interfaceSimpleLogicalFormula
- Returns:
- The class description of the predicate used by this formula.
-
isLiteral
public boolean isLiteral()- Specified by:
isLiteral
in interfaceSimpleLogicalFormula
- Returns:
- true if the formula represents a literal in the language or false otherwise
-
clone
Description copied from interface:SimpleLogicalFormula
Creates a deep copy of this formula- Specified by:
clone
in interfaceSimpleLogicalFormula
- Returns:
- the cloned formula
-