Code covered by the BSD License
-
[c,lg]=paretopoint5(lg,figura...
-
layeraxis5(lg,range)
layeraxis5(lg,range)
-
lg=classbycondition5(lg,cond)
lg=classbycondition5(lg,cond)
-
lgdmtool5(varargin)
LGDMTOOL5 M-file for lgdmtool5.fig
-
objaxis5(lg,obj,range)
objaxis5(lg,obj,range)
-
paraxis5(lg,par,range)
paraxis5(lg,par,range)
-
buildlgstruct5.m
-
classbypreference5.m
-
layergraph5.m
-
removeextreme5.m
-
View all files
from
Leveldiagrams for multiobjective decision making
by Xavier Blasco
A tool to draw Leveldiagrams for Pareto Set/Front, allowing
some basics graphics manipulations.
|
| lg=classbycondition5(lg,cond)
|
function lg=classbycondition5(lg,cond)
% lg=classbycondition5(lg,cond)
% classify by inequality condition on an objective
% prefered value for an objectif is under maxvalue
% cond=[numobjetif,maxvalue]
%
% (c) cpoh 2006-2009
nobj=cond(1);
vmax=cond(2);
lg.pref=ones(lg.numind,1)*0.2;
%% establecimiento de preferencias
for i=1:lg.numind
if lg.spf(i,nobj)>=vmax %esta condicion se puede modificar
% para tener en cuenta cualquier combinacion logica sobre
% los puntos del frente de pareto o sobre el conjunto de pareto
lg.pref(i)=0.8;
end
end
lg.worstpref=1;
%% incluye sortbyobjective
[lg.pref,ix]=sort(lg.pref);
lg.spf=lg.spf(ix,:);
lg.sps=lg.sps(ix,:);
lg.slayer=lg.slayer(ix,:);
|
|
Contact us