<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,<br>
      <br>
      as you have CH enabled you will need to call the preparation
      everytime the road issues change. <br>
      <br>
      Or just disable CH before the import to make traffic jam
      integration easy and possible 'on-the-fly'.
      (graphHopper.setCHEnable(false) or graphHopper.disableCH in
      previous versions)<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
      On 05.11.2014 12:43, Moises Arcos wrote:<br>
    </div>
    <blockquote
cite="mid:CAGfwTcxk-GXqXkvtrLc39NBQuz-7FAk57eSkBTKw3RP4Jv+-dA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span
          style="font-family:arial,sans-serif;font-size:13px">Hi all,</span>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I'm
          trying investigate if it's possible implement a routing method
          that it's able to recalculate the route when there is an issue
          in a street near to fastest route.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">For
          example I want to go from an A point to B point but one of the
          street that I get with graphhopper routing engine has a
          traffic jam, so I would like to calculate with graphhopper an
          alternative route, but I don't know how I can do it.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I've
          been trying to do the next thing:</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I've
          implemented a Weighting class with a callWeigth method [1],
          and a class that extends GraphHopper [2] and when I'm going to
          use it [3] it's not working correctly.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I don't
          know what Im doing wrong because I followed the weighting
          guidelines. I have only a reason that explains this problem.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Could
          the graph's edges updated when the graph has been already
          made?</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I need
          some help.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Thanks</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Regards!!!</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">[1] <a
            moz-do-not-send="true"
href="https://github.com/moiarcsan/smartcity-traffic-jam/blob/master/smc-tj-engine/src/main/java/com/graphhopper/BlockingWeighting.java"
            target="_blank">https://github.com/moiarcsan/smartcity-traffic-jam/blob/master/smc-tj-engine/src/main/java/com/graphhopper/BlockingWeighting.java</a></div>
        <div style="font-family:arial,sans-serif;font-size:13px">[2] <a
            moz-do-not-send="true"
href="https://github.com/moiarcsan/smartcity-traffic-jam/blob/master/smc-tj-engine/src/main/java/com/graphhopper/TrafficJamGraph.java"
            target="_blank">https://github.com/moiarcsan/smartcity-traffic-jam/blob/master/smc-tj-engine/src/main/java/com/graphhopper/TrafficJamGraph.java</a></div>
        <div style="font-family:arial,sans-serif;font-size:13px">[3] <a
            moz-do-not-send="true"
href="https://github.com/moiarcsan/smartcity-traffic-jam/blob/master/smc-tj-engine/src/main/java/com/emergya/smc/tj/TrafficJamHandler.java"
            target="_blank">https://github.com/moiarcsan/smartcity-traffic-jam/blob/master/smc-tj-engine/src/main/java/com/emergya/smc/tj/TrafficJamHandler.java</a></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>