资源简介
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开发-能带计算
- matlab开发-FlockingAlgorithm
- matlab开发-MuellerStokesJonesCalculus
- matlab开发-HX711的自定义数据库
- matlab开发-SMOTEBoost
- matlab开发-果蝇优化算法第二版
- matlab开发-多变量决策树
- matlab开发-水轮发电机模型
- matlab开发-交通警告标志识别标签代码
- matlab开发-RUSBoost
- matlab开发-基于遗传算法的机器人运动
- matlab开发-MPU6050加速度陀螺仪
- matlab开发-功率曲线FAsmallscalewindturbi
- matlab开发-NASAJPLDE405开发星历表
- matlab开发-SortinoRatio
- matlab开发-永磁TDC并联电机数学模型
- matlab开发-3相SPWM整流器
- matlab开发-Kilobotswarm控制Matlabarduino
- matlab开发-简单音频播放
- matlab开发-记录文件的绘图仪加速度、
- matlab开发-永磁同步电机PMSM动态数学模
- matlab开发-多目标优化差分进化算法
- matlab开发-随机微分方程解算
- matlab开发-波长调制光谱的二次谐波模
- matlab开发-仿制药生物生理学基础药动
- matlab开发-使用svmrfe选择功能
- matlab开发-KDTreeNearestNeighborandRangeSear
- matlab开发-stlread
- matlab开发-三维图像堆栈查看器
- matlab开发-动态电压恢复器故障dvr
评论
共有 条评论