<font size="2"><font face="tahoma,sans-serif">Hi Anton,</font></font><div><font size="2"><font face="tahoma,sans-serif"><br></font></font></div><div><font size="2"><font face="tahoma,sans-serif">There is also something that I did not understand. We are using both cost and reverse_cost in tsp_dijkstra_directed when we call dijkstra. but we only define reverse_cost after calling tsp in the query</font></font></div>
<div><font size="2"><font face="tahoma,sans-serif"><br></font></font></div><div><font size="2"><font face="tahoma,sans-serif"><div>query := 'SELECT vertex_id FROM tsp(''select distinct source::integer as source_id, '||</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span> 'x(startpoint(the_geom)), y(startpoint(the_geom))';</div><div><span class="Apple-tab-span" style="white-space:pre">                </span> </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>IF rc THEN query := query || ' , <b>reverse_cost </b>';</div>
<div><br></div><div>why do we use only reverse_cost and not the cost ? </div></font></font></div><div><font size="2"><font face="tahoma,sans-serif"><br clear="all"></font></font>/emre<br>
<br><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 5:08 AM, Anton Patrushev <span dir="ltr"><<a href="mailto:anton.patrushev@georepublic.de">anton.patrushev@georepublic.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Emre,<br>
<br>
Oh my! Thank you for reporting this. It must be fixed.<br>
I don't remember now what I meant by this, so please give me few days to fix it.<br>
<br>
Sorry,<br>
Anton.<br>
_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
</blockquote></div><br></div>