Hi all,<br><br>I was looking at ways to optimise the tdsp implementation.<br><br>Currently, if the time-interval is suppose 24, (24 hours) and the travel time expected is around 60 hours, then the tdsp-wrapper query retrieves total 60 intervals and the data is repeated for the 24 hour intervals. (I hope what i am trying to say is clear).<br>
<br>This is unnecessary space wastage. So, I edited the weight_map class to accommodate a variables is_cyclic and the cycle_interval, which will keep track of the cyclic nature of the data. So, actually only the 24 hour data will be fed to weight map and then it will be reused in cycles.<br>
<br>Because of the good design, I guess this has scaled up really nice and there is no need to modify actual core tdsp. Just the weight_map's get_travel_time() function and the wrapper plsql function needed to be altered.<br>
<br>Now, in the main query, I am thinking of adding one more boolean variable - is_cyclic which will be enabled if the data is cyclic in nature. Should we keep this? Or we should assume that the data will be always cyclic. <br>
Any other views on the same are welcome.<br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 8:32 PM, Daniel Kastl <span dir="ltr"><<a href="mailto:daniel@georepublic.de">daniel@georepublic.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">If possible I would like to use the same for testing as PostGIS:<br><div><a href="http://trac.osgeo.org/postgis/wiki/DevWikiCUnit" target="_blank">http://trac.osgeo.org/postgis/wiki/DevWikiCUnit</a></div>
<div><a href="http://trac.osgeo.org/postgis/wiki/DevWikiMain#PatchSubmissionGuidelines" target="_blank">http://trac.osgeo.org/postgis/wiki/DevWikiMain#PatchSubmissionGuidelines</a></div>
<div><br></div><div>Except there are good arguments to do it a different way.</div><div><br></div><font color="#888888"><div>Daniel</div><div><br></div><div><br></div><div><br></div></font><div><div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 6:53 PM, Kishore Kumar <span dir="ltr"><<a href="mailto:justjkk@gmail.com" target="_blank">justjkk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
Updated the wiki page and added this:<br>
<br>
<a href="https://github.com/pgRouting/pgrouting/wiki/Automated-Testing-%28Unit-Tests%29#wiki-SQL_Testing" target="_blank">https://github.com/pgRouting/pgrouting/wiki/Automated-Testing-(Unit-Tests)#wiki-SQL_Testing</a><br>
<br>
Looking for improvements in the workflow.<br>
<br>
Regards,<br>
J Kishore kumar.<br>
<br>
On Thu, Jul 28, 2011 at 2:52 PM, Jay Mahadeokar<br>
<div><<a href="mailto:jai.mahadeokar@gmail.com" target="_blank">jai.mahadeokar@gmail.com</a>> wrote:<br>
><br>
><br>
</div><div><div></div><div>> On Thu, Jul 28, 2011 at 2:47 PM, Kishore Kumar <<a href="mailto:justjkk@gmail.com" target="_blank">justjkk@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> The testing framework currently doesn't have a proper documentation<br>
>> except the somewhat readable python code. I am also not sure what<br>
>> level of documentation should suffice. Is the python testing framework<br>
>> going to stay or should we move to c?<br>
>><br>
><br>
> I am not sure about others, but I have not worked with python before. So, I<br>
> would love to go with C if given a choice!<br>
><br>
>><br>
>> Thanks & Regards,<br>
>> J Kishore kumar.<br>
>><br>
>> On Tue, Jul 26, 2011 at 4:40 AM, Daniel Kastl <<a href="mailto:daniel@georepublic.de" target="_blank">daniel@georepublic.de</a>><br>
>> wrote:<br>
>> >> Daniel, Anton, is there anything specific that I need to do with<br>
>> >> regards<br>
>> >> to the project, so that it can be bundled with the pgRouting 2.0?<br>
>> >> Currently<br>
>> >> I am using a modified CMake file[2], and not compiling the test<br>
>> >> framework.<br>
>> >> Till now, I have not worked with this testing framework designed by<br>
>> >> Kishore<br>
>> >> (right?) so should I read any docs that will get me introduced with it?<br>
>><br>
>> > Sorry, the test framework I don't have a clear opinion yet. I think it's<br>
>> > Kishore's proposed testing but anyone is free to make suggestions how to<br>
>> > improve it.<br>
>> _______________________________________________<br>
>> pgrouting-dev mailing list<br>
>> <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
> -Jay Mahadeokar<br>
><br>
><br>
> _______________________________________________<br>
> pgrouting-dev mailing list<br>
> <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
><br>
><br>
_______________________________________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div class="im">-- <br><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">Georepublic UG & Georepublic Japan<br>
eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color: rgb(66, 99, 171);" target="_blank">daniel.kastl@georepublic.de</a><br>
Web: <a href="http://georepublic.de/" style="color: rgb(66, 99, 171);" target="_blank">http://georepublic.de</a></span><br>
</div></div>
<br>_______________________________________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org">pgrouting-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>-Jay Mahadeokar<br><br>