[Cartoweb-users] What is num_nodes in boost_wrapper.cpp

Fay Du fay.du at versaterm.com
Fri May 12 14:28:38 EDT 2006

Hi everyone:
    When I read through pgDijkstra code, in boost_wrapper.capp, I found
following 2 lines:
    // FIXME: compute this value
    const unsigned int num_nodes = ((directed && has_reverse_cost ? 2 :
1) * count) + 100;
    I want to know what is num_nodes is for? And what does it affect if
it is smaller than program needs?  Will it cause bug?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060512/ceb66dd1/attachment.html

More information about the Cartoweb-users mailing list