Skip to content

bruno147/driver-ga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genetic Algorithm

A genetic algorithm implementation for evolving the FSMDriver driving parameters. Although it was developed for this specific application the code can be used in any application.

Usage

There is a set of parameters arleady defined in Genetic_Algorithm/Chromosome.h those were used in the FSMDriver evolution. Feel free to try new combinations. The default fitness function is the distance covered (defined in FSMDriver/GADriver.cpp) you can also change that function to whatever fitness you want.

If you want to use the GA in a different application simply change the methods in GaAdapter class based on what you want to use.

Compiling & Executing

Binary files will be created in the bin directory. To compile:

cd build
cmake ..
make

To execute:

cd bin
./DriverGeneticAlgorithm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •