Boost logo

Boost Users :

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


Hi,

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.
Vivid


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net