Skip to content

veenits123/pgRoutingSampleData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Want to run these codes on your Computer?

Then better make sure you have GNU g++/gcc compiler and Boost Library installed.

Now we are ready to go just Download the codes and compile it.

How?

Make sure you are here: /pgRoutingSampleData/edgeColoring/boostExample $

I have used boostExample, you can do the same with other.

Now run the following command:

g++ boostExample.cpp -o boostExample -Wall

Then run this:

./boostExample

And you get output like this:

Colored using 5 colors
  1-4: 5
  1-6: 1
  2-3: 3
  2-5: 4
  2-7: 2
  2-10: 1
  3-4: 1
  3-5: 2
  4-6: 3
  4-9: 2
  5-7: 5
  6-7: 4
  6-8: 2
  7-8: 1

Diagram of Boost Example

Initial State:

boost_example

Final State:

14

Animation of Boost Example

boostExample

Diagram of pgRouting Sample Data

Initial State:

sampleData

Final State:

sample_data_final

Animation of pgRouting Sample Data

Animated GIF-downsized_large

About

Working with Boost and pgRouting Sample Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages