Boost logo

Boost Users :

From: Andreas Fabri (andreas.fabri_at_[hidden])
Date: 2007-09-12 11:09:24


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.

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.

andreas


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