Class ExpandMCExample
java.lang.Object
org.tweetyproject.arg.bipolar.examples.ExpandMCExample
Demonstrates the use of various PEAF (Probabilistic Evidential Argumentation Framework)
inducers to compute and display argumentation frameworks and their associated probabilities.
This example constructs a PEAFTheory
with a set of arguments and support relationships,
prints the framework, and uses different inducers to process the framework and output the results.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ExpandMCExample
public ExpandMCExample()Default Constructor
-
-
Method Details
-
main
The entry point of the example program. Constructs aPEAFTheory
instance, adds arguments and support relationships, and utilizes two types of inducers to process the framework. It prints the framework and the results obtained from using theLiExactPEAFInducer
andExactPEAFInducer
.The following steps are performed in the main method:
- Create an instance of
PEAFTheory
. - Add four arguments to the framework.
- Define and add support relationships between the arguments with associated probabilities.
- Print the framework using
AbstractBipolarFramework.prettyPrint()
. - Create an instance of
LiExactPEAFInducer
and use it to induce and print the results along with the accumulated probability. - Reset the probability and repeat the induction process with
ExactPEAFInducer
, printing the results and the accumulated probability.
- Parameters:
args
- command-line arguments (not used in this example)
- Create an instance of
-