Class EasyPEAFExample
java.lang.Object
org.tweetyproject.arg.bipolar.examples.EasyPEAFExample
Provides an example of constructing a Probabilistic Argumentation Framework (PEAFTheory), adding support relationships,
and inducing extensions using a specific inducer.
This example demonstrates the creation of a PEAFTheory instance with two arguments, setting up support relationships
with specified probabilities, and then inducing extensions of the framework using the LiExactPEAFInducer
.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
EasyPEAFExample
public EasyPEAFExample()Default Constructor
-
-
Method Details
-
main
The entry point of the example program. Constructs aPEAFTheory
instance, adds arguments, defines support relationships with associated probabilities, prints the framework, and induces extensions using theLiExactPEAFInducer
.The following steps are performed in the main method:
- Create an instance of
PEAFTheory
. - Add two arguments to the framework.
- Define support relationships between the arguments with specified probabilities.
- Print the framework in a human-readable format using
AbstractBipolarFramework.prettyPrint()
. - Induce extensions of the framework using
LiExactPEAFInducer
and print each induced extension.
- Parameters:
args
- command-line arguments (not used in this example)
- Create an instance of
-