<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">Hey <span lang="EN-US">Pengzhan,</span><br>
<br>
If you have CH disabled you can choose while querying if you use
Shortest- or FastestWeighting (you can also import multiple
vehicles).<br>
<br>
But if you enable CH you can only have either fastest or shortest
weighting (and use only one vehicle).<br>
<br>
<span lang="EN-US">> Then there would be two weights for each
edge in the graph. </span><br>
<br>
Speed can be calculated on demand or stored in the edge - this
depends on your requirements.<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote
cite="mid:CANtWbEAHkzwvA4ymfEGnwNP8_EEa5-wQcBjgi2XUFkvaeCNmKg@mail.gmail.com"
type="cite">
<p dir="ltr">you need read the CH algorithms</p>
<div class="gmail_quote">2014-4-28 PM2:23于 "Hao Pengzhan" <<a
moz-do-not-send="true" href="mailto:haopengzhan@163.com">haopengzhan@163.com</a>>
写道:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="ZH-CN">
<div>
<p class="MsoNormal"><span lang="EN-US">Peter:</span></p>
<p class="MsoNormal"><span lang="EN-US"> If we
want to find a fastest path between source and target,
it means every edge will have its own road’s general
speed information. Then there would be two weights for
each edge in the graph. </span></p>
<p class="MsoNormal"><span lang="EN-US"> How GH
achieve to calculate a fastest path ?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US">Pengzhan.</span></p>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>