<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Mani,<br>
<br>
you can pass this time parameter in the WeightingMap (filled from
ghRequest.getHints, which is filled from URL parameters) which is
available in every Weighting:<br>
<a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/FastestWeighting.java#L45">https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/FastestWeighting.java#L45</a><br>
<br>
Kind Regards,<br>
Peter<br>
<br>
On 28.07.2015 09:32, Manikanta Kondeti wrote:<br>
</div>
<blockquote
cite="mid:CAMxCCEa0uq09SjiWsAMe36iemYgp2sBHe8P9U+MUSn-+M5bj7Q@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:12.8000001907349px">Hello, </span>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px"> I am working on a
project where there is a need for handling time based
restrictions. So I've written a temporal weighting class which
filters based on the curr time. So my question is can we
calculate this curr time param and pass it to the temporal
weighting class? If so will it be accurate for bidirectional
A*? Please help where to start. </div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">Thanks,</div>
<div style="font-size:12.8000001907349px">Mani </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>