Class TikzWriter
java.lang.Object
org.tweetyproject.arg.dung.writer.AbstractDungWriter
org.tweetyproject.arg.dung.writer.TikzWriter
Writer for exporting an argumentation framework into LaTeX-code via the argumentation package.
- Author:
- Lars Bengel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwrite(DungTheory aaf) Writes an argumentation framework into a LaTeX-code string.write(DungTheory aaf, int width, int height) Writes an argumentation framework into a LaTeX-code string.voidwrite(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
-
TikzWriter
public TikzWriter()
-
-
Method Details
-
write
Description copied from class:AbstractDungWriterWrites the given file into an abstract argumentation framework- Specified by:
writein classAbstractDungWriter- Parameters:
aaf- an abstract argumentation frameworkf- the file that will be overwritten.- Throws:
IOException- for all errors concerning file reading/writing.
-
write
Writes an argumentation framework into a LaTeX-code string. The AF is shaped in a square grid- Parameters:
aaf- an argumentation framework- Returns:
- String with the LaTeX representation of the AF
-
write
Writes an argumentation framework into a LaTeX-code string. The AF is shaped in a grid with the given dimensions- Parameters:
aaf- an argumentation frameworkwidth- width of the AF-gridheight- height of the AF-grid- Returns:
- String with the LaTeX representation of the AF
-