Class ExpandMCExample

java.lang.Object
org.tweetyproject.arg.bipolar.examples.ExpandMCExample

public class ExpandMCExample extends Object
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 Details

    • ExpandMCExample

      public ExpandMCExample()
      Default Constructor
  • Method Details

    • main

      public static void main(String[] args)
      The entry point of the example program. Constructs a PEAFTheory 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 the LiExactPEAFInducer and ExactPEAFInducer.

      The following steps are performed in the main method:

      1. Create an instance of PEAFTheory.
      2. Add four arguments to the framework.
      3. Define and add support relationships between the arguments with associated probabilities.
      4. Print the framework using AbstractBipolarFramework.prettyPrint().
      5. Create an instance of LiExactPEAFInducer and use it to induce and print the results along with the accumulated probability.
      6. 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)