<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<br>
      <br>
      <blockquote cite="mid:1382686039.582030268@f409.i.mail.ru"
        type="cite">
        I try<span style="color: rgb(0, 0, 0); font-family: Cantarell,
          sans-serif; font-size: 15px; font-style: normal; font-variant:
          normal; font-weight: bold; letter-spacing: normal;
          line-height: normal; orphans: 2; text-align: -webkit-auto;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
          -webkit-text-stroke-width: 0px; background-color: rgb(231,
          243, 253); display: inline !important; float: none; "
          data-mce-style="color: #000000; font-family: Cantarell,
          sans-serif; font-size: 15px; font-style: normal; font-variant:
          normal; font-weight: bold; letter-spacing: normal;
          line-height: normal; orphans: 2; text-align: -webkit-auto;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
          -webkit-text-stroke-width: 0px; background-color: #e7f3fd;
          display: inline !important; float: none;"></span>
        req.setType("fastest") but argument must be WeightCalculation,
        help please.<span style="color: rgb(0, 0, 0); font-family:
          Cantarell, sans-serif; font-size: 15px; font-style: normal;
          font-variant: normal; font-weight: bold; letter-spacing:
          normal; line-height: normal; orphans: 2; text-align:
          -webkit-auto; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
          0px; background-color: rgb(231, 243, 253); display: inline
          !important; float: none; " data-mce-style="color: #000000;
          font-family: Cantarell, sans-serif; font-size: 15px;
          font-style: normal; font-variant: normal; font-weight: bold;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-align: -webkit-auto; text-indent: 0px; text-transform:
          none; white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
          0px; background-color: #e7f3fd; display: inline !important;
          float: none;"><span class="Apple-converted-space"></span></span></blockquote>
      <br>
      This is the latest master. For your version you need to call new
      ShortestCalc() or new FastestCalc()<br>
      <br>
      > <a moz-do-not-send="true"
href="http://graphhopper.com/maps/?point=56.848485%2C53.257985&point=56.853607%2C53.279529&locale=en-US"
data-mce-href="http://graphhopper.com/maps/?point=56.848485%2C53.257985&point=56.853607%2C53.279529&locale=en-US"
        target="_blank">http://graphhopper.com/maps/?point=56.848485%2C53.257985&point=56.853607%2C53.279529&locale=en-US</a><br>
      <br>
      The cause is the missing implicit speed limitation for cities and
      villages. So, the smaller road looks faster for GH as on the
      bigger road there is an explicit speed limit (60 km/h). Feel free
      to create an issue.<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote cite="mid:1382686039.582030268@f409.i.mail.ru"
      type="cite">
      I try<span style="color: rgb(0, 0, 0); font-family: Cantarell,
        sans-serif; font-size: 15px; font-style: normal; font-variant:
        normal; font-weight: bold; letter-spacing: normal; line-height:
        normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; background-color: rgb(231, 243,
        253); display: inline !important; float: none; "
        data-mce-style="color: #000000; font-family: Cantarell,
        sans-serif; font-size: 15px; font-style: normal; font-variant:
        normal; font-weight: bold; letter-spacing: normal; line-height:
        normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; background-color: #e7f3fd;
        display: inline !important; float: none;"></span>
      req.setType("fastest") but argument must be WeightCalculation,
      help please.<span style="color: rgb(0, 0, 0); font-family:
        Cantarell, sans-serif; font-size: 15px; font-style: normal;
        font-variant: normal; font-weight: bold; letter-spacing: normal;
        line-height: normal; orphans: 2; text-align: -webkit-auto;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; background-color: rgb(231, 243,
        253); display: inline !important; float: none; "
        data-mce-style="color: #000000; font-family: Cantarell,
        sans-serif; font-size: 15px; font-style: normal; font-variant:
        normal; font-weight: bold; letter-spacing: normal; line-height:
        normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 0px; background-color: #e7f3fd;
        display: inline !important; float: none;"><span
          class="Apple-converted-space"></span></span><br>
      <br>
      <br>
      Пятница, 25 октября 2013, 11:23 +04:00 от Дмитрий Пучков
      <a class="moz-txt-link-rfc2396E" href="mailto:d-puchkov@mail.ru"><d-puchkov@mail.ru></a>:<br>
      <blockquote style="border-left:1px solid #0857A6; margin:10px;
        padding:0 0 0 10px;" class="mailru-blockquote">
        <div id="">
          <div class="js-helper js-readmsg-msg">
            <style type="text/css"></style>
            <div id="style_13826858670000000903" class="mr_read__body">
              <base target="_self" href="https://e.mail.ru/">
              <div id="style_13826858670000000903_BODY">
                thanks for this hint
                request.setType("fastest"|"shortest"). <br>
                I mean that <span id="result_box" class="short_text"
                  lang="en"><span class="hps">t</span><span class="hps">he
                    route</span> <span class="hps">is built not</span>
                  <span class="hps">on</span> <span class="hps">a main
                    road.</span></span><br>
                <a moz-do-not-send="true"
href="http://graphhopper.com/maps/?point=56.848485%2C53.257985&point=56.853607%2C53.279529&locale=en-US"
data-mce-href="http://graphhopper.com/maps/?point=56.848485%2C53.257985&point=56.853607%2C53.279529&locale=en-US"
                  target="_blank">http://graphhopper.com/maps/?point=56.848485%2C53.257985&point=56.853607%2C53.279529&locale=en-US</a><br>
                <br>
                Пятница, 25 октября 2013, 8:59 +02:00 от Peter K
                <a class="moz-txt-link-rfc2396E" href="mailto:peathal@yahoo.de"><peathal@yahoo.de></a>:<br>
                <blockquote style="border-left:1px solid
                  #0857A6;margin:10px;padding:0 0 0 10px;"
                  class="mailru-blockquote">
                  <div id="">
                    <div class="js-helper js-readmsg-msg">
                      <div id="style_13826843900000000954"
                        class="mr_read__body">
                        <div id="style_13826843900000000954_BODY">
                          <div class="moz-cite-prefix">Hi,<br>
                            <br>
                            if you use CH you can set this only up-front
                            (when preparing the graph). If not, you can
                            do request.setType("fastest"|"shortest") ...
                            what do you mean with optimal?<br>
                            <br>
                            Regards,<br>
                            Peter.<br>
                            <br>
                          </div>
                          <blockquote
                            cite="mid:1382682493.724100519@f205.i.mail.ru"
                            type="cite"> Hi!<br>
                            I use graphhopper on android and use it:<br>
                            GHRequest req = new GHRequest(fromLat,
                            fromLon, toLat,<br>
                                                      
                             toLon).setAlgorithm("dijkstrabi").putHint(<br>
                                                      
                             "douglas.minprecision", 1);<br>
                            GHResponse resp = hopper.route(req);<br>
                            <br>
                            <span id="result_box" class="" lang="en"><span
                                class="hps">Can I</span> <span
                                class="hps">choose</span> <span
                                class="hps">which route</span> <span
                                class="hps">to build?</span> <span
                                class="hps">the shortest</span> <span
                                class="hps">or the fastest</span> <span
                                class="hps">or</span> <span class="hps
                                alt-edited">the optimal</span><span>?</span></span><br>
                            -- <br>
                            Дмитрий Пучков <br>
                            <fieldset class="mimeAttachmentHeader"></fieldset>
                            <br>
                          </blockquote>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>