arjasa1103 / IntelligentSystemResources

0 stars 0 forks source link

Fitness function for genetic algorithm #2

Open arjasa1103 opened 3 years ago

arjasa1103 commented 3 years ago

TL;DR

The fitness function should be defined for the solution to meet the specification of the optimal solution. Each problem has different fitness function, there is no particular rule that defines what fitness function should be used for a particular problem.

Article Link

How to define a fitness function in a genetic algorithm

Author

Vijini Mallawaarachchi

Key Takeaways

Fitness function should meet these requirements:

Fitness function has to be something that measures how good the solution is given the problem. It should be able to handle the solutions generated and show how to improve them.

The function should give low values for bad solution and high values for good solution.