Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nemetroid
· 6y ago · 0 comments
Nice visualization, but the algorithm doesn't seem quite right: given the following map (don't have a good way of sending a screenshot, sorry), it goes above and around rather than below:
XX S XE X
Comments
[–]
forsythe
6y ago
Its due to this:
https://github.com/ssaric/algoviz/blob/012c60acb2fa452ee5a3c...
Currently heuristics is hardcoded to be greedy. I am looking to change this in next few days
[–]
nemetroid
OP
6y ago
Just remove the "100 *" and it should be optimal.