Boost logo

Boost Users :

From: Vivid Yang (yyd_iris_at_[hidden])
Date: 2005-06-28 17:05:26


Does anybody has experience in applying johnson_all_pairs_shortest_paths
under WINDOWS? Examples would help me a lot.

I have difficulties in compiling the johnson_all_pairs_shortest_paths
example in the library: example/johnson-eg.cpp

The code

D[id2[*u]-1][id2[*v]-1] = get(d, *v) + get(h, *v) - get(h, *u);

has error:

"subscript requires array or pointer type"

Thanks a lot.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at