Package net.sf.tweety.arg.bipolar.syntax
Class BinarySupport
- java.lang.Object
-
- net.sf.tweety.graphs.Edge<T>
-
- net.sf.tweety.graphs.DirectedEdge<BArgument>
-
- net.sf.tweety.arg.bipolar.syntax.BinarySupport
-
- All Implemented Interfaces:
BipolarEntity,Support,net.sf.tweety.arg.dung.syntax.DungEntity,net.sf.tweety.commons.Formula,net.sf.tweety.graphs.Node
public class BinarySupport extends net.sf.tweety.graphs.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(Object o)booleanequals(Object o)net.sf.tweety.arg.dung.ldo.syntax.LdoFormulagetLdoFormula()net.sf.tweety.commons.SignaturegetSignature()BArgumentgetSupported()returns the supported argument of this support relation.BArgumentgetSupporter()returns the supporting argument of this support relation.inthashCode()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 net.sf.tweety.commons.Signature getSignature()
- Specified by:
getSignaturein interfacenet.sf.tweety.commons.Formula
-
toString
public String toString()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classnet.sf.tweety.graphs.Edge<BArgument>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classnet.sf.tweety.graphs.Edge<BArgument>
-
getLdoFormula
public net.sf.tweety.arg.dung.ldo.syntax.LdoFormula getLdoFormula()
- Specified by:
getLdoFormulain interfacenet.sf.tweety.arg.dung.syntax.DungEntity
-
contains
public boolean contains(Object o)
- Specified by:
containsin interfaceBipolarEntity
-
-