Class ComplexConcept
java.lang.Object
org.tweetyproject.logics.dl.syntax.ComplexConcept
- All Implemented Interfaces:
- Formula,- ClassicalFormula,- Conjunctable,- Disjunctable,- Invertable,- ProbabilityAware,- SimpleLogicalFormula
- Direct Known Subclasses:
- AssociativeDlFormula,- AtomicConcept,- AtomicRole,- BottomConcept,- Complement,- ExistentialRestriction,- TopConcept,- UniversalRestriction
The common abstract class for concepts (also called concepts, complex concepts or concept descriptions) 
 of description logics. 
 
Specifically, this library supports formulas of the description logic ALC (attributive concept language with complements). In an ALC language for a given signature, concepts are:
Specifically, this library supports formulas of the description logic ALC (attributive concept language with complements). In an ALC language for a given signature, concepts are:
- All atomic concepts of the signature
- The universal concept
- The bottom concept
-  Complex concept descriptions, which are built with the following constructors:
                - The intersection of two concept descriptions
- The union of two concept descriptions
- The complement of a concept description
- The universal restriction of a role by a concept description
- The existential restriction of a role by a concept description
 
- Author:
- Anna Gessler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract ComplexConceptclone()Creates a deep copy of this formulaabstract ComplexConceptThis method collapses all associative operations appearing in this term, e.g.Returns a conjunction of this and the given formula.abstract booleangetAtoms()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.abstract inthashCode()Methods inherited from class java.lang.ObjectgetClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tweetyproject.logics.commons.syntax.interfaces.SimpleLogicalFormulaisLiteral
- 
Constructor Details- 
ComplexConceptpublic ComplexConcept()
 
- 
- 
Method Details- 
complement- Specified by:
- complementin interface- Invertable
- Returns:
- the complement of this formula.
 
- 
combineWithOr- Specified by:
- combineWithOrin interface- Disjunctable
- Parameters:
- f- a formula to be combined with OR and this.
- Returns:
- a disjunction of this and the given formula.
 
- 
combineWithAndDescription copied from interface:ConjunctableReturns a conjunction of this and the given formula.- Specified by:
- combineWithAndin interface- Conjunctable
- Parameters:
- f- a formula to be combined with AND and this.
- Returns:
- a conjunction of this and the given formula.
 
- 
collapseAssociativeFormulasThis method collapses all associative operations appearing in this term, e.g. every a||(b||c) becomes a||b||c.- Returns:
- the collapsed formula.
 
- 
cloneCreates a deep copy of this formula- Specified by:
- clonein interface- SimpleLogicalFormula
- Returns:
- the cloned formula
 
- 
getAtomsDescription copied from interface:SimpleLogicalFormulaProcesses the set of all atoms which appear in this formula- Specified by:
- getAtomsin interface- SimpleLogicalFormula
- Returns:
- The set of all atoms
 
- 
getPredicateCls- Specified by:
- getPredicateClsin interface- SimpleLogicalFormula
- Returns:
- The class description of the predicate used by this formula.
 
- 
getUniformProbability- Specified by:
- getUniformProbabilityin interface- ProbabilityAware
- Returns:
- this formula's probability in the uniform distribution.
 
- 
getSignatureDescription copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
- getSignaturein interface- Formula
- Returns:
- the signature of the language of this formula.
 
- 
hashCodepublic abstract int hashCode()- Specified by:
- hashCodein interface- SimpleLogicalFormula
- Overrides:
- hashCodein class- Object
 
- 
equals- Specified by:
- equalsin interface- SimpleLogicalFormula
- Overrides:
- equalsin class- Object
 
- 
getPredicatesDescription copied from interface:SimpleLogicalFormulaProcesses the set of all predicates which appear in this formula- Specified by:
- getPredicatesin interface- SimpleLogicalFormula
- Returns:
- all predicates that appear in this formula
 
 
-