Class MlExample
java.lang.Object
org.tweetyproject.logics.ml.examples.MlExample
Some examples for testing ModalParser and NaiveModalReasoner. Shows how to
construct a modal logic knowledge base programmatically and how to query it
using the naive reasoner.
- Author:
- Anna Gessler
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MlExample
public MlExample()
-
-
Method Details
-
main
Demonstrates the parsing and reasoning capabilities of the `MlParser` and `SimpleMlReasoner` classes.- Parameters:
args
- command-line arguments (not used in this example).- Throws:
ParserException
- if there is an error during parsing of the belief bases or formulas.IOException
- if there is an error reading from the files.
-