Class LdoFormula
java.lang.Object
org.tweetyproject.arg.dung.ldo.syntax.LdoFormula
- All Implemented Interfaces:
- Formula,- ClassicalFormula,- Conjunctable,- Disjunctable,- Invertable,- ProbabilityAware,- SimpleLogicalFormula
- Direct Known Subclasses:
- AbstractLdoModality,- LdoArgument,- LdoAssociativeFormula,- LdoNegation,- LdoRelation
This abstract class specifies the general methods of all Ldo-formulas
 (LDO - Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])
- Author:
- Matthias Thimm
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract LdoFormulaclone()Creates a deep copy of this formulaReturns a conjunction of this and the given formula.abstract booleanabstract Set<LdoArgument>getAtoms()Processes the set of all atoms which appear in this formulagetDividers(DungTheory theory, Semantics semantics) Returns the dividers for this formula, i.e.abstract Set<LdoFormula>Returns all literals, i.e.abstract Set<PlPredicate>Processes the set of all predicates which appear in this formulaReturns the signature of the language of this formula.abstract inthashCode()boolean
- 
Constructor Details- 
LdoFormulapublic LdoFormula()
 
- 
- 
Method Details- 
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
 
- 
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.
 
- 
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.
 
- 
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
 
- 
getLiteralsReturns all literals, i.e. all formulas of the form "a" or "!a" where "a" is a proposition, that appear in this formula.- Returns:
- all literals appearing in this formula.
 
- 
getDividersReturns the dividers for this formula, i.e. all sub-theories of the given theory such that this formula is satisfied by this sub-theory.- Parameters:
- theory- some argumentation framework
- semantics- some semantics
- Returns:
- the set of dividers of this formula
 
- 
getUniformProbability- Specified by:
- getUniformProbabilityin interface- ProbabilityAware
- Returns:
- this formula's probability in the uniform distribution.
 
- 
complement- Specified by:
- complementin interface- Invertable
- Returns:
- the complement of this formula.
 
- 
isLiteralpublic boolean isLiteral()- Specified by:
- isLiteralin interface- SimpleLogicalFormula
- Returns:
- true if the formula represents a literal in the language or false otherwise
 
- 
getPredicateCls- Specified by:
- getPredicateClsin interface- SimpleLogicalFormula
- Returns:
- The class description of the predicate used by this formula.
 
- 
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.
 
- 
equals- Specified by:
- equalsin interface- SimpleLogicalFormula
- Overrides:
- equalsin class- Object
 
- 
hashCodepublic abstract int hashCode()- Specified by:
- hashCodein interface- SimpleLogicalFormula
- Overrides:
- hashCodein class- Object
 
- 
cloneDescription copied from interface:SimpleLogicalFormulaCreates a deep copy of this formula- Specified by:
- clonein interface- SimpleLogicalFormula
- Returns:
- the cloned formula
 
 
-