Hiti Graph Model of Topographical Road Maps in Navigation Systems
Hiti Graph Model of Topographical Road Maps in Navigation Systems
Systems
76
1063-6382/96 $5.00 0 1996 IEEE
77
Based on the above generic form, a recursive rela- Each set Bf contains an edge (2, y, Z) if there is an
tion can be viewed as a directed gra.ph G(V, E). Each edge (x, y, Z) in P E’ where x is in SG,’ and y is in
node in V is represented by the value of attl. Each a different level 1 subgraph. In other words, set B!
edge in E is represented by values of (attl, attz, atts). contains connectivity information between level 1 sub-
Suppose tha.t a recursive relation G(V, E) is part,i- graph SG: and other level 1 subgraphs of G(V, E).
tionedl into a set of subgraphs (i.e. SC! (V>, E:), SC: Then, the following condition holds: PE1 = UyJ.lBj
(V:, I?;), ., SGf,, (Vi’, , EA1) ) such that,: From the above, it can be noted that edges in UTAIBj
exclusively partition graph G(V, E) into a set of
v,luv2~u.. .uvl n1 = v , und E~UE~U...UE~~ c E subgraphs SG: (V:, E:), SG: (V,‘,Ei), .., SGA1
(Vi’, J E,1,J
Vi1 17 Vj’ = 0 and Et n Ej’ = 0
Each set W: contains an edge (x, y, fZ(z, y)) if there
where l<i,jsnl and i#j exists a directed path from the boundary nodes 2 to y
of SG,l. Function fz (x, y) gives an aggregated cost
We name SG: (vi’, I?,!) a level 1 subgraph i and the (i.e. from node x to y) with respect to z within
connections between all level 1 subgraphs are captured SG!. In other words, each edge in W: represents
in P E’ = E-(E:UEiU...UEAl). Then, each (~,y,z) additional precomputed connectivity information of
E PE1 has the property tha.t 2 E vi’ and y E Vj’ boundary nodes within SC!. Thus,
where i # j. Note that (;u,y,~) corresponds t,o (aiLl,
att2, gattg) where 2 = attl, y = a,ttz, z = attg.
Definition 2.1 Let N: denotes a set of nodes in SC: As a.n example, Ta.ble 2.1 shows the corresponding
(Vi’, 17:) connected to/from nodes in other subgraphs values of N: , B! and Wil of the three subgraphs shown
SG; ~(v,‘,Ejl) w h erei#jandl<i,j<nl. Specif- in Figure 2.1. In the following example, fZ(2, y) gives
the cost of a minimumexpected time of travel between
ically, N/ = {z 1 (3, y, z) E PE1 A z E K’} U
node x and y.
{y 1 (:c,y, z) E P E’ A y E I/;:‘}. Set N,’ is called
leuel 1 boundary nodes of SC:.
78
Definition 2.3 Let \kk-l = { SGf-1 (ykA1, E,“-l) Figure 2.2: An example of level 3 subgraph tree ST
1 i’ = l,nk-1 } be the set of all level k-l subgraphs of
graph G(V, E) w h ere k 2 2. Then, a level k subgraph nodes, level k between and within edge sets are same
57;: (E/;:“, E;) as d ef; ne d a s a subgraph induced by all as that of level 1 boundary nodes, level 1 between and
nodes of level k-l subgraphs in 0 5 eke1 where I@/ 2 within edge sets. They are formally defined in defini-
2. tion 2.4.
After all level k subgraphs in \k” are defined, the fol- Definition 2.4 Let PE” = E-(E~uE~LJ...UE~,).
lowing three requirements must be satisfied:
Then, N! = { x 1 (z,y,z) E PE” A t E Vi” } U { y (
Each level k-l subgraph in QkP1 is a subgraph of (x:, Y, 2) E PE” A Y E K” 1, Bik = { (x, Y, ;!I I (x, Y, z)
some level k subgraph in 9”. E PEk A z E Kk } and WF = { (~,y,fi(~,y)) I
@C,Y) E (Ni” xN?, A ( x !‘(z,\y) y in SGk) A z # y }.
All level k subgraphs in Q” do not overlap among Function fi (CC,y) g ives an aggregated cost (i.e. from
themselves. That is, node x to y) with respect to z within SC!.
Vl”uV;u.. .uV,k, = V and EfuE;u.. AJE;, c E As ca.n be noticed from the a.bove definition, PE”
= Uj”klB’j”. Note tha.t Uj”i;lBj”-’ = U~~;‘B~-’ -
L$,”n vj” = 0 and EF n Ej” = 0
Uy!~~Bjk. In order to show how N/, Bt , and lVt are
where 1 <i,j<nk and i#j obtained, we use the digraph in Figure 2.3 as an ex-
ample.
All edges belonging to level k between edge sets
are removed from level k-l between edges sets. As
a result, (UjnL;lBJ-l n UTklBt) = 0.
79
Definition 2.5 A HiTi graph is a directed labeled Definition 3.3 Let SGt and SC,! be two distinct
graph defined in terms of between and within edges level 1 subgraphs defined in a level I; subgraph tree ST.
associated with all nodes of subgraph tree ST. A Then, LU B~G(SG~, SGj) is the least leveled common
HiTi graph defined over level kt-1 subgraph tree ST ancestor subgraph of SGf and SG;.
is called level k HiTi graph. It is represented by
Hk(Pk,Ak) where Pk = { x 1 (CC,y, z) E Uf=:=,Uj”&,$ The examples of the definition 3.1, 3.2 and 3.3 are
1 U { y ( (2, y, z) E Ufz=,Ujn&lBj } and Ak = { illustrated through the level 4 subgraph tree shown
in Figure 3.1. Assume that X = { SC:, SG:, }.
(~,Y,P,W,fz(X,Y)l) I (X,Ytfz(X,Y)) E qPy for 1
Then, S;(X) = ( SG:, SG:, }, S:(X) = { SG:,
= l,k 1 u { (x,Y,[l,B,rl) I (X,Y,f) E q&B; for 1 SG; }, sA(x) = { SG;, SG;, SC;, SG;, SG;,,
Z l,k 1. SG;}, SC(X) = { SG;, SG;, }, S&S;(X)) = { SG:,,
Note that the symbols “1” and “lV”( ‘B”) in the def- SG;, SG:,, SG;,, SG:s }, sB(x) = { B:, B:, 1,
inition of an edge in A” represent the edge is level SW(X) = { Wi, W,ll }, SN(X) = { N,1, N,‘, }, and
1 within(resp. between) edge. An example of level 2 LUBsc:(SGi. SG:,) is SGZ.
HiTi graph corresponding to the digraph in Figure 2.3
is shown in Figure 2.4.
Figure 2.4: A level 2 HiTi graph corresponding t.o the Figure 3.1: An example of level 4 subgraph tree ST
digraph in Figure 2.3
3.1 Shortest Path Algorithm based on
HiTi Graph
3 Use of HiTi Graphs for Computing We now describe a Shortest Path Algorithm based
Minimum Cost Route on HiTi graph (SPAH). SPAH takes advantage of
In this section, we discuss the use of HiTi graphs for HiTi graphs to speed up the computation of a mini-
computing a minimum cost path (i.e. shortest path). mum cost path. Our algorithm explores at most E S
80
1
edge sets.
We take a level 4 subgraph tree in Figure 3.1 to give
an example of theorem 3.1. Assume that we wants to
find a minimum cost path from node START in SG!
to1node DEST in SC:,. Then, our search space ES
consists of E: U Ets together with the corresponding
between and within edge sets of the subgraphs marked
w:ith * in Figure 3.1.
Within the search space ES, SPAH traverses edges
from node START in SG: to node DEST in SGj’ to
find a minimum cost path. Its edge traversal consists
of two phases, the ascending and descending phases.
Tlhe ascending phase corresponds to the period of
edge traversal from node START to the bounda.ry
nodes in S~(Sy~(sGjl)) where 1 is a level number of
LlJB,,(SG;, SGj). S imilarly, the descending phase
corresponds to the period of edge traversal from the
nodes in SN(S~’ (SC:)) t o node DEST. During the
ascending and descending phases, SPAH traverses
edges in a non-decreasing and non-increasing edge 1
level order respectively. Note that each of the con-
sidered paths has its own thread of processing. Some Figure 3.2: SPAH: Finding a Minimum Cost Path
of the paths are still in the ascending phase, whereas from START to DEST
the others are in the descending phase. The following
81
Figure 3.3: A 800 x 800 grid graph partitioned a.ccord- Figure 3.4 clearly shows how effectively SPAH
ing to the level 4 ST cuts down the search space over the traditional A*
algorithm. It is interesting to observe that the ra-
We use the above level 4 subgraph tree ST to gen- tio An/H, increases rapidly as the path lengths from
erate level 3 HiTi graph for t.he empirica. ana.lysis of source t,o dest,ination increase. This occurs because
82
83
84