⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 draw_tsp.sci

📁 基于SCILAB的The Genetic Algorithm Toolbox for SCILAB (GATS)工具箱
💻 SCI
字号:
function [x]=draw_TSP(traceInfo,best,pareto,Opt)
global city_loc;


n = size(best,2)-1;
//disp(best(1:n));
//disp(city_loc(best(1:n),1));
//disp(city_loc(best(1:n),2));
xbasc();
//xset("wresize",1);
//xset("wdim",1000,500);
xpoly(city_loc(best(1:n),1),city_loc(best(1:n),2),"lines",1);
//xpoly(city_loc(best(1:n),1),rand(n,1),"lines",1);
//halt();

x = 0;
endfunction

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -