Hi Guillaume,

On 04/02/2012 11:01 PM, Guillaume Lemaître wrote:
> Furthermore, if I tweak the HammingVisitor example in order to use my own
> Cost class for weigth, dist and cost property maps, I get a Runtime Error.
> This tends to indicate that using Python objects for distances is a bad
> idea. But then, what are the purpose of compare, combine, zero and infinity
> astar_search arguments?

This is indeed a bug. It should be perfectly valid to use arbitrary
python types for distance and cost properties. I'll provide a fix for
this soon.

Best regards,
Tiago

--
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to