// How do I find distances from a fixed vertex to all other vertices?
map< int , int > D = getDistances_in( G , 0 );
map< int , int >::const_iterator D_it = D.begin( );
for( ; D_it!=D.end() ; ++D_it )
cout << (*D_it).first << " -> " << (*D_it).second << endl;
return 0;
}