资源简介
matlab开发-ParetoSet。从n个具有k个目标的点查找pareto集
代码片段和文件信息
function membership=paretoset(X)
% PARETOSET To get the Pareto set from a given set of points.
% synopsis: membership =paretoset (objectiveMatrix)
% where:
% objectiveMatrix: [number of points X number of objectives] array
% membership: [number of points X 1] logical vector to indicate if ith
% point belongs to the Pareto set (true) or not (false).
%
% by Yi Cao Cranfield University 02 June 2007
% Revised by Yi Cao on 17 October 2007
% Version 3 21 October 2007 new sorting scheme to improve speed.
% Bugfix 25 July 2008 devided by zero error is fixed.
%
% Examples: see paretoset_examples
%
m=size(X1);
Xmin=min(X);
X1=X-Xmin(ones(m1):); %make sure X1>=0;
Xmean=mean(X1);
%sort X1 so that dominated points can be removed quickly
[xchecklist]=sort(max(X1./(Xmean(ones(m1):)+max(Xmean))[]2));
Y=X(checklist:);
membership=false(m1);
while numel(checklist)>1
k=checklist(1);
[membership(k)checklistY]=paretosub(Ychecklist);
end
membership(checklist)=true;
function [isparetonondominatedX]=paretosub(Xchecklist)
Z=X-X(ones(size(X1)1):);
nondominated=any(Z<02); %retain nondominated points from the check list
ispareto=all(any(Z(nondominated:)>02)); %check if current point belongs to pareto set
X=X(nondominated:);
nondominated=checklist(nondominated);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1444 2014-04-03 12:56 paretosetV5\paretoset.m
文件 1249 2014-04-03 12:56 paretosetV5\paretoset_examples.m
文件 1306 2014-04-03 12:56 license.txt
相关资源
- matlab开发-ShamirsSecretSharing
- matlab开发-othellom
- matlab开发-EMGONOFF
- matlab开发-级联H桥多电平转换三相
- matlab开发-带图形用户界面的步进电机
- matlab开发-MFTireGUI
- matlab开发-自适应霍夫曼编码技术字符
- matlab开发-ConnectFour
- matlab开发-floodfillscanline
- matlab开发-Paretosurfacenavigator
- matlab开发-分步序达尔文粒子群优化
- matlab开发-改进的解决方案经济调度方
- matlab开发-为Resnet50网络设计工具箱模
- matlab开发-sigmoid
- matlab开发-同步发电机的详细模型,包
- matlab开发-多层反向传播神经网络
- matlab开发-Parrotminirones的模拟支持包
- matlab开发-nnsysid
- matlab开发-使用gnewton-raphson方法查找任
- matlab开发-UR5控制Matlab
-
matlab开发-mssamultiob
jectivesalpswarmalg - matlab开发-Vasicek
- matlab开发-直流到全桥逆变器
- matlab开发-使用xFoiland ParseCGeometric参数
- matlab开发-如何模拟6到10个输入状态空
- matlab开发-mtype340
- matlab开发-rafaelaeroXFOILinterface
-
matlab开发-单相三电平去阻尼Pwmba
s - matlab开发-scatter3sph
- matlab开发-TraCI4Matlab
评论
共有 条评论