Thanks Peter. the first link is more of a "brute force" way to do it. as is noted in the ISSUE, when the end goal is to get the distance matrix, there could be faster ways than application of NxM pair-wise route().
On Sat, Nov 22, 2014 at 6:15 AM, Peter <[email protected]> wrote: > It is not part of the open source version, though you can create a > distance matrix with GraphHopper > > https://github.com/karussell/optaplanner-graphhopper-example/blob/master/src/main/java/com/graphhopper/optaplanner/Main.java#L41 > > See also this issue: > https://github.com/graphhopper/graphhopper/issues/131 > > Peter > > On 22.11.2014 09:31, Yang wrote: > > this describes the matrix api: > > https://github.com/graphhopper/web-api/blob/master/docs-matrix.md > > > > can I setup the API on my own server? or could you please tell me > > where the matrix computation code is? (I can see the point-to-point > > routing code is in router.route() ) > > > > > > Thanks > > Yang > > > _______________________________________________ > GraphHopper mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/graphhopper >
_______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
