亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? graphicscontinue.m

?? 遺傳規劃的matlab工具箱
?? M
字號:
function gfxState=graphicscontinue(params,state,gfxState)
%GRAPHICSCONTINUE    Draws past history lines in the GPLAB graphics.
%   GFXSTATE=GRAPHICSCONTINUE(PARAMS,STATE,GFXSTATE)
%   returns the first points in the graphics where the lines will
%   continue to be drawn after the past history lines just redrawn.
%
%   Input arguments:
%      PARAMS - the algorithm running parameters (struct)
%      STATE - the current state of the algorithm (struct)
%      GFXSTATE - handles and other variables for the plot elements
%   Output arguments:
%      GFXSTATE - handles and other variables for the plot elements
%
%   See also GRAPHICSINIT, GRAPHICSSTART, GRAPHICSGENERATIONS
%
%   Copyright (C) 2003-2004 Sara Silva (sara@dei.uc.pt)
%   Acknowledgements: SINTEF (hso@sintef.no,jtt@sintef.no,okl@sintef.no)
%   This file is part of the GPLAB Toolbox

% restore old history:
for p=1:length(params.graphics)
   
   if strcmp(params.graphics{p},'plotfitness')
		figure(gfxState.fplotfitness);
		% be careful to avoid log10(0) and log10(<0):
		warning off
		completefithistory=state.fithistory(:,[1,4,3]);
		completefithistory(:,4)=state.fithistory(:,3)-state.fithistory(:,5);
      completefithistory(:,5)=state.fithistory(:,3)+state.fithistory(:,5);
      if params.usetestdata
         completefithistory(:,6:7)=state.bestfithistory;
      else
         completefithistory(:,6)=state.bestfithistory';
      end
		log10fithistory=log10(completefithistory);
		log10fithistory(find(isinf(log10fithistory)|imag(log10fithistory)))=0;
      warning on
      % set same color for both stds:
		handles=plot(0:state.generation,log10fithistory);
		set(handles(2),'color','green');
      set(handles(3),'color',[200/255 200/255 0]);
   	set(handles(4:5),'linestyle',':','color',get(handles(3),'color'));
      set(handles(6),'color',get(handles(1),'color'),'linewidth',1.5);
      if params.usetestdata
      	set(handles(7),'color','red','linewidth',1.5);
      end
      % set lastpoints:
      if params.usetestdata
         gfxState.oldpoint1(1,1:7)=state.generation;
      else
         gfxState.oldpoint1(1,1:6)=state.generation;
      end
		gfxState.oldpoint1(2,1)=state.maxfitness;
		gfxState.oldpoint1(2,2)=state.medianfitness;
		gfxState.oldpoint1(2,3)=state.avgfitness;
		gfxState.oldpoint1(2,4)=state.avgfitness-state.stdfitness;
      gfxState.oldpoint1(2,5)=state.avgfitness+state.stdfitness;
      gfxState.oldpoint1(2,6)=state.bestsofar.fitness;
      if params.usetestdata
	      gfxState.oldpoint1(2,7)=state.bestsofar.testfitness;
      end
      
   elseif strcmp(params.graphics{p},'plotcomplexity')
		figure(gfxState.fplotcomplexity);
		if strcmp(params.depthnodes,'1') % depth
         if strcmp(params.calccomplexity,'1')
            handles=plot(0:state.generation,[state.levelhistory*10;state.bestlevelhistory*10;state.avglevelhistory*10;state.bestnodeshistory;state.avgnodeshistory;state.bestintronshistory;state.avgintronshistory;state.avgtreefillhistory]);
         else
            handles=plot(0:state.generation,[state.levelhistory*10;state.bestlevelhistory*10;state.bestnodeshistory;state.bestintronshistory]);
         end
      else % nodes
         if strcmp(params.calccomplexity,'1')
            handles=plot(0:state.generation,[state.levelhistory;state.bestnodeshistory;state.avgnodeshistory;state.bestintronshistory;state.avgintronshistory;state.bestlevelhistory*10;state.avglevelhistory*10;state.avgtreefillhistory]);
         else
            handles=plot(0:state.generation,[state.levelhistory;state.bestnodeshistory;state.bestintronshistory;state.bestlevelhistory*10]);
         end
      end
      set(handles(1),'color',get(handles(2),'color'),'linewidth',1.5);
     	set(handles(2),'linestyle',':','marker','*');
      if strcmp(params.calccomplexity,'1')
	      set(handles(3),'color',get(handles(2),'color'));
         set(handles(4),'linestyle',':','marker','*');
         set(handles(5),'color',get(handles(4),'color'));
         set(handles(6),'linestyle',':','marker','*');
         set(handles(7),'color',get(handles(6),'color'));
         set(handles(8),'color','black','marker','.');
      else
      	set(handles(3),'linestyle',':','marker','*');
         set(handles(4),'linestyle',':','marker','*');
      end
      if strcmp(params.calccomplexity,'1')
         gfxState.oldpoint2(1,1:8)=state.generation;
      else
         gfxState.oldpoint2(1,1:4)=state.generation;
      end
      if strcmp(params.depthnodes,'1') % depth
         gfxState.oldpoint2(2,1)=state.maxlevel*10;
         gfxState.oldpoint2(2,2)=state.bestsofar.level*10;
         if strcmp(params.calccomplexity,'1')
            gfxState.oldpoint2(2,3)=state.avglevelhistory(end)*10;
            gfxState.oldpoint2(2,4)=state.bestsofar.nodes;
            gfxState.oldpoint2(2,5)=state.avgnodeshistory(end);
            gfxState.oldpoint2(2,6)=state.bestsofar.introns;
            gfxState.oldpoint2(2,7)=state.avgintronshistory(end);
            gfxState.oldpoint2(2,8)=state.avgtreefillhistory(end);
         else
         	gfxState.oldpoint2(2,3)=state.bestsofar.nodes;
            gfxState.oldpoint2(2,4)=state.bestsofar.introns;
         end
      else
         gfxState.oldpoint2(2,1)=state.maxlevel;
         gfxState.oldpoint2(2,2)=state.bestsofar.nodes;
         if strcmp(params.calccomplexity,'1')
            gfxState.oldpoint2(2,3)=state.avgnodeshistory(end);
            gfxState.oldpoint2(2,4)=state.bestsofar.introns;
            gfxState.oldpoint2(2,5)=state.avgintronshistory(end);
            gfxState.oldpoint2(2,6)=state.bestsofar.level*10;
            gfxState.oldpoint2(2,7)=state.avglevelhistory(end)*10;
            gfxState.oldpoint2(2,8)=state.avgtreefillhistory(end);
         else
            gfxState.oldpoint2(2,3)=state.bestsofar.introns;
            gfxState.oldpoint2(2,4)=state.bestsofar.level*10;
         end
      end
		      
   elseif strcmp(params.graphics{p},'plotdiversity')
      figure(gfxState.fplotdiversity);
      alldiversity=[];
      for i=1:length(params.calcdiversity)
         eval(['alldiversity=[alldiversity;state.diversityhistory.' params.calcdiversity{i} '];']);
      end
      %plot(0:state.generation,[state.diversityhistory.uniquegen;state.diversityhistory.hamming]);
      plot(0:state.generation,alldiversity);
      gfxState.oldpoint2a(1,1:length(params.calcdiversity))=state.generation;
      for i=1:length(params.calcdiversity)
         eval(['gfxState.oldpoint2a(2,' int2str(i) ')=state.diversityhistory.' params.calcdiversity{i} '(end);']);
		end
      
   elseif strcmp(params.graphics{p},'plotoperators')
      figure(gfxState.fplotoperators);
      handles=plot(0:state.generation,state.ophistory);
      set(handles(1:length(state.operatorprobs)),'linewidth',1.5);
      for r=1:size(state.opfreqhistory,1)
         if sum(state.opfreqhistory(r,:))==0
            relativefreqhistory(r,:)=normalize(ones(1,length(params.operatornames)),1);
         else
            relativefreqhistory(r,:)=state.opfreqhistory(r,:)./sum(state.opfreqhistory(r,:));
         end
      end
      handles=plot(0:state.generation,relativefreqhistory);
      set(handles(1:length(state.operatorprobs)),'linestyle',':');
	   gfxState.oldpoint3(1,1:length(state.operatorprobs))=state.generation;
   	gfxState.oldpoint3(2,:)=state.operatorprobs;   
	   gfxState.oldpoint4(1,1:length(state.operatorprobs))=state.generation;
   	if sum(state.operatorfreqs)==0
      	gfxState.oldpoint4(2,:)=normalize(ones(1,length(params.operatornames)),1);
      else
         gfxState.oldpoint4(2,:)=state.operatorfreqs./sum(state.operatorfreqs);
      end
      handles=plot(0:state.generation,state.reproductionhistory./params.gengap);
      set(handles,'color','black');
      gfxState.oldpoint5(1,1)=state.generation;
      gfxState.oldpoint5(2,1)=state.reproductionhistory(end)./params.gengap;
      gfxState.oldpoint6(1,1:length(state.operatorprobs))=state.generation;
      gfxState.oldpoint6(2,:)=state.cloninghistory(end,:)./params.gengap;
      handles=plot(0:state.generation,state.cloninghistory./params.gengap);
      set(handles,'marker','x');
   end
      
end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合天天综合色综合av| 九九精品一区二区| 99久久免费视频.com| 国产精品视频一二三| 99久久亚洲一区二区三区青草| |精品福利一区二区三区| 91网站在线观看视频| 亚洲综合男人的天堂| 欧美日韩视频在线一区二区| 免费观看在线色综合| 久久精品一区二区三区四区| av电影一区二区| 亚洲综合免费观看高清在线观看| 欧美精品一二三| 国产综合久久久久影院| 国产精品激情偷乱一区二区∴| 色婷婷av一区二区| 日韩成人精品在线观看| 国产欧美一区二区三区在线看蜜臀| 不卡一二三区首页| 天天综合天天做天天综合| 久久人人97超碰com| 色哟哟精品一区| 美女视频网站久久| 国产精品初高中害羞小美女文| 在线精品视频一区二区| 黑人巨大精品欧美黑白配亚洲 | 欧美日韩成人在线| 激情六月婷婷综合| 亚洲精品大片www| 精品久久久久av影院| 色网站国产精品| 麻豆国产一区二区| 亚洲情趣在线观看| 2023国产精品| 欧美日韩美少妇| www.视频一区| 久久99国产精品久久99| 亚洲一区影音先锋| 欧美国产激情二区三区| 欧美日本一区二区三区四区| 不卡在线视频中文字幕| 美女网站一区二区| 亚洲国产成人精品视频| 欧美国产一区二区| 日韩久久免费av| 欧美日本在线播放| 91啪九色porn原创视频在线观看| 极品美女销魂一区二区三区| 亚洲午夜电影网| 成人欧美一区二区三区白人| 精品99一区二区三区| 欧美日韩亚洲另类| 在线视频国内一区二区| 白白色 亚洲乱淫| 国产原创一区二区三区| 日本成人在线视频网站| 一区二区三区视频在线看| 国产精品二三区| 国产午夜精品久久久久久久 | 色综合中文综合网| 91视频91自| 国产成人在线免费| 国产在线精品免费| 精品午夜久久福利影院 | 日本亚洲电影天堂| 亚洲国产综合视频在线观看| 亚洲视频中文字幕| 国产精品国产自产拍在线| 久久久久久久av麻豆果冻| 日韩一区二区视频在线观看| 欧美乱妇一区二区三区不卡视频| 在线免费观看视频一区| 91色porny蝌蚪| 色悠久久久久综合欧美99| 色综合天天综合网天天看片| 91视频在线观看免费| 91一区二区在线观看| 一本色道久久综合狠狠躁的推荐| 99国产精品久久久| 色悠久久久久综合欧美99| 欧美在线免费观看视频| 欧美性感一类影片在线播放| 欧美日韩亚洲综合在线| 欧美另类高清zo欧美| 欧美一区二区黄色| 精品久久一二三区| 国产欧美日产一区| 中文字幕欧美一区| 一区二区三区四区av| 午夜精品久久久久久久久久久 | 91精品久久久久久蜜臀| 欧美剧情片在线观看| 欧美一区二区三区视频在线观看 | 欧美精品一区二区蜜臀亚洲| 精品处破学生在线二十三| 国产亚洲一区字幕| 综合激情网...| 视频一区视频二区中文| 黑人巨大精品欧美一区| 懂色av一区二区在线播放| 97久久精品人人爽人人爽蜜臀| 日本高清无吗v一区| 欧美一级xxx| 欧美国产视频在线| 亚洲国产欧美日韩另类综合| 另类专区欧美蜜桃臀第一页| 国产一区二区三区在线观看精品| eeuss鲁片一区二区三区| 在线观看av一区二区| 欧美不卡一区二区三区四区| 欧美国产日韩在线观看| 亚洲成人高清在线| 国产激情一区二区三区桃花岛亚洲| 99国产精品久久久| 日韩情涩欧美日韩视频| 亚洲少妇中出一区| 另类调教123区| 色综合久久综合网欧美综合网| 在线播放中文字幕一区| 国产精品美女久久久久高潮| 午夜一区二区三区在线观看| 国产91清纯白嫩初高中在线观看| 欧美午夜理伦三级在线观看| 久久久亚洲精华液精华液精华液| 亚洲欧美日韩小说| 国产在线不卡视频| 欧美巨大另类极品videosbest | 久久久不卡网国产精品二区| 一区二区三区在线看| 国产一区二区女| 欧美日韩免费观看一区二区三区| 欧美成人aa大片| 色激情天天射综合网| 欧美成人精品1314www| 亚洲精品视频一区二区| 日韩精品一二三| 99久久国产免费看| 精品欧美一区二区在线观看| 夜夜嗨av一区二区三区网页 | 免费成人在线观看| 国产资源精品在线观看| 色婷婷精品大在线视频| 亚洲线精品一区二区三区| 欧美另类变人与禽xxxxx| 中文字幕中文字幕中文字幕亚洲无线 | 欧美日韩亚洲综合在线 | 久久免费美女视频| 日韩vs国产vs欧美| 在线观看视频一区二区| 国产精品国产三级国产普通话三级| 久久99最新地址| 91精品国产品国语在线不卡| 国产成人免费视| 欧美一区二区视频网站| 一区二区三区精品视频| 91小视频免费观看| 中文字幕一区不卡| 成av人片一区二区| 国产精品视频第一区| 国产成人丝袜美腿| 国产婷婷一区二区| 国产高清无密码一区二区三区| 欧美va亚洲va香蕉在线| 另类中文字幕网| 欧美精品一区二区在线观看| 激情av综合网| 亚洲精品一线二线三线无人区| 久久99精品久久久久久| 精品久久久影院| 国产精品亚洲综合一区在线观看| 精品国产电影一区二区| 国产一区二区三区在线看麻豆| 久久蜜桃av一区精品变态类天堂 | 日韩黄色小视频| 日韩欧美国产精品| 韩国欧美一区二区| 久久久亚洲国产美女国产盗摄| 国产精品1024久久| 国产精品福利一区二区三区| youjizz国产精品| 亚洲宅男天堂在线观看无病毒| 欧美午夜理伦三级在线观看| 日本伊人色综合网| 久久网站热最新地址| 成人激情小说网站| av电影天堂一区二区在线观看| 中文字幕中文在线不卡住| 91精品1区2区| 日韩电影在线免费| 国产亚洲综合av| 91福利视频网站| 蜜桃av一区二区在线观看| 国产三级精品三级| 色丁香久综合在线久综合在线观看| 亚洲成人av一区二区三区| 日韩三级伦理片妻子的秘密按摩| 丰满放荡岳乱妇91ww| 亚洲成在人线免费| 26uuu亚洲综合色|