基于SCILAB的The Genetic Algorithm Toolbox for SCILAB (GATS)工具箱

源代码在线查看: draw_pareto.sci

软件大小: 622 K
上传用户: jun604001464
关键词: SCILAB Algorithm Genetic Toolbox
下载地址: 免注册下载 普通下载 VIP

相关代码

				function [x]=draw_Pareto(traceInfo,best,pareto,Opt)
				
				if Opt(1)
				    xbasc();		// clear screen
				end;
				
				[a,c]=sort(pareto(:,1));
				x=pareto(c(:,1),1)';		// Pareto Border x coordinate
				y1=pareto(c(:,1),2);		// Pareto Border y coordinate
				y2=(10 ./x)';				// theoritical optimization coordinate
				plot2d(x, [y1, y2]);
				x = TK_GetVar('user_stop');	// check whether user stop
				x = eval(x);
				endfunction
				
							

相关资源