<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
My goal is to try and map most of the various shortest path functions to a template something like:<br>
<br>
func_name(<br>
table_name, -- table or view name<br>
start_id, -- edge or vertix id, for trsp this could be [id, pos,]<br>
target_id, -- edge or vertix id, for trsp this could be [id, pos,]<br>
delta, -- *amount to expand an implied bbox<br>
directed, -- *is the graph directed?<br>
has_rcost) -- *does the table have reverse_cost column?<br>
<br>
* these items would be optional<br></blockquote><div><br></div><div style>Hi Steve,</div><div style><br></div><div style>The template above would be for the "wrapper" functions, right? The "core" functions usually have an "sql" statement as first parameter".</div>
<div style>I like the idea to use function overloading, so one function name allows a different number of parameters.</div><div><br></div><div style>There are quite a few functions with extra long names, and I would either try to make them shorter or drop them completely, if they are not really needed.</div>
<div style><br></div><div style>What about making a Google Docs spreadsheet to be able to add comments directly to the list?</div><div style><br></div><div style>Daniel</div><div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In the spreadsheet under the library column, the blanks represent wrapper function, the lib* entries are the low level SQL wrappers to the C code and legacy stuff I threw into the what will become the legacy file.<br>
<br>
Thoughts and feedback are welcome.<br>
<br>
-Steve<br>
<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"><div><br></div>-- <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>
</div></div>