Class BinarySupport
java.lang.Object
- All Implemented Interfaces:
Iterable<BArgument>,BipolarEntity,Support,DungEntity,Formula,Node
This class models a support between two arguments. It comprises of two attributes of
Argument and is used by
bipolar abstract argumentation theories.- Author:
- Lars Bengel
-
Constructor Summary
ConstructorsConstructorDescriptionBinarySupport(BArgument supporter, BArgument supported) Default constructor; initializes the two arguments used in this support relation -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this entity contains the specified object.booleandoubleReturns the conditional probability of the support.Returns 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 argument of this support relation.inthashCode()iterator()voidsetConditionality(double c) Sets the conditionality of the support, represented by a probability value.toString()Returns a string representation of the support relation.Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BinarySupport
-
-
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 argument of this support relation.- Specified by:
getSupporterin interfaceSupport- Returns:
- the supporting argument of this support relation.
-
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
Description copied from interface:SupportReturns a string representation of the support relation.This method provides a textual description of the support relation, including information about the supporter, the supported argument, and the conditional probability.
- Specified by:
toStringin interfaceSupport- Overrides:
toStringin classDirectedEdge<BArgument>- Returns:
- a string representation of the support relation
-
equals
-
hashCode
-
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
Description copied from interface:BipolarEntityChecks if this entity contains the specified object.- Specified by:
containsin interfaceBipolarEntity- Parameters:
o- the object to check for containment, typically aBArgument- Returns:
trueif the object is contained within this entity,falseotherwise
-
iterator
-
setConditionality
public void setConditionality(double c) Description copied from interface:SupportSets the conditionality of the support, represented by a probability value.The conditionality or strength of the support is represented by a conditional probability value, which reflects how strongly the supporter influences the supported argument.
- Specified by:
setConditionalityin interfaceSupport- Parameters:
c- the conditional probability of the support
-
getConditionalProbability
public double getConditionalProbability()Description copied from interface:SupportReturns the conditional probability of the support.This method retrieves the conditional probability associated with the support, indicating the strength of the support.
- Specified by:
getConditionalProbabilityin interfaceSupport- Returns:
- the conditional probability of the support
-