eval_update.m
来自「基于微分的多目标优化问题」· M 代码 · 共 21 行
M
21 行
function [idealpoint, subproblems]= eval_update(idealpoint, subproblems, inds)%EvaluationUpdate Summary of this function goes here% Detailed explanation goes hereobjs = [inds.objective];weights = [subproblems.weight];idealpoint = min(idealpoint, min(objs,[],2));for i=1:length(inds) subobjs = subobjective(weights, objs(:,i), idealpoint, 'ws'); %update the values. C = subobjs<[subproblems.optimal]; if any(C) ncell = num2cell(subobjs(C)); [subproblems(C).optimal] = ncell{:}; [subproblems(C).optpoint] = deal(inds(i)); endendend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?