Skip to content

Commit

Permalink
deploy: 40bb502
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Jan 11, 2025
1 parent b8f7ee5 commit 22754be
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 11 deletions.
Binary file modified assets/backend_bg.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions assets/main-a17b71fa.js → assets/main-ff70ca1b.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/worker-bfe3972b.js → assets/worker-ad698ee3.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion doc/graph/struct.Graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@
translation to/from WGS84.</p>
</div><span id="structfield.profile_names" class="structfield section-header"><a href="#structfield.profile_names" class="anchor field">§</a><code>profile_names: <a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="struct.ProfileID.html" title="struct graph::ProfileID">ProfileID</a>&gt;</code></span><span id="structfield.walking_profile_for_transit" class="structfield section-header"><a href="#structfield.walking_profile_for_transit" class="anchor field">§</a><code>walking_profile_for_transit: <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.ProfileID.html" title="struct graph::ProfileID">ProfileID</a>&gt;</code></span><span id="structfield.routers" class="structfield section-header"><a href="#structfield.routers" class="anchor field">§</a><code>routers: <a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.Router.html" title="struct graph::Router">Router</a>&gt;</code></span><div class="docblock"><p>Per profile</p>
</div><span id="structfield.boundary_polygon" class="structfield section-header"><a href="#structfield.boundary_polygon" class="anchor field">§</a><code>boundary_polygon: Polygon</code></span><div class="docblock"><p>A polygon covering the study area.</p>
</div><span id="structfield.gtfs" class="structfield section-header"><a href="#structfield.gtfs" class="anchor field">§</a><code>gtfs: <a class="struct" href="struct.GtfsModel.html" title="struct graph::GtfsModel">GtfsModel</a></code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Graph" class="impl"><a class="src rightside" href="../src/graph/create.rs.html#12-147">source</a><a href="#impl-Graph" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Graph.html" title="struct graph::Graph">Graph</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/graph/create.rs.html#20-118">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;R: OsmReader&gt;(
</div><span id="structfield.gtfs" class="structfield section-header"><a href="#structfield.gtfs" class="anchor field">§</a><code>gtfs: <a class="struct" href="struct.GtfsModel.html" title="struct graph::GtfsModel">GtfsModel</a></code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Graph" class="impl"><a class="src rightside" href="../src/graph/create.rs.html#12-151">source</a><a href="#impl-Graph" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Graph.html" title="struct graph::Graph">Graph</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/graph/create.rs.html#22-122">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;R: OsmReader&gt;(
input_bytes: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.u8.html">u8</a>],
osm_reader: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.reference.html">&amp;mut R</a>,
post_process_graph: <a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;mut Graph) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.95/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.unit.html">()</a>&gt;&gt;,
profiles: <a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.83.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&amp;Tags, &amp;LineString) -&gt; (<a class="enum" href="enum.Direction.html" title="enum graph::Direction">Direction</a>, <a class="struct" href="https://doc.rust-lang.org/1.83.0/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>)&gt;)&gt;,
timer: &amp;mut <a class="struct" href="struct.Timer.html" title="struct graph::Timer">Timer</a>,
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.95/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="struct.Graph.html" title="struct graph::Graph">Graph</a>&gt;</h4></section></summary><div class="docblock"><p>Constructs a graph from OpenStreetMap data.</p>
<ul>
<li><code>input_bytes</code>: Bytes of an osm.pbf or osm.xml file</li>
<li><code>osm_reader</code>: A callback for every OSM element read, to extract non-graph data</li>
<li><code>post_process_graph</code>: A callback to remove edges and intersections after initially
importing.</li>
<li><code>profiles</code>: A list of named profiles. Each one assigns an access direction and cost,
given OSM tags and a Euclidean center-line. If every profile assigns <code>Direction::None</code>,
then the Road is completely excluded from the graph.</li>
Expand Down
4 changes: 2 additions & 2 deletions doc/search-index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 22754be

Please sign in to comment.