Class DeLPExample
java.lang.Object
org.tweetyproject.arg.delp.examples.DeLPExample
Shows how to parse and query a DeLP program.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DeLPExample
public DeLPExample()Default Constructor
-
-
Method Details
-
main
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.
-