Skip to content

Commit

Permalink
new images for writeup
Browse files Browse the repository at this point in the history
  • Loading branch information
Squalm committed Jun 25, 2022
1 parent 93d46c2 commit b1b63bf
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travellingants.jl
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function ants(points::Vector{Vector{Float64}}, iters = 500, n = 20, evaporation
for order in orders

# Run optimisation (decrosses most crossed lines)
# on each order, limited to making 10 changes.
# on each order, limited to making k changes.
order = decross(order, points, 3)

end # for
Expand Down Expand Up @@ -461,7 +461,7 @@ function draw(ph::Matrix{Float64})

end # function

t = gen_points(50, 2)
t = gen_points(18, 2)

a = ants(t, 20000, 50, 0.1, 2.0, true)
println("Ants solution: " * string(a.order) * " Distance: " * string(a.distance))
Expand Down
Binary file added writeup/220211 ANT.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added writeup/220211 FOOD.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added writeup/220211 PH.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added writeup/220300 ANT.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added writeup/Ant Colony flow chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b1b63bf

Please sign in to comment.