Class Iccma23Writer
java.lang.Object
org.tweetyproject.arg.dung.writer.AbstractDungWriter
org.tweetyproject.arg.dung.writer.Iccma23Writer
Writes an abstract argumentation framework into a file of the
ICCMA23 format, see https://iccma2023.github.io/rules.html#input-format.
NOTE: this format is a slight variation of the CNF format (see CnfWriter)
NOTE: this format is a slight variation of the CNF format (see CnfWriter)
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArgument
(int i) Returns the argument mapped to the given integer wrt.int
getArgumentId
(Argument arg) Returns the mapping of the given argument wrt.void
write
(DungTheory aaf, File f) Writes the given file into an abstract argumentation frameworkMethods inherited from class org.tweetyproject.arg.dung.writer.AbstractDungWriter
getWriter, writeArguments, writeLabeling
-
Constructor Details
-
Iccma23Writer
public Iccma23Writer()
-
-
Method Details
-
write
Description copied from class:AbstractDungWriter
Writes the given file into an abstract argumentation framework- Specified by:
write
in classAbstractDungWriter
- Parameters:
aaf
- an abstract argumentation frameworkf
- the file that will be overwritten.- Throws:
IOException
- for all errors concerning file reading/writing.
-
getArgumentId
Returns the mapping of the given argument wrt. the last written file.- Parameters:
arg
- some argument- Returns:
- the argument id
-
getArgument
Returns the argument mapped to the given integer wrt. the last written file- Parameters:
i
- some index- Returns:
- the argument
-