Class DungTheoryPlotterExample
java.lang.Object
org.tweetyproject.arg.dung.examples.DungTheoryPlotterExample
This class summarizes some examples, showcasing the usage of the
DungTheoryPlotter
to visualize argumentation frameworks
, also called DungTheory
.- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DungTheory
example1()
Generates the first example of an argumentation framework.static DungTheory
example2()
Generates the second example of an argumentation framework.static DungTheory
example3()
Generates the third example of an argumentation framework.static void
Main method to visualize the examples of Dung theories created in this class.
-
Constructor Details
-
DungTheoryPlotterExample
public DungTheoryPlotterExample()
-
-
Method Details
-
example1
Generates the first example of an argumentation framework. This framework includes four arguments and several attacks forming a simple directed graph.- Returns:
- DungTheory representing the argumentation framework of example 1.
-
example2
Generates the second example of an argumentation framework. This framework forms a cycle with three arguments, illustrating cyclic attack relations.- Returns:
- DungTheory representing the argumentation framework of example 2.
-
example3
Generates the third example of an argumentation framework. This framework includes more complex interactions among six arguments, featuring self-attacks and bi-directional attacks.- Returns:
- DungTheory representing the argumentation framework of example 3.
-
main
Main method to visualize the examples of Dung theories created in this class. It collects all examples into a set and visualizes them together using the DungTheoryPlotter.- Parameters:
args
- Command-line arguments, not used in this example.
-