What are the differences between genetic algorithms and genetic programming?

前端 未结 6 1794
别跟我提以往
别跟我提以往 2020-12-05 02:40

I would like to have a simple explanation of the differences between genetic algorithms and genetic programming (without too much programming jargon). Examples would also be

6条回答
  •  离开以前
    2020-12-05 03:29

    Practical answer:

    GA is when using a population and evolve the generations of population to a better state. (For example how the humans have evolved from animals to people, by breading and get better genes)

    GP is when by known definition of the problem generate code into better solve a problem. (GP will usually give a lots of if/else statements, that will explain the solution)

提交回复
热议问题