Class LdoFormula
- java.lang.Object
-
- net.sf.tweety.arg.dung.ldo.syntax.LdoFormula
-
- 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
- Direct Known Subclasses:
AbstractLdoModality,LdoArgument,LdoAssociativeFormula,LdoNegation,LdoRelation
public abstract class LdoFormula extends Object implements net.sf.tweety.logics.commons.syntax.interfaces.ClassicalFormula
This abstract class specifies the general methods of all Ldo-formulas (LDO - Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description LdoFormula()
-
Method Summary
Modifier and Type Method Description abstract LdoFormulaclone()LdoConjunctioncombineWithAnd(net.sf.tweety.logics.commons.syntax.interfaces.Conjunctable f)LdoDisjunctioncombineWithOr(net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable f)net.sf.tweety.logics.commons.syntax.interfaces.ClassicalFormulacomplement()abstract booleanequals(Object other)abstract Set<LdoArgument>getAtoms()Collection<DungTheory>getDividers(DungTheory theory, Semantics semantics)Returns the dividers for this formula, i.e.abstract Set<LdoFormula>getLiterals()Returns all literals, i.e.Class<net.sf.tweety.logics.pl.syntax.PlPredicate>getPredicateCls()abstract Set<net.sf.tweety.logics.pl.syntax.PlPredicate>getPredicates()DungSignaturegetSignature()net.sf.tweety.math.probability.ProbabilitygetUniformProbability()abstract inthashCode()booleanisLiteral()
-
-
-
Method Detail
-
getAtoms
public abstract Set<LdoArgument> getAtoms()
- Specified by:
getAtomsin interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
-
combineWithAnd
public LdoConjunction combineWithAnd(net.sf.tweety.logics.commons.syntax.interfaces.Conjunctable f)
- Specified by:
combineWithAndin interfacenet.sf.tweety.logics.commons.syntax.interfaces.Conjunctable
-
combineWithOr
public LdoDisjunction combineWithOr(net.sf.tweety.logics.commons.syntax.interfaces.Disjunctable f)
- Specified by:
combineWithOrin interfacenet.sf.tweety.logics.commons.syntax.interfaces.Disjunctable
-
getPredicates
public abstract Set<net.sf.tweety.logics.pl.syntax.PlPredicate> getPredicates()
- Specified by:
getPredicatesin interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
-
getLiterals
public abstract Set<LdoFormula> getLiterals()
Returns 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.
-
getDividers
public Collection<DungTheory> getDividers(DungTheory theory, Semantics semantics)
Returns 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 frameworksemantics- some semantics- Returns:
- the set of dividers of this formula
-
getUniformProbability
public net.sf.tweety.math.probability.Probability getUniformProbability()
- Specified by:
getUniformProbabilityin interfacenet.sf.tweety.logics.commons.syntax.interfaces.ProbabilityAware
-
complement
public net.sf.tweety.logics.commons.syntax.interfaces.ClassicalFormula complement()
- Specified by:
complementin interfacenet.sf.tweety.logics.commons.syntax.interfaces.Invertable
-
isLiteral
public boolean isLiteral()
- Specified by:
isLiteralin interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
-
getPredicateCls
public Class<net.sf.tweety.logics.pl.syntax.PlPredicate> getPredicateCls()
- Specified by:
getPredicateClsin interfacenet.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
-
getSignature
public DungSignature getSignature()
- Specified by:
getSignaturein interfacenet.sf.tweety.commons.Formula
-
equals
public abstract boolean equals(Object other)
-
hashCode
public abstract int hashCode()
-
clone
public abstract LdoFormula clone()
-
-