Class WeightedSetSupport
java.lang.Object
org.tweetyproject.graphs.GeneralEdge<BipolarEntity>
org.tweetyproject.graphs.Edge<BipolarEntity>
org.tweetyproject.graphs.DirectedEdge<BipolarEntity>
org.tweetyproject.arg.bipolar.syntax.SetSupport
org.tweetyproject.arg.bipolar.syntax.WeightedSetSupport
- All Implemented Interfaces:
Iterable<BArgument>,BipolarEntity,Support,DungEntity,Formula,Node
Represents a weighted support relationship between two argument sets.
This class extends the SetSupport class to include a weight parameter,
which quantifies the strength or significance of the support relationship.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWeightedSetSupport(ArgumentSet supporter, ArgumentSet supported, double cp) Constructs a newWeightedSetSupportinstance. -
Method Summary
Methods inherited from class org.tweetyproject.arg.bipolar.syntax.SetSupport
contains, contains, equals, getConditionalProbability, getLdoFormula, getSignature, getSupported, getSupporter, hashCode, iterator, setConditionality, toStringMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
cp
public double cpThe weight of the support relationship.
-
-
Constructor Details
-
WeightedSetSupport
Constructs a newWeightedSetSupportinstance.- Parameters:
supporter- The set of arguments providing support. This is the argument set that supports the other set.supported- The set of arguments being supported. This is the argument set that is being supported.cp- The weight of the support relationship, indicating the strength or significance of the support. This value should be a positive number, where a higher value represents a stronger support.
-