Package net.sf.tweety.arg.bipolar.syntax
Class Support
- java.lang.Object
-
- net.sf.tweety.graphs.Edge<T>
-
- net.sf.tweety.graphs.DirectedEdge<net.sf.tweety.arg.dung.syntax.Argument>
-
- net.sf.tweety.arg.bipolar.syntax.Support
-
- All Implemented Interfaces:
net.sf.tweety.arg.dung.syntax.DungEntity,net.sf.tweety.commons.Formula
public class Support extends net.sf.tweety.graphs.DirectedEdge<net.sf.tweety.arg.dung.syntax.Argument> implements net.sf.tweety.arg.dung.syntax.DungEntityThis 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 Support(net.sf.tweety.arg.dung.syntax.Argument supporter, net.sf.tweety.arg.dung.syntax.Argument supported)Default constructor; initializes the two arguments used in this support relation
-
Method Summary
Modifier and Type Method Description booleancontains(net.sf.tweety.arg.dung.syntax.Argument argument)Return true if the given argument is in this support relation.booleanequals(Object o)net.sf.tweety.arg.dung.ldo.syntax.LdoFormulagetLdoFormula()net.sf.tweety.commons.SignaturegetSignature()net.sf.tweety.arg.dung.syntax.ArgumentgetSupported()returns the supported argument of this support relation.net.sf.tweety.arg.dung.syntax.ArgumentgetSupporter()returns the supporting argument of this support relation.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
Support
public Support(net.sf.tweety.arg.dung.syntax.Argument supporter, net.sf.tweety.arg.dung.syntax.Argument supported)Default constructor; initializes the two arguments used in this support relation- Parameters:
supporter- the supporting argumentsupported- the supported argument
-
-
Method Detail
-
getSupported
public net.sf.tweety.arg.dung.syntax.Argument getSupported()
returns the supported argument of this support relation.- Returns:
- the supported argument of this support relation.
-
getSupporter
public net.sf.tweety.arg.dung.syntax.Argument getSupporter()
returns the supporting argument of this support relation.- Returns:
- the supporting argument of this support relation.
-
contains
public boolean contains(net.sf.tweety.arg.dung.syntax.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 net.sf.tweety.commons.Signature getSignature()
- Specified by:
getSignaturein interfacenet.sf.tweety.commons.Formula
-
toString
public String toString()
- Overrides:
toStringin classnet.sf.tweety.graphs.DirectedEdge<net.sf.tweety.arg.dung.syntax.Argument>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classnet.sf.tweety.graphs.Edge<net.sf.tweety.arg.dung.syntax.Argument>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classnet.sf.tweety.graphs.Edge<net.sf.tweety.arg.dung.syntax.Argument>
-
getLdoFormula
public net.sf.tweety.arg.dung.ldo.syntax.LdoFormula getLdoFormula()
- Specified by:
getLdoFormulain interfacenet.sf.tweety.arg.dung.syntax.DungEntity
-
-