【问题标题】:Cellular Genetic Algorithm - individual evaluation before selecting parents细胞遗传算法 - 选择父母之前的个人评估
【发布时间】:2016-06-28 14:36:04
【问题描述】:

在细胞遗传算法中:

for each cell in the grid do in parallel
    generate a random individual
end parallel for
while not termination condition do
    for each cell in the grid do in parallel
        Evaluate individual
        Select individual(s) in the neighbourhood ( )
        Produce offspring
        Evaluate offspring
        Assign one of the offspring to cell according to some criterion
    end parallel for
end while

为什么在选择父母之前必须对个人进行评估? (第 6 行)。据我了解,必须在应用运算符后对自豪的个体(即后代)进行评估。

【问题讨论】:

    标签: genetic-algorithm evolutionary-algorithm


    【解决方案1】:

    在遗传算法中,好的解决方案应该获得更高的交配机会(将它们的 DNA 转移给下一代)。例如,快速和强壮(高适应度值)的动物有更多的交配机会。 大自然给予适合动物的优待。因此,在您的算法中,必须先进行适应性评估,然后再决定选择哪些父母进行交配。一般来说,适应度值与被选为父母的可能性成正比。 看看如何进行选择:“偏向轮盘赌”父选择技术。

    【讨论】:

    • 如果个体具有高适应度值并且是作为父母的好人选,那么在这种情况下稍后将被替换的孩子是什么(第10行)?
    猜你喜欢
    • 1970-01-01
    • 2019-05-26
    • 2020-04-14
    • 2012-12-10
    • 2019-12-26
    • 2015-11-10
    • 1970-01-01
    • 2017-08-15
    • 2014-07-24
    相关资源
    最近更新 更多