Package net.sf.tweety.logics.dl.syntax
Class BottomConcept
- java.lang.Object
-
- net.sf.tweety.logics.dl.syntax.ComplexConcept
-
- net.sf.tweety.logics.dl.syntax.BottomConcept
-
- All Implemented Interfaces:
net.sf.tweety.commons.Formula,net.sf.tweety.logics.commons.syntax.interfaces.ClassicalFormula,net.sf.tweety.logics.commons.syntax.interfaces.Conjunctable,net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable,net.sf.tweety.logics.commons.syntax.interfaces.Invertable,net.sf.tweety.logics.commons.syntax.interfaces.ProbabilityAware,net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
public class BottomConcept extends ComplexConcept
This class models the bottom concept (empty concept) in description logics. No individual of the domain is an instance of the bottom concept.- Author:
- Anna Gessler
-
-
Constructor Summary
Constructors Constructor Description BottomConcept()Creates a new BottomConcept.
-
Method Summary
Modifier and Type Method Description BottomConceptclone()Creates a deep copy of this formulaComplexConceptcollapseAssociativeFormulas()This method collapses all associative operations appearing in this term, e.g.booleanequals(Object obj)Set<net.sf.tweety.logics.commons.syntax.Predicate>getPredicates()DlSignaturegetSignature()inthashCode()booleanisLiteral()StringtoString()-
Methods inherited from class net.sf.tweety.logics.dl.syntax.ComplexConcept
combineWithAnd, combineWithOr, complement, getAtoms, getPredicateCls, getUniformProbability
-
-
-
-
Method Detail
-
collapseAssociativeFormulas
public ComplexConcept collapseAssociativeFormulas()
Description copied from class:ComplexConceptThis method collapses all associative operations appearing in this term, e.g. every a||(b||c) becomes a||b||c.- Specified by:
collapseAssociativeFormulasin classComplexConcept- Returns:
- the collapsed formula.
-
getPredicates
public Set<net.sf.tweety.logics.commons.syntax.Predicate> getPredicates()
- Specified by:
getPredicatesin interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula- Specified by:
getPredicatesin classComplexConcept
-
clone
public BottomConcept clone()
Description copied from class:ComplexConceptCreates a deep copy of this formula- Specified by:
clonein interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula- Specified by:
clonein classComplexConcept
-
isLiteral
public boolean isLiteral()
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula- Specified by:
equalsin classComplexConcept
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula- Specified by:
hashCodein classComplexConcept
-
getSignature
public DlSignature getSignature()
- Specified by:
getSignaturein interfacenet.sf.tweety.commons.Formula- Specified by:
getSignaturein classComplexConcept
-
-