<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Ignas,<br>
<br>
have a look into the android/ folder. There you see how it work.
And you can set the algorithm in the GHRequest object. If
contraction hierarchy is enabled only bidirectional algorithms
will work. The GHResponse contains all the necessary information
like points and instructions.<br>
<br>
<div>> Should I first make some kind of subgraph (due to
efficiency)?<br>
<br>
There are several techniques to make it faster like CH, but you
could also use more heuristical routing algorithms, sorting the
graph, in-memory instead memory mapped etc<br>
</div>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote
cite="mid:CAEdjX9-wxhKNEXWCqs5k6aS+QRz2P4P81osh0BU3LpUpa_E2zg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I've got Graphhopper going on my Android device. </div>
<div><br>
</div>
<div>Now my goal is to select two points on the map, apply one
of the algorithms (Dijksta, A*, etc) and display results with
an overlay. </div>
<div><br>
</div>
<div>Due to lack of documentation & being a little bit in a
hurry, could somebody point me where/how to start? </div>
<div><br>
</div>
<div>I understand the basics - getting point's coordinates,
displaying an overlay with results. The part where I'm
confused is how to apply search algorithms in Graphhopper? </div>
<div><br>
</div>
<div>Should I first make some kind of subgraph (due to
efficiency)? </div>
<div>How can I get all the points (on streets, i.e.) between
those two points?</div>
<div>Is there something like getStreet(point1, point2) that
gives you back most likely street between your two points? </div>
<div><br>
</div>
<div>Pardon my naivety, but I'm new to mapping, routing, etc
& my BA thesis' handing in deadline is coming really fast.
;) any help appreciated!<br clear="all">
<div>
<div>----------------------</div>
<div><br>
</div>
<div>Ignas Kapočius</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>