Class DeLPExample

java.lang.Object
org.tweetyproject.arg.delp.examples.DeLPExample

public class DeLPExample extends Object
Shows how to parse and query a DeLP program.
Author:
Matthias Thimm
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The entry point of the application that parses a defeasible logic program from a file, creates a reasoner with a specific criterion, and performs queries on the logic program.

    Methods inherited from class java.lang.Object

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

    • DeLPExample

      public DeLPExample()
      Default Constructor
  • Method Details

    • main

      public static void main(String[] args) throws FileNotFoundException, ParserException, IOException
      The entry point of the application that parses a defeasible logic program from a file, creates a reasoner with a specific criterion, and performs queries on the logic program.
      Parameters:
      args - Command-line arguments (not used in this example).
      Throws:
      FileNotFoundException - If the specified file cannot be found.
      ParserException - If there is an error while parsing the belief base or formula.
      IOException - If an I/O error occurs while reading the file.