%--------------------------------------------------------------------------
% This function identifies the pareto frontier of a set of points (assuming
% smaller values are more desirable)
%--------------------------------------------------------------------------
% Input: input, a matrix, each row correspondes to a point, each column
% correspond to a dimension
%--------------------------------------------------------------------------
% Outputs:
% (1) membership: a logical array, have same number of rows as input
% matrix, 1 indicate the corresponding point in input matrix is a member of
% pareto frontier, 0 otherwise
% (2) member_value: matrix, contain point(s) on the pareto frontier.
%--------------------------------------------------------------------------
% Example:
% x=rand(100,2);
% [membership,member_value]=find_pareto_frontier(x);
% plot(x(:,1),x(:,2),'.','markersize',15);
% hold on;
% plot(member_value(:,1),member_value(:,2),'.r','markersize',15);
% legend({'Data','Pareto Frontier'})
%
%--------------------------------------------------------------------------
引用
Sisi Ma (2025). find_pareto_frontier (https://www.mathworks.com/matlabcentral/fileexchange/45885-find_pareto_frontier), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |