Skip to content

Commit 20ef255

Browse files
jarodlamcaptchanjack
authored andcommitted
[FIX] Small fixes for docs, and update LightOSMFiles URL
1 parent 16a4a12 commit 20ef255

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

Diff for: docs/make.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ makedocs(
1212
"create_graph.md",
1313
"shortest_path.md",
1414
"nearest_node.md",
15+
"nearest_way.md",
1516
"download_buildings.md",
1617
"create_buildings.md",
17-
"geolocation.md"
18+
"geolocation.md",
19+
"defaults.md"
1820
],
1921
"Unit Test Use" => "testing_use.md",
2022
]

Diff for: docs/src/nearest_way.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Nearest Node
1+
# Nearest Way
22

33
```@docs
44
nearest_way

Diff for: src/traversal.jl

+8-8
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ function astar(g::AbstractGraph{U},
148148
end
149149

150150
"""
151-
dijkstra([::Type{<:Dijkstra},]
152-
g::AbstractGraph{U},
153-
weights::AbstractMatrix{T},
154-
src::W,
155-
goal::W;
156-
cost_adjustment::Function=(u, v, parents) -> 0.0,
157-
max_distance::T=typemax(T)
158-
) where {T <: Real, U <: Integer, W <: Integer}
151+
dijkstra([::Type{<:Dijkstra},]
152+
g::AbstractGraph{U},
153+
weights::AbstractMatrix{T},
154+
src::W,
155+
goal::W;
156+
cost_adjustment::Function=(u, v, parents) -> 0.0,
157+
max_distance::T=typemax(T)
158+
) where {T <: Real, U <: Integer, W <: Integer}
159159
160160
Dijkstra's shortest path algorithm with an early exit condition, is the same as
161161
astar with heuristic cost as 0.

Diff for: test/runtests.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using Test
99

1010
include("stub.jl")
1111

12-
const TEST_OSM_URL = "https://raw.githubusercontent.com/captchanjack/LightOSMFiles.jl/main/maps/south-yarra.json"
12+
const TEST_OSM_URL = "https://raw.githubusercontent.com/DeloitteOptimalReality/LightOSMFiles.jl/main/maps/south-yarra.json"
1313

1414
@testset "LightOSM Tests" begin
1515
@testset "Constants" begin include("constants.jl") end

0 commit comments

Comments
 (0)