Class SetAfTheoryTest
java.lang.Object
org.tweetyproject.arg.setaf.examples.SetAfTheoryTest
Examples of SetAf Theories and their semantics
- Author:
- Sebastian Franke
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SetAfTheoryTest
public SetAfTheoryTest()Default
-
-
Method Details
-
main
Demonstrates the construction and reasoning within a SetAf (Set Attack Framework) argumentation framework. The method performs the following steps: 1. Constructs a SetAf with four arguments (a, b, c, d). 2. Defines two set attacks: - One attack from the set {b, d} to argument a. - One attack from the set {c, a} to argument c. 3. Prints the SetAf structure. 4. Applies various reasoning methods (grounded, admissible, and preferred semantics) to the SetAf: - The grounded model is computed usingSimpleGroundedSetAfReasoner
. - The admissible models are computed usingSimpleAdmissibleSetAfReasoner
. - The preferred models are computed usingSimplePreferredSetAfReasoner
. 5. Prints the results of the reasoning under each semantic. This example illustrates how to define a Set Attack Framework and perform reasoning to compute extensions.- Parameters:
args
- Command-line arguments (not used in this example).
-