I am trying to implement a fitness function for a genetic algorithm and have problem with understand

Semaj Christian

Semaj Christian

Answered question

2022-06-10

I am trying to implement a fitness function for a genetic algorithm and have problem with understanding what function maximization means. In the paper which I use as the basis of the algorithm, the fitness function is defined as (1-RC) + (1-RO), where RC and RO are floating point values between 0 and 1, which I calculate using another formulas. However in the next paragraph of the article it is written - "This function (fitness function) has to be maximized"

I am struggling to understand what that means. Could you please explain it in easy-to-understand way for a Math noob? Thank you!

Answer & Explanation

livin4him777lf

livin4him777lf

Beginner2022-06-11Added 14 answers

Alright, thank you, I think I get it now. This is the whole purpose of the fitness function in evolutionary programming, to evolve the most suitable individual with parameters which will cause the fitness function to reach maximum value. I thought there is something more to this, math-related which I don't understand. Thanks!

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school geometry

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?