Skip to content

Deep Nearest Neighbour as an approximate algorithm for a variant of the Travelling Salesman Problem

License

Notifications You must be signed in to change notification settings

luisds95/pathfinding-tsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Nearest Neighbour as an approximate algorithm for a variant of the Travelling Salesman Problem

This repo proposes an approximate solution to the problem:

“A player faces a grid board game with multiple coins. At random, a number K of coins will be selected. Find the expected number of steps the player will need to take to collect all coins. The player may start at any coin and can only move up, down, right or left. All coins are guaranteed to be reachable from all other coins.”

An explanation of the code and the logic behind it is available in this article

About

Deep Nearest Neighbour as an approximate algorithm for a variant of the Travelling Salesman Problem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages