thisisashukla / pgrouting

Repository contains pgRouting library. Development branch is "develop", stable branch is "master"
http://www.pgrouting.org
GNU General Public License v2.0
0 stars 0 forks source link

Make a Proof of Concept for Area Contraction #7

Closed thisisashukla closed 7 years ago

thisisashukla commented 7 years ago

the following images are graph representation for the proposed contraction hierarchies

Graphs for sample data

1 img_20170323_241008203

2 img_20170323_241014461

3 img_20170323_241018728

Graphs for sample data 2

4 img_20170323_241025683

5 img_20170323_003403

Shortest path between two nodes on complete graph

6 img_20170323_241033386

Shortest path between two nodes on contracted graph

7 img_20170323_241037920

The same resultant route on the contracted graph is a visual proof of equivalence of hierarchical contraction

thisisashukla commented 7 years ago

Image Number 2

13 -> many

take the path from 13 -> 4 as 13-10-5-6-9-4 for visual appeal

cvvergara commented 7 years ago

So, image 3, the yellow lines disappear and the 10-> 5, 5->6, 6->9 edges become red