Class SerialisationAnalysisPlotter
java.lang.Object
org.tweetyproject.arg.dung.serialisability.util.SerialisationAnalysisPlotter
This class summarizes static methods used to plot serialisability analyses,
consisting of plotting the underlying argumentation framework and the serialisation graphs regarding the specified semantics.
- Version:
- TweetyProject 1.23
- Author:
- Julian Sander
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidplotAnalyses(HashMap<DungTheory, SerialisationGraph[]> mapAFtoGraphs, String title, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics.static voidplotAnalyses(Semantics[] semantics, DungTheory[] frameworks, String title, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics.static voidplotAnalyses(DungTheory framework, SerialisationGraph[] graphs, String title, int width, int height) Plots specified analyses of the serialising generation of extensions, each in a separate frame.static PlotterMultiFrameplotAnalysesOneFrame(HashMap<DungTheory, SerialisationGraph[]> mapAFtoGraphs, String title, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics.static PlotterMultiFrameplotAnalysesOneFrame(Semantics[] semantics, DungTheory[] frameworks, String[] titles, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics.
-
Constructor Details
-
SerialisationAnalysisPlotter
public SerialisationAnalysisPlotter()
-
-
Method Details
-
plotAnalyses
public static void plotAnalyses(DungTheory framework, SerialisationGraph[] graphs, String title, int width, int height) Plots specified analyses of the serialising generation of extensions, each in a separate frame.- Parameters:
framework- an argumentation frameworkgraphs- Graphs of the serialisation processtitle- Title, common to all specified serialisation graphs to plotwidth- Width of the new frames createdheight- Height of the new frames created
-
plotAnalyses
public static void plotAnalyses(HashMap<DungTheory, SerialisationGraph[]> mapAFtoGraphs, String title, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics. Creates one frame for every single framework and its graphs.- Parameters:
mapAFtoGraphs- Frameworks mapped to the associated serialisation graphs using different semanticstitle- Title, common to all specified analyses to plotwidth- Width of the new frames createdheight- Height of the new frames created
-
plotAnalyses
public static void plotAnalyses(Semantics[] semantics, DungTheory[] frameworks, String title, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics. Creates one frame for every single framework and its graphs.- Parameters:
semantics- Semantics of the extension createdframeworks- Frameworks, for which the extensions should be foundtitle- Title, common to all specified serialisation graphs to plotwidth- Width of the new frames createdheight- Height of the new frames created
-
plotAnalysesOneFrame
public static PlotterMultiFrame plotAnalysesOneFrame(HashMap<DungTheory, SerialisationGraph[]> mapAFtoGraphs, String title, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics. Creates one single frame for all frameworks and graphs.- Parameters:
mapAFtoGraphs- Frameworks mapped to the associated serialisation graphs using different semanticstitle- Title of the frameworkswidth- Width of the new frames createdheight- Height of the new frames created- Returns:
- Frame containing the plotted graphs
-
plotAnalysesOneFrame
public static PlotterMultiFrame plotAnalysesOneFrame(Semantics[] semantics, DungTheory[] frameworks, String[] titles, int width, int height) Plots specified frameworks and their associated serialisation graphs for the specified semantics. Creates one single frame for all frameworks and graphs.- Parameters:
semantics- Semantics of the extension createdframeworks- Frameworks, for which the extensions should be found.titles- Titles of the frameworkswidth- Width of the new frames created.height- Height of the new frames created.- Returns:
- Frame containing the plotted graphs
-