Package net.sf.tweety.arg.bipolar.syntax
Class Support
- java.lang.Object
-
- net.sf.tweety.graphs.Edge<T>
-
- net.sf.tweety.graphs.DirectedEdge<Argument>
-
- net.sf.tweety.arg.bipolar.syntax.Support
-
- All Implemented Interfaces:
DungEntity,Formula
public class Support extends DirectedEdge<Argument> implements DungEntity
This class models a support between two arguments. It comprises of two attributes ofArgumentand is used by bipolar abstract argumentation theories.- Author:
- Lars Bengel
-
-
Method Summary
Modifier and Type Method Description booleancontains(Argument argument)Return true if the given argument is in this support relation.booleanequals(java.lang.Object o)LdoFormulagetLdoFormula()Returns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf.SignaturegetSignature()Returns the signature of the language of this formula.ArgumentgetSupported()returns the supported argument of this support relation.ArgumentgetSupporter()returns the supporting argument of this support relation.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getSupported
public Argument getSupported()
returns the supported argument of this support relation.- Returns:
- the supported argument of this support relation.
-
getSupporter
public Argument getSupporter()
returns the supporting argument of this support relation.- Returns:
- the supporting argument of this support relation.
-
contains
public boolean contains(Argument argument)
Return true if the given argument is in this support relation.- Parameters:
argument- some argument- Returns:
- true if the given argument is in this support relation.
-
getSignature
public Signature getSignature()
Description copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
getSignaturein interfaceFormula- Returns:
- the signature of the language of this formula.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDirectedEdge<Argument>
-
getLdoFormula
public LdoFormula getLdoFormula()
Description copied from interface:DungEntityReturns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])- Specified by:
getLdoFormulain interfaceDungEntity- Returns:
- the logical formula of this entity.
-
-