JAVA · recursive brute force · sqlite · traveling salesman problem · tsp

TSP + Brute Force Algorithm + SQLite DB + JAVA

00:10 import into Eclipse the downloaded zip file for ‘TSP Brute Force w/ JAVA Project’
00:25 create a new project and copy code from imported project
00:55 add and setup the sqlite jdbc jar file to the project
01:18 create a new package that will contain all 3 drivers for DB, File, & Hardcoded data
01:28 quickly refactor the code
03:26 code CreateDB01 class to create the database and create and populate the city table
04:33 code the ‘data from database’ DBDriver class
05:39 create and populate the sqlite database containing cities and their latitudes and longitudes
06:00 test run the ‘data from database’ DBDriver
06:36 create file containing cities and their latitudes and longitudes
07:01 code the ‘data from file’ FileDriver class
07:37 test run the ‘data from file’ FileDriver

Website + download source code @ or