Class BinarySupport
- java.lang.Object
-
- org.tweetyproject.graphs.Edge<T>
-
- org.tweetyproject.graphs.DirectedEdge<BArgument>
-
- org.tweetyproject.arg.bipolar.syntax.BinarySupport
-
- All Implemented Interfaces:
BipolarEntity,Support,DungEntity,Formula,Node
public class BinarySupport extends DirectedEdge<BArgument> implements Support
This class models a support between two arguments. It comprises of two attributes ofArgumentand is used by bipolar abstract argumentation theories.- Author:
- Lars Bengel
-
-
Constructor Summary
Constructors Constructor Description BinarySupport(BArgument supporter, BArgument supported)Default constructor; initializes the two arguments used in this support relation
-
Method Summary
Modifier and Type Method Description booleancontains(java.lang.Object o)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.BArgumentgetSupported()returns the supported argument of this support relation.BArgumentgetSupporter()returns the supporting argument of this support relation.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getSupported
public BArgument getSupported()
returns the supported argument of this support relation.- Specified by:
getSupportedin interfaceSupport- Returns:
- the supported argument of this support relation.
-
getSupporter
public BArgument getSupporter()
returns the supporting argument of this support relation.- Specified by:
getSupporterin interfaceSupport- Returns:
- the supporting argument of 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()
- Specified by:
toStringin interfaceSupport- Overrides:
toStringin classDirectedEdge<BArgument>
-
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.
-
contains
public boolean contains(java.lang.Object o)
- Specified by:
containsin interfaceBipolarEntity
-
-