Class PEEAFTheory.Support
java.lang.Object
org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Element
org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Support
- Enclosing class:
PEEAFTheory
Support is a class, that is used for PEEAFTheory
The difference between support links of PEAFTheory and EAFTheory is that, each link has many-to-one relationship with some result.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFrom
(PEEAFTheory.Argument from) Adds the argument into the set of arguments that originates the supportgetFroms()
Return the set of arguments that originates the supportdouble
getTo()
Return the argument that is targetedvoid
Set the argument that the support link targetstoString()
Returns Argument as a string (good for debugging)Methods inherited from class org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Element
getIdentifier
-
Method Details
-
addFrom
Adds the argument into the set of arguments that originates the support- Parameters:
from
- the argument that originates the support
-
getFroms
Return the set of arguments that originates the support- Returns:
- the set of the arguments
-
getTo
Return the argument that is targeted- Returns:
- the argument that is targeted
-
setTo
Set the argument that the support link targets- Parameters:
to
- the argument that is targeted
-
toString
-
getProbability
public double getProbability()- Returns:
- the result assigned to the support link
-