Boost logo

Boost Users :

From: Jens Müller (jens.mueller_at_[hidden])
Date: 2007-09-13 11:22:04


Andreas Fabri wrote:
> Hello,
>
> I am wondering if there is not a documentation bug.
>
> The distance_recorder<DistanceMap, EventTag> manual page states:
>
> DistanceMap A WritablePropertyMap, where the key type and the value type are the vertex descriptor type of the graph.
>
>
> Shouldn't the value type be something like int. After all it is a distance
> measured in the number of hops in the graph.

Yepp, is most probably a bug.

> Also writing my own DistanceMap I had to also provide the function get
> in order that it compiles. So the DistanceMap should be Readable as well.

This probably, too.


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