0001
0002
0003
0004
0005
0006 function []=display(of)
0007
0008 if ~isa(of,'objective_function')
0009 error('Object ''%s'' is a ''%s'' class object, not ''%s''.',...
0010 inputname(1),class(of),'objective_function');
0011 end
0012
0013
0014
0015 disp(sprintf('\n'));
0016 for i=1:numel(of)
0017 disp(sprintf('class ''%s'' object ''%s%s'' = \n',...
0018 class(of),inputname(1),string_dim(of,i)));
0019 disp(sprintf(' descriptor: ''%s''' ,of(i).descriptor));
0020 disp(sprintf(' scale_type: ''%s''' ,of(i).scale_type));
0021 disp(sprintf(' scale: %g' ,of(i).scale));
0022 disp(sprintf(' weight: %g\n' ,of(i).weight));
0023 end
0024
0025 end