<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">E.g. you have A-B-C. Then my suggested
      work around would calculate the shortest path tree of A and B,
      then B and C. The optimized way would be to calculate the SPT of B
      just once and reuse it for the second path.<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote
cite="mid:CAAfXfqMwHdcq4_rdsQ5SYDv9uNJ2gNw02DeGm-no_OEDhn7S1A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Can you point towards this optimizations?
        <div><br>
        </div>
        <div>Thanks</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Jul 31, 2013 at 6:01 AM, Peter
          K <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hi Flavio,<br>
                <br>
                there is no separate API for this but you could just
                calculate the intermediate routes one by one.<br>
                <br>
                There are ways to optimize this also in terms of CPU and
                RAM but currently not planned.<br>
                <br>
                Regards,<br>
                Peter.<br>
                <br>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hey guys!
                      <div><br>
                      </div>
                      <div>First of all, congratulations for making such
                        a great project!</div>
                      <div><br>
                      </div>
                      <div>Can GraphHopper receive waypoints/viapoints
                        that a driver must go through before reaching
                        the end of the route?</div>
                      <div><br>
                      </div>
                      <div>I tried to find examples of how to do this
                        and I couldn't find one.</div>
                      <div><br>
                      </div>
                      <div>Thanks in advance!<br clear="all">
                        <div><br>
                        </div>
                        -- <br>
                        Flávio Coutinho da Costa<br>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>