Class SetSupport
java.lang.Object
org.tweetyproject.graphs.GeneralEdge<T>
org.tweetyproject.graphs.Edge<T>
org.tweetyproject.graphs.DirectedEdge<BipolarEntity>
org.tweetyproject.arg.bipolar.syntax.SetSupport
- All Implemented Interfaces:
BipolarEntity,Support,DungEntity,Formula,Node
This class models a support between a set of arguments and an argument. It comprises of a set of
BArgument and is used by
bipolar abstract argumentation theories.- Author:
- Lars Bengel
-
Constructor Summary
ConstructorsConstructorDescriptionSetSupport(Collection<BArgument> supporter, BArgument supported) initializes the arguments used in this support relationSetSupport(ArgumentSet supporter, BArgument supported) Default constructor; initializes the arguments used in this support relationSetSupport(BArgument supporter, BArgument supported) initializes the arguments used in this support relation -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanReturn true if the given argument is in this support relation.booleanReturns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf.Returns the signature of the language of this formula.returns the supported argument of this support relation.returns the supporting set of arguments of this support relation.inthashCode()toString()
-
Constructor Details
-
SetSupport
Default constructor; initializes the arguments used in this support relation- Parameters:
supporter- the supporting set of argumentssupported- the supported argument
-
SetSupport
initializes the arguments used in this support relation- Parameters:
supporter- a collection of argumentssupported- some argument
-
SetSupport
initializes the arguments used in this support relation- Parameters:
supporter- the supporting argumentsupported- the supported argument
-
-
Method Details
-
getSupported
returns the supported argument of this support relation.- Specified by:
getSupportedin interfaceSupport- Returns:
- the supported argument of this support relation.
-
getSupporter
returns the supporting set of arguments of this support relation.- Specified by:
getSupporterin interfaceSupport- Returns:
- the supporting set of arguments of this support relation.
-
contains
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.
-
toString
- Specified by:
toStringin interfaceSupport- Overrides:
toStringin classDirectedEdge<BipolarEntity>
-
equals
- Overrides:
equalsin classEdge<BipolarEntity>
-
hashCode
public int hashCode()- Overrides:
hashCodein classEdge<BipolarEntity>
-
contains
- Specified by:
containsin interfaceBipolarEntity
-
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.
-
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.
-