Package net.sf.tweety.logics.dl.syntax
Class DlAxiom
- java.lang.Object
-
- net.sf.tweety.logics.dl.syntax.DlAxiom
-
- All Implemented Interfaces:
Formula,SimpleLogicalFormula
- Direct Known Subclasses:
AssertionalAxiom,EquivalenceAxiom
public abstract class DlAxiom extends java.lang.Object implements SimpleLogicalFormula
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 Constructor Description DlAxiom()
-
Method Summary
Modifier and Type Method Description abstract DlAxiomclone()Creates a deep copy of this formulajava.util.Set<? extends Atom>getAtoms()Processes the set of all atoms which appear in this formulajava.lang.Class<? extends Predicate>getPredicateCls()abstract java.util.Set<Predicate>getPredicates()Processes the set of all predicates which appear in this formulaabstract DlSignaturegetSignature()Returns the signature of the language of this formula.booleanisLiteral()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
equals, hashCode
-
-
-
-
Method Detail
-
getSignature
public abstract DlSignature 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
public java.util.Set<? extends Atom> 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
public abstract java.util.Set<Predicate> 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
public java.lang.Class<? extends Predicate> 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
public abstract DlAxiom clone()
Description copied from interface:SimpleLogicalFormulaCreates a deep copy of this formula- Specified by:
clonein interfaceSimpleLogicalFormula- Returns:
- the cloned formula
-
-