[pgrouting-dev] pgroute run time envronment
Dave Potts
dave.potts at pinan.co.uk
Fri Jul 26 04:27:12 PDT 2013
Thanks Steve,
Some of the KSP stuff is written in C++, I was looking at some of the OR
stuff.
There seems to be a rather useful function in there for doing Shortest
Hamiltonian Path Problem, true is limited to 31 vertexes, but I think it
would address all the problems that I am interested in.
Dave.
On 26/07/13 13:05, Stephen Woodbridge wrote:
> On 7/26/2013 4:08 AM, Dave Potts wrote:
>> Hi List,
>>
>> What can I assume about the pgroute run time envroment ? Does it support
>> c++???
>>
>> If I want to write some c++ code for the pg route library can I assume
>> that standard envromental std functions such as vector will exist ?
>>
>> Can I write a implement code using a standard c++ template feature?
>
> You can link whatever your need into the library you create to be
> dynamically loaded. We have functions that use std::* and use Boost
> which is all C++ templates.
>
> You have to start with some thing C code to handle the interface with
> plpgsql can create the library interface that postgresql calls but
> that can then call C++ functions. Look at the bi-directional code for
> an example.
>
> -Steve
>
> _______________________________________________
> pgrouting-dev mailing list
> pgrouting-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
More information about the pgrouting-dev
mailing list