Submitted by mzilske on Tue, 2010-03-02 14:45.
0. Introduction
Instructor: D. Grether
Co-instructors: M. Rieser, A. Horni
Lecture type: Presentation with exercises
Learning Objectives:
- What are Events? How works the Model View Controller Pattern in general.
- How you can analyse simulation output.
- How to write an event handler for the events of the mobility simulations.
- How to produce simple charts.
Exercises:
- Write a very simple event handler producing log output to console.
- Write a simple event handler calculating total and average travel times.
- Write a chart writer class that plots the collected data to a chart.
- Solutions for the exercises can be found in the class
MyEventsHandling.java within the release (press Ctrl + Shift + T in eclipse and enter the class name MyEventsHandling to get to the class). Using a checkout you can find the classes in the folder src/main/java/tutorial/programming/example6EventsHandling.