⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 evaluate.m

📁 基于微分的多目标优化问题
💻 M
字号:
function [v, x] = evaluate( prob, x )%EVALUATE function evaluate an individual structure of a vector point with%the given multiobjective problem.%   Detailed explanation goes here%   prob: is the multiobjective problem.%   x: is a vector point, or a individual structure.%   v: is the result objectives evaluated by the mop.%   x: if x is a individual structure, then x's objective field is modified%   with the evaluated value and pass back.%   TODO, need to refine it to operate on a vector of points.    if isstruct(x)        v = prob.func(x.parameter);        x.objective=v;    else        v = prob.func(x);    end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -