Class Union

  • All Implemented Interfaces:
    Iterable<ComplexConcept>, Collection<ComplexConcept>, List<ComplexConcept>, net.sf.tweety.commons.Formula, net.sf.tweety.logics.commons.syntax.AssociativeFormulaSupport.AssociativeSupportBridge, net.sf.tweety.logics.commons.syntax.interfaces.AssociativeFormula<ComplexConcept>, 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 Union
    extends AssociativeDlFormula
    This class models an union in description logics. This can be translated to a disjunction in first-order logic.
    Author:
    Anna Gessler
    • Constructor Detail

      • Union

        public Union​(Collection<? extends ComplexConcept> formulas)
        Creates a new union with the given inner formulas.
        Parameters:
        formulas - a collection of formulas.
      • Union

        public Union()
        Creates a new (empty) union.true
      • Union

        public Union​(ComplexConcept first,
                     ComplexConcept second)
        Creates a new union with the two given formulae
        Parameters:
        first - a relational formula.
        second - a relational formula.
      • Union

        public Union​(ComplexConcept formula)
        Create a new union with the given formula.
        Parameters:
        formula - a DlFormula
    • Method Detail

      • getOperatorSymbol

        public String getOperatorSymbol()
      • getEmptySymbol

        public String getEmptySymbol()
      • clone

        public ComplexConcept clone()
        Description copied from class: ComplexConcept
        Creates a deep copy of this formula
        Specified by:
        clone in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
        Specified by:
        clone in class ComplexConcept
      • createEmptyFormula

        public Union createEmptyFormula()