Class GraphPlotterExample

java.lang.Object
org.tweetyproject.arg.dung.examples.GraphPlotterExample

public class GraphPlotterExample extends Object
Example usage of the AigGraphPlotter for Dung theories.

It renders a sample argumentation framework in a browser window.

Author:
Lars Bengel
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new graph plotter example.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Entry point of the program demonstrating the visualization of an argumentation framework using the AigGraphPlotter.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GraphPlotterExample

      public GraphPlotterExample()
      Creates a new graph plotter example.
  • Method Details

    • main

      public static void main(String[] args) throws URISyntaxException, IOException
      Entry point of the program demonstrating the visualization of an argumentation framework using the AigGraphPlotter.

      This method generates a random Dung argumentation framework with a specified number of arguments and a given attack probability. The framework is then visualized using the AigGraphPlotter.

      Parameters:
      args - Command-line arguments (not used in this application).
      Throws:
      URISyntaxException - if a URI error occurs while loading resources.
      IOException - if an I/O error occurs during resource handling.