org.argkit.dung.swing
Class JungJustificationWriter<C>
java.lang.Object
org.argkit.dung.swing.JungDungEngineWriter<C>
org.argkit.dung.swing.JungJustificationWriter<C>
- Type Parameters:
C - (Argument's) claim class
- All Implemented Interfaces:
- ReasonerWriter<C>
public class JungJustificationWriter<C>
- extends JungDungEngineWriter<C>
Builds a graph that illustrates the argument game for a particular argument.
- Author:
- Matt South
|
Method Summary |
static edu.uci.ics.jung.visualization.VisualizationViewer |
makeViewer()
Factory for generating an empty visualization viewer that can be used to make a jung graph writer. |
void |
write(Argument<C> focus)
Use this method to draw the dialogue behind the argument game for a particular argument. |
void |
write(Dungine<C> engine)
Use this method to write the annotated defeat network available from a
dungine instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JungJustificationWriter
public JungJustificationWriter(edu.uci.ics.jung.visualization.VisualizationViewer viewer,
Dungine<C> engine)
write
public void write(Argument<C> focus)
- Use this method to draw the dialogue behind the argument game for a particular argument.
- Overrides:
write in class JungDungEngineWriter<C>
write
public void write(Dungine<C> engine)
- Description copied from class:
JungDungEngineWriter
- Use this method to write the annotated defeat network available from a
dungine instance.
- Specified by:
write in interface ReasonerWriter<C>- Overrides:
write in class JungDungEngineWriter<C>
makeViewer
public static edu.uci.ics.jung.visualization.VisualizationViewer makeViewer()
- Factory for generating an empty visualization viewer that can be used to make a jung graph writer.
- Returns:
- empty VisualizationViewer.