8000 GitHub - alan-chen-lab/genetic-algorithm: SGA/GA/PSO/MOGA/SA
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alan-chen-lab/genetic-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genetic-algorithm

Course from NTNU

Final HW : Path Planning with Genetic Algorithm

  1. fixed map

  2. random map

Performed path planning through genetic algorithms in self-created scenarios, and compare different path-planning algorithm (A*).


  • FlowChart:

flowchart

  • Result:

𝑓𝑖𝑡 = 𝑟1 ∗ 𝑝𝑎𝑡ℎ_𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒 + 𝑟2 ∗ 𝑝𝑎𝑡ℎ_𝑠𝑚𝑜𝑜𝑡ℎ

When 𝑟1 = 1, 𝑟2 = 0, population = 40, Pc = 0.5, Pm = 0.8, iteration = 30

flowchart


When 𝑟1 = 5, 𝑟2 = 2, population = 40, Pc = 0.5, Pm = 0.8, iteration = 30

flowchart


When 𝑟1 = 5, 𝑟2 = 2, population = 40, Pc = 0.5, Pm = 0.8, iteration = 30

flowchart

About

SGA/GA/PSO/MOGA/SA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0