JAVA · nearest neighbor · sqlite · tsp

TSP + Nearest Neighbor + SQLite DB + JAVA


00:10 import into Eclipse the downloaded zip file for ‘TSP Nearest Neighbor w/ JAVA Project’
00:25 create a new project and copy code from imported project
01:03 add and setup the sqlite jdbc jar file to the project
01:35 create a new package that will contain all 3 drivers for DB, File, & Hardcoded data
01:53 quickly refactor the code
02:40 code CreateDB01 class to create the database and create and populate the city table
04:00 code the ‘data from database’ DBDriver class
04:54 test run the ‘data from database’ DBDriver
06:00 create file containing cities and their latitudes and longitudes
06:50 code the ‘data from file’ FileDriver class
07:30 test run the ‘data from file’ FileDriver
08:07 test run the hardcoded data Driver

Website + download source code @ http://zaneacademy.com or https://zaneacademyapp.appspot.com

ant colony optimization · JAVA · sqlite · tsp

TSP + Ant Colony Optimization (ACO) + SQLite DB + JAVA


00:10 import into Eclipse the downloaded zip file for ‘TSP Ant Colony Optimization w/ JAVA Project’
00:28 create a new project and copy code from imported project
01:03 add and setup the sqlite jdbc jar file to the project
01:38 create a new package that will contain all 3 drivers for DB, File, & Hardcoded data
02:03 quickly refactor the code
05:45 test run the hardcoded data Driver
06:54 code CreateDB01 class to create the database and create and populate the city table
08:00 code the ‘data from database’ DBDriver class
09:10 create and populate the sqlite database containing cities and their latitudes and longitudes
09:17 test run the ‘data from database’ DBDriver
09:36 create file containing cities and their latitudes and longitudes
10:00 code the ‘data from file’ FileDriver class
10:26 test run the ‘data from file’ FileDriver

Website + download source code @ http://zaneacademy.com or https://zaneacademyapp.appspot.com

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 @ http://zaneacademy.com or https://zaneacademyapp.appspot.com