Title: Dynamic routing versus static routing
1Dynamic routing versus static routing
- Prof. drs. Dr. Leon Rothkrantz
- http//www.mmi.tudelft.nl
- http//www.kbs.twi.tudelft.nl
2Outline presentation
- Problem definition
- Static routing Dijkstra shortest path algorithm
- Dynamic traffic data (historical data, real time
data) - Dynamic routing using 3D-Dijkstra algorithm
- Travel speed prediction using ANN
- Personal intelligent traveling assistant (PITA)
- PITA in cars and in trains
3Introduction
- Problem definition
- Find the shortest/fastest route from A to B using
dynamic route information. - Research if dynamic routing results in shorter
traveling time compared to shortest path - Is it possible to route a traveler on his route
in dynamically changing environments ?
4(Non-) congested road
5Traffic
6Testbed graph of highways
7MONICA networkMany sensors/wires along the road
to measure the speed of the cars
8Smart Road
- Many sensors (smart sensors) along a road
- Sensor devices set up a wireless ad-hoc network
- Sensor in the car is able to communicate with the
road - Congestion, icy roads can be detected by the
sensors and communicated along the network, to
inform drivers remote in place and time - GPS, GSM can be included in the sensornetworks
- Wireless communication by wired
lamppost/streetlights
9(No Transcript)
10Real speed on a road segment during peak hour
11 3 dimensional graphUse 3D Dijkstra
12Why not search in this 3 dim. graph ?
- This will become a giant graph
- - constructing such a 3 dimensional graph
(estimating travel times) would take too much
time - - performance of shortest path algorithm for
such a graph will be very poor
13Shortest path via dynamic routing
14Expert systemBased on knowledege/experience of
daily cardriver
- Translate routes to trajectories between
junctions and assign labels entrance, route, file
and exit to each trajectory
- (entrance kleinpolderplein ypenburg)
- (route ypenburg prins_claus)
- (file prins_claus badhoevedorp)
- (route badhoevedorp nieuwe_meer)
- (exit nieuwe_meer coenplein)
15Design (1)
16Schematic overview of a PR route.
17Design (2)
18Static car and public transport routes
19Dynamic car route
20PR route
21Expert system
- Translate routes to trajectories between
junctions and assign labels entrance, route, file
and exit to each trajectory
- (entrance kleinpolderplein ypenburg)
- (route ypenburg prins_claus)
- (file prins_claus badhoevedorp)
- (route badhoevedorp nieuwe_meer)
- (exit nieuwe_meer coenplein)
22Example alternative routesusing expert knowledge
23Implementation in CLIPS
24Results of dynamic routing
- Based on historical traffic speed data dynamic
routing is able to save approximately 15 of
travel time - During special incidents (accidents, road work,)
savings in travel time increases - During peak hours savings decreases
25User preferences
- Shortest travel time
- Preference routing via highways, secondary roads
minimized - Preferred routing (not) via toll routes
- Fastest route or shortest route
- Route with minimal of traffic jams
26Traffic
- Current systems developed at TUDelft
- Prediction of travel time using ANN (trained on
historical data) - Model of speed as function of time average over
road segments/trajectories - Static routing using Dijkstra algorithm
- Dynamic routing using 3D Dijkstra
- Dynamic routing using Ant Based Control algorithm
- Personal Traveling Assistant online end of 2008
27NN Classifiers
- Feed-Forward BP Network
- single-frame input
- two hidden layers
- logistic output function in hidden and output
layers - full connections between layers
- single output neuron
28NN Classifiers
(continued)
- Time Delayed Neural Network
- multiple frames input
- coupled weights in first hidden layer for
time-dependency learning - logistic outputfunction in hidden and output
layers
29NN Classifiers
(continued)
- Jordan RecursiveNeural Network
- single frame input
- one hidden layer
- logistic output functionin hidden and output
layer - context neuron for time-dependency learning
30Factors which have impact on the speed
- Factors
- Time
- Day of the week
- Month
- Weather
- Special events
31Impact on speed
32Impact on speed
33Impact on speed
34Impact on speed
35Impact on speed
36Impact on speed
37Impact on speed
38Model 1
-
- Is it possible to predict average speed on a
special location and time?
39Model 1
40Model 2
- Is it possible to predict average time 25
minutes ahead on a special location with an error
of less then 10 ?
41Model 2
42Model 3
43Test results Model 1
- 6 networks tested
- Tuesday
- A12 in the direction of Gouda
- Best results with 5 neurons in hidden layer
44Test results Model 1
45Test results Model 2
- 9 networks tested
- Tuesday
- A12 in the direction of Gouda
- Best results with 9 neurons in the hidden layer
46Test results Model 2
47Test results
48Test results
- Results of the best performing network
- 76 of the values with difference of 10 or less
- Average error is more than 20
- Deleting outliers average error less than 9
49Conclusions
- Existing research
- Formula of Fletcher and Goss
- Impact
- Results
50Current system
- Model (based on historical data)
- Accidents and work on the road
- Travel time (based on Recurrent neural networks)
- Data collection (average speed per segment, per
road)
51(No Transcript)
52Ant Based Control Algorithm (ABC)
- Is inspired from the behavior of the real ants
- Was designed for routing the data in packet
switch networks - Can be applied to any routing problem which
assumes dynamic data like - Routing in mobile Ad-Hoc networks
- Dynamic routing of traffic in a city
- Evacuation from a dangerous area ( the routing
is done to multiple destinations )
53Natural ants find the shortest route
54Choosing randomly
55Laying pheromone
56Biased choosing
573 reasons for choosing the shortest path
- Earlier pheromone (trail completed earlier)
- More pheromone (higher ant density)
- Younger pheromone (less diffusion)
58Application of ant behaviour in network management
- Mobile agents
- Probability tables
- Different pheromone for every destination
59Traffic model in one node
i j k
1 pi1 pj1 pk1
2 pi2 pj2 pk2
.. ..
N piN pjN PkN
1 2 .... N
µ1s1 W1 µ2 s2 W2 µN sN WN
60Routing table
- To forward the packets, each node has a routing
table
Neighbours
6 8 10
1 0.4 0.5 0.1
2 0.7 0.2 0.1
11 0.4 0.1 0.5
7
All possible destinations
61Generating virtual ants (agents)
- ants are launched on regular intervals
- - it goes from source to a randomly chosen
destination
62Chosing the next node
- 2. Ant chooses its next node according to a
probabilistic rule - -probabilities in routing table
- -traffic level in the node
neighbours
2 5
11 0.4 0.6
destination
63Sniffing the network
- Ant moves towards its destination
- and it memories its path
11 t5
10 t4
9 t3
3 t2
2 t1
1 t0
1
64The backward ant
- Ant goes back using the same path
11 t5
10 t4
9 t3
3 t2
2 t1
1 t0
65Updating the probability tables
- On its way to the source, ant updates
- routing tables in all nodes
- table in 1 before update
- table after update
2 5
11 0.4 0.6
2 5
11 0.8 0.2
66Simple formulae
- Calculate reinforcement
- Update probabilities
67Complex formulae
PjdPjd r(1-Pjd)
PndPnd - rPnd , nltgtj
68Simulation environment
- Map representation for
- simulation
69Results
Average trip time for the cars using the routing
system
Average trip time for the cars that not use the
routing system
70Simulation environment
71Communication flow
72Routing system
73Routing system (2)
1 2 4 5
1 - 12 15 -
2 11 - - 18
4 14 - - 13
5 - 18 14 -
74Experiment
75Personal intelligent travel assistant
- PITA is multimodal, speech, touch, text,
picture,GPS,GPRS - PITA is able to find shortest route in time using
dynamic traffic data - PITA is able to launch robust agents finding
information on different sites (imitating HCI) - PITA computes shortest route using AI techniques
(expertsystems, case based reasoning, ant based
routing alg, adaptive Dijkstra alg.)
76(No Transcript)
77(No Transcript)
78PDA
79Digital Assistant
- Digital assistant has characteristics of a human
operator - Ambient Intelligent
- Context awareness
- Adaptive to personal characteristics
- Independent, problem solver
- Computational, transparent solutions
- Multimodal input/output
80Schematic overview of the PITA components
81(No Transcript)
82Overview of communication
- Wireless network layers
- human communication layer
- virtual communication
- virtual coordinating agent
-
83Actors, Agents and Services
- Layers of communication
- overlapping clouds of actors ( human sensors,
perception devices) - corresponding clouds of representative agents
- clouds of services
84Mobile Ad-Hoc Network
85PITA system in a train
- Travelers in train have device able to set up a
wireless network in the train or to communicate
via e-mail, connected to GPS - Position of traveler corresponds to position of
trains - (de-)Centralized systems knows the position of
train at every time and is able to reroute and
inform travelers in dynamically changing
environments
86A technical view of the PITA system
87(No Transcript)
88The personal agent
89The handheld interface model
90The handheld application model
91A handheld can be connected to the rest of the
system by only an ad-hoc wireless connection
92Sequence diagram of the addition of a new delay
93The distributed agent platform architecture
94(No Transcript)
95(No Transcript)
96(No Transcript)
97(No Transcript)
98THE MAPPING BETWEEN THE USER PROFILES AND THE
SEARCH PARAMETERS
User profiles
99Search times
The route plan to Groningen Noord