MOEAD算法理解

多目标优化–MOEAD算法笔记
在这里插入图片描述
初始化
外部种群(EP),用来存储目前算法搜索到的最优解。
计算任意两个权重之间的欧式距离,
在这里插入图片描述

在这里插入图片描述
这是论文对相邻的解释
这是论文对相邻的解释

    jmetal源码
    public void run() {
        初始化种群
        this.initializePopulation();
        权重?
        this.initializeUniformWeight();
        邻居?
        this.initializeNeighborhood();
        理想点 z?
        this.initializeIdealPoint();
        this.evaluations = this.populationSize;
		 permutation 排列
        do {
            int[] permutation = new int[this.populationSize];
            MOEADUtils.randomPermutation(permutation, this.populationSize);

            for(int i = 0; i < this.populationSize; ++i) {
                int subProblemId = permutation[i];
                NeighborType neighborType = this.chooseNeighborType();
                List<DoubleSolution> parents = this.parentSelection(subProblemId, neighborType);
                this.differentialEvolutionCrossover.setCurrentSolution((DoubleSolution)this.population.get(subProblemId));
                每个子问题在邻居个体内交叉变异
                List<DoubleSolution> children = this.differentialEvolutionCrossover.execute(parents);
                DoubleSolution child = (DoubleSolution)children.get(0);
                this.mutationOperator.execute(child);
                this.problem.evaluate(child);
                ++this.evaluations;
                this.updateIdealPoint(child);
                根据聚合函数值更新父代种群
                this.updateNeighborhood(child, subProblemId, neighborType);
            }
        } while(this.evaluations < this.maxEvaluations);

    }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值