Class DeductiveExample
java.lang.Object
org.tweetyproject.arg.deductive.examples.DeductiveExample
Shows how to construct and query a deductive knowledge base.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DeductiveExample
public DeductiveExample()Default Constructor
-
-
Method Details
-
main
This class demonstrates the use of a deductive knowledge base in combination with a SAT solver to perform reasoning using propositional logic formulas. The program adds several logical formulas to the knowledge base, uses a deductive reasoning engine, and queries the knowledge base for a specific formula's truth value.- Parameters:
args
- Command-line arguments (not used in this example).- Throws:
ParserException
- If there is an error in parsing the logical formulas.IOException
- If there is an I/O error while processing.
-