/** * Outputs all of the nodes and events to console. This method is only really used for debugging. */ public void output() { for (Node node : this.nodes) { System.out.println(node.toString()); } for (Event event : this.events) { System.out.println(event.toString()); } }