Skip to content

Jenetics(Java Genetic algorithms) & TSP(travel sales Problem)

Notifications You must be signed in to change notification settings

Hyorm/TSP_Genetics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSP_Genetics

Summary

  • Personal Project(17-2)

A program that uses genetic algorithms to solve the travel sales program(TSP). TSP is a problem that cannot be solved without considering the number of all cases. To solve these problems, I used a genetic algorithm to generate a path by considering the weight of all nodes, and to evolve each generated path to derive the most appropriate results. After that, I further resolved the TSP problem using a library called Jenetics, and compared the results, I found that the program in this project had a better resolution at the same time. The comparison results will be uploaded additionally.

Program Design

src ----- tsp ----- main ---------- Main.java
              |          |     
              |          ---------- ReadFile.java
              |          |
              |          ---------- MakeNode.java
              |          |
              |          ---------- MakeSequence.java
              |
              ----- evolution ----- Path.java
              |               |
              |               ----- Generation.java
              |               |
              |               ----- Evolution.java
              |               
              ----- gui ----------- ShowData.java
              
ANT
  1. ant build
  2. ant clean
  3. ant doc

About

Jenetics(Java Genetic algorithms) & TSP(travel sales Problem)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages