Class MlExample2
java.lang.Object
org.tweetyproject.logics.ml.examples.MlExample2
More examples for testing ModalParser and ModalReasoner. Shows how to
construct a modal logic knowledge base programmatically and how to query it
using the SPASS reasoner.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MlExample2
public MlExample2()Default Constructor
-
-
Method Details
-
main
Demonstrates the creation and reasoning over a modal logic belief set using the `MlParser` and `AbstractMlReasoner` classes.- Parameters:
args
- command-line arguments (not used in this example).- Throws:
ParserException
- if there is an error during parsing of the formulas.IOException
- if there is an error accessing resources (e.g., the SPASS reasoner).
-