![]() |
AuD
Lecture 'Algorithmen und Datenstrukturen' (code examples)
|
Demonstrate visualization of graph algorithms. More...
Classes | |
class | MyGraph |
Static Public Member Functions | |
static void | main (String args[]) |
static void | main (String[] args) |
Protected Member Functions | |
void | onHalt () |
![]() | |
JComponent | createComponents () |
void | onNext () |
call on button pressed More... | |
void | println (String text) |
print to both, text area and stdout More... | |
void | onHalt () |
Protected Attributes | |
AbstractGraph<?,?> | g = null |
DotViewer | v |
![]() | |
JFrame | frame |
JTextArea | history |
JButton | next |
Object | monitor = new Object() |
int | timeout = 0 |
Additional Inherited Members | |
![]() | |
SingleStepper (JFrame parent) | |
create new instance More... | |
SingleStepper (String caption) | |
create new instance More... | |
JFrame | parent () |
get parent widget More... | |
void | halt (String text, int timeout) |
display text and wait for user or timeout More... | |
void | setTimeout (int timeout) |
Set global timeout. More... | |
SingleStepper | whereAmI () |
print location of calling code More... | |
SingleStepper | showSource () |
jmp to caller's location in editor (emacs only) More... | |
void | halt (String text) |
display text and wait for user (or global timeout) More... | |
void | halt () |
wait for user More... | |
Demonstrate visualization of graph algorithms.
Definition at line 7 of file GraphDemo.java.
|
static |
Reimplemented from aud.util.SingleStepper.
Definition at line 34 of file GraphDemo.java.
References aud.graph.AbstractGraph< Node extends AbstractNode, Edge extends AbstractEdge >.addEdge(), aud.graph.AbstractGraph< Node extends AbstractNode, Edge extends AbstractEdge >.addNode(), aud.util.GraphDemo.g, aud.graph.AbstractGraph< Node extends AbstractNode, Edge extends AbstractEdge >.getDecorator(), aud.util.SingleStepper.halt(), aud.util.SimpleDecorator.highlightEdge(), aud.util.SimpleDecorator.highlightNode(), aud.util.SimpleDecorator.markEdge(), aud.util.SimpleDecorator.markNode(), aud.graph.SimpleEdge.setLabel(), aud.graph.SimpleNode.setLabel(), aud.util.SingleStepper.showSource(), aud.util.SimpleDecorator.unmarkNode(), and aud.util.SingleStepper.whereAmI().
|
protected |
Reimplemented from aud.util.SingleStepper.
Definition at line 29 of file GraphDemo.java.
References aud.util.DotViewer.display(), aud.util.GraphDemo.g, and aud.util.GraphDemo.v.
|
protected |
Definition at line 9 of file GraphDemo.java.
Referenced by aud.util.GraphDemo.main(), and aud.util.GraphDemo.onHalt().
|
protected |
Definition at line 10 of file GraphDemo.java.
Referenced by aud.util.GraphDemo.onHalt().