Skip to content

About

A Genetic algorithm, aimed at finding maxima of any 2 variable function.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Genetic-Algorithm

A Genetic algorithm, aimed at finding maxima of any 2 variable function.

The equation has to be written as a part of the fitness function.

fitness() function by defaults finds the maxima for: f(x,y) = x^2 +y^2 fitness1() functions by defaults finds maxima for : f(x,y) = (x^2-y)^2 + (1-x)^2

The domain of x and y can be fixed.

The program does specific number of runs, for the specified number of generations, and plots the average fitness (output of the function), for each generation.

About

A Genetic algorithm, aimed at finding maxima of any 2 variable function.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages