gat_stat.m

来自「流水车间调度遗法」· M 代码 · 共 16 行

M
16
字号
%find out the statistics of genetic algorithms
%and draw the bar chart or pie chart

%The statistics are:
%1. the 1st generation # that appear the optimal solution
%2. The optimal solution ratio
%3. The average CPU time
%4.
function GAT_stat()


global Pm
global Pc        %probability of crossover
global real_chromosome
global everyGenResult
global boundGen  %

⌨️ 快捷键说明

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