Package org.tweetyproject.arg.adf.cli
Class CommandLineInterface
java.lang.Object
org.tweetyproject.arg.adf.cli.CommandLineInterface
This class provides a command-line interface for working with Abstract Dialectical Frameworks (ADFs).
It allows users to specify an ADF instance via a file and apply different reasoning semantics to it.
The program then prints out the interpretations based on the specified reasoning semantics.
Supported semantics include:
- mod: Model semantics
- nai: Naive semantics
- adm: Admissible semantics
- com: Complete semantics
Usage: java -jar jadf.jar <file> <sem>
<file>
: Input filename for the ADF instance
<sem>
: ADF semantics. Options: mod | nai | adm | com
Example: java -jar jadf.jar myADFInstance.txt mod
- Author:
- Mathias Hofer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CommandLineInterface
public CommandLineInterface()
-
-
Method Details
-
main
The main method serves as the entry point for the command-line interface. It takes two arguments:<file>
- The input file containing the ADF instance<sem>
- The ADF semantics to apply (e.g., mod, nai, adm, com)
- Parameters:
args
- Command-line arguments: the input file and the semantics type.
-