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

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

?? document.m

?? CheckMate is a MATLAB-based tool for modeling, simulating and investigating properties of hybrid dyn
?? M
字號:
function document(var)

% 
% Syntax:
%     "document(variable)"
%  
% 
% Description:
% Documents a Checkmate specific global variable.  The function outputs the entire contents
% of the Checkmate structure to the screen and creates a .txt document with the same 
% information.  The text file is automatically opened in a new Matlab editor window.
% Global variables that can be displayed are the following:
% 
% 
%     -GLOBAL_PIHA: This is a structure that acts as a repository for all of the model information
%                   given by the user (from the Simulink model and the user-defined m-files).
%                   
%                   
%     -GLOBAL_AUTOMATON:  This is the finite state automaton that is created from the reachability analysis
%                         that Checkmate performs on the system (using the information contained in GLOBAL_PIHA).  
%                         Information about the regions of the concrete system that each state represents if
%                         given as well as information about the connectivity between regions.
%                         
%                         
%     -GLOBAL_TRANSISITON:  This is the raw transition system that Checkmate creates from the GLOBAL_AUTOMATON.
%                           This is the structure that model checking is performed on in order to verify the
%                           property specified by the user.
% 
% Syntax:
%   "display(variable)"
%
% Description:
%   "display(variable)" is used to display and archive the information contained within the Checkmate specific global
%   variables GLOBAL_PIHA, GLOBAL_AUTOMATON, or GLOBAL_TRANSITION.
%
% See Also:
%   piha

if ~iscell(var)
    if isfield(var,'Locations')
        %Input varialbe is a PIHA.
        warning off
        delete Piha_Data.txt
        warning on
        
        diary('Piha_Data.txt')
        %File introduction
        fprintf(1,'\n\nThis file logs all of the information contained in the Checkmate variable GLOBAL_PIHA\n');
        fprintf(1,'The GLOBAL_PIHA variable is a repository for all of the information contained in the \n');
        fprintf(1,'Simulink model and the user-defined m-file.  Creation of the GLOBAL_PIHA structure is the\n');
        fprintf(1,'is the first step in Checkmate''s verification procedure.\n\n');
        fprintf(1,['\nThis file was written on ' date '\n']);
        fprintf(1,'*****************************************************************************************\n\n');
       
        %Hyperplane List
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Hyperplane list:  This section lists all of the hyperplanes used to create the GLOBAL_PIHA\n');
        fprintf(1,'structure (i.e. hyperplanes from the guard regions, the analysis region, and the initial\n');
        fprintf(1,'continuous region).\n');
        fprintf(1,'*****************************************************************************************\n\n');
        for i=1:length(var.Hyperplanes)
            fprintf(1,'\nHyperplane %d\n',i);
            disp(var.Hyperplanes{i})
        end
        
        %NAR
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Number of Hyperplanes in the Analysis Region:  %d  \n',var.NAR);
        fprintf(1,'This is the total number of Hyperplanes that make up the Analysis Region.  The first %d\n',var.NAR);
        fprintf(1,'Hyperplanes listed above make up the Analysis Region.\n');
        fprintf(1,'*****************************************************************************************\n\n');
        
        
       
        
        %Initial sets
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Initial Sets:  This section lists the linearcons that make up the initial continuous\n');
        fprintf(1,'sets (ICS) and their corresponding discrete state.  This list describes all possible\n');
        fprintf(1,'initial conditions for the systems.\n');
        fprintf(1,'*****************************************************************************************\n\n');
        
        fprintf(1,'Initial Discrete State ');
        for j=1:length(var.InitialDiscreteSet{1})
            fprintf(1,'%d ',var.InitialDiscreteSet{1});
        end
        fprintf(1,'\n');
        for i=1:length(var.InitialContinuousSet)
            fprintf(1,'\nICS Element %d\n',i);
            var.InitialContinuousSet{i}
        end
        
        %Cells
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Cells:  This section lists all of the cell regions used in the analysis.  The "boundary"\n');
        fprintf(1,'field is a list of pointers to Hyperplanes in the Hyperplane list (above) that make up the region.\n');
        fprintf(1,'Each Hyperplane pointer has an associated flag that tells which side of the Hyerplane the region is on.\n');
        fprintf(1,'The "pthflags" field indicates which PTHB''s are true/false for each cell.\n');
        fprintf(1,'The initial cell(s) (i.e. the cell(s) where the inital continuous sets lie) are');
        for j=1:length(var.InitialCells)
            fprintf(1,' %d',var.InitialCells(j));
        end
        fprintf(1,'\n');
        fprintf(1,'*****************************************************************************************\n\n');
      
        for i=1:length(var.Cells)
            fprintf(1,'\nCell %d\n',i);
            disp(var.Cells{i})
        end
        
        %Locations
        fprintf(1,'*****************************************************************************************\n');
        fprintf(1,'Locations:  This section lists all of the PIHA Locations.  Locations correspond to discrete states\n');
        fprintf(1,'in the original system.  If more that one Stateflow block is present in the original system,\n');
        fprintf(1,'the locations listed here will be the cross product of the states in each machine.\n');
        fprintf(1,'All information about each location is listed here (invariants, transitions, etc.)\n');
        fprintf(1,'*****************************************************************************************\n');
      
        for i=1:length(var.Locations)
            fprintf(1,'\nLocations %d\n',i);
            disp(var.Locations{i})
            for j=1:length(var.Locations{i}.transitions)
                fprintf(1,'\nOutgoing transitions %d for location %d\n',j,i);
                    disp(var.Locations{i}.transitions{j})
                                
            end
        end
        
        %Clocks
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Clocks:  This section lists all of the clocks used for sampled data verification.\n');
        fprintf(1,'*****************************************************************************************\n\n');
      
        fprintf(1,'\n');
        disp(var.CLOCKBlocks)
           
        %SCSB's
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Switched Continuous System Blocks:  This section lists all of information about the SCSB''s from \n');
        fprintf(1,'the original system.\n');
        fprintf(1,'*****************************************************************************************\n\n');
      
        
        for j=1:length(var.SCSBlocks)
            fprintf(1,'SCSB %d\n',j);
            disp(var.SCSBlocks{j})
        end
        
        %PTHB's
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Polyhedral Threshold Blocks:  This section lists all of information about the PTHB''s from \n');
        fprintf(1,'the original system.\n');
        fprintf(1,'*****************************************************************************************\n\n');
      
        
        for j=1:length(var.PTHBlocks)
            fprintf(1,'PTHB %d\n',j);
            disp(var.PTHBlocks{j})
        end
        
        %FSMB's
        fprintf(1,'\n*****************************************************************************************\n');
        fprintf(1,'Finite State Machine Blocks:  This section lists all of FSMB''s and their associated states.\n');
        fprintf(1,'*****************************************************************************************\n\n');
      
        
        for j=1:length(var.FSMBlocks)
            fprintf(1,'FSM %d\n',j);
            disp(var.FSMBlocks{j})
        end
        
   
        diary off
    end
elseif isfield(var{1},'initstate')
    %Input is a GLOBAL_AUTOMATON    
    warning off
    delete GA_Data.txt
    warning on
    
    diary('GA_Data.txt')
    %File introduction
    fprintf(1,'\n\nThis file logs all of the information contained in the Checkmate variable GLOBAL_AUTOMATON\n');
    fprintf(1,'The GLOBAL_AUTOMATON variable is a structure that represents the automaton created from the \n');
    fprintf(1,'information contained in the GLOBAL_PIHA structure.  Essentially, regions of the state space in the\n');
    fprintf(1,'original system correspond to states in the GLOBAL_AUTOMATON.  The GLOBAL_AUTOMATA contains information about\n');
    fprintf(1,'guards, interior regions, and reachability mappings from one region to another.\n\n');
    fprintf(1,['\nThis file was written on ' date '\n']);
    fprintf(1,'*****************************************************************************************\n\n');
    
    for i=1:length(var)
        
        %Locations
        if isfield(var{i},'initstate')
            for j=1:length(var{i}.initstate)
                fprintf(1,'Initial state %d\n',j);
                disp(var{i}.initstate{j})
                fprintf(1,'Polytope corresponding to initial state %d for location %\n',j,i);
                var{i}.initstate{j}.polytope
                fprintf(1,'\n');
                for k=1:length(var{i}.initstate{j}.mapping)
                    fprintf(1,'Mapping %d corresponding to initial state %d for location %\n',k,j,i);
                    var{i}.initstate{j}.mapping{k}
                    fprintf(1,'\n');
                end
            end
        end
        for j=1:length(var{i}.interior_region)
            fprintf(1,'Interior region %d in location %d\n\n',j,i);
            for k=1:length(var{i}.interior_region{j}.state)
                fprintf(1,'State %d for interior region %d in location %d\n\n',k,j,i);
                disp(var{i}.interior_region{j}.state{k})
                fprintf(1,'Polytope representing state %d\n',k);
                var{i}.interior_region{j}.state{k}.polytope
                for m=1:length(var{i}.interior_region{j}.state{k}.mapping)
                    fprintf(1,'Polytope %d representing the mapping for state %d \n',m,k);
                    var{i}.interior_region{j}.state{k}.mapping{m}
                end
            end
        end
        
    end
    diary off
    
elseif ~isstr(var{1})&isreal(var{1})
    %Input is a GLOBAL_TRANSITION
    warning off
    delete GT_Data.txt
    warning on
    
    diary('GT_Data.txt')
    %File introduction
    fprintf(1,'\n\nThis file logs all of the information contained in the Checkmate variable GLOBAL_TRANSITION.\n');
    fprintf(1,'The GLOBAL_TRANSITION variable describes the transition system that Checkmate creates from the\n');
    fprintf(1,'information conatined in GLOBAL_AUTOMATON.  Each state in GLOBAL_AUTOMATON corresponds to a state\n');
    fprintf(1,'in GLOBAL_TRANSITION.  The mappings and children information contained in GLOBAL_AUTOMATON are used\n');
    fprintf(1,'to construct the connectivity for the transition system.\n');
    fprintf(1,'Model checking is ultimately performed on the transition system described in GLOBAL_TRANSITION.\n\n');
    fprintf(1,'Note:  The structures GLOBAL_XSYS2AUTO_MAP and GLOBAL_AUTO2XSYS_MAP are needed in order to understand\n'); 
    fprintf(1,'which sates in GLOBAL_TRANSITION correspond to which states in GLOBAL_AUTOMATON.\n');
    fprintf(1,['\nThis file was written on ' date '\n']);
    fprintf(1,'*****************************************************************************************\n\n');
    
    fprintf(1,'List of states: \n');
    for i=1:length(var)
        fprintf(1,'%d \n',i);
    end
    fprintf(1,'\n\nList of transitions:\n');
    for i=1:length(var)
        for j=length(var{i})
            fprintf(1,'{%d,%d}\n',i,var{i}(j));
        end
    end
    
    
    diary off
    
    
end
    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
懂色av一区二区三区免费看| 成人一区在线观看| 92国产精品观看| 欧美大片在线观看一区二区| 亚洲午夜电影在线观看| 国产精品456| 欧美夫妻性生活| 亚洲精品欧美激情| 成人午夜又粗又硬又大| 精品国产91亚洲一区二区三区婷婷| 夜夜精品视频一区二区| 国产成人精品一区二| 欧美成人一区二区三区片免费| 一区二区三区久久久| av电影天堂一区二区在线| 久久久亚洲高清| 久国产精品韩国三级视频| 欧美日韩美少妇| 综合av第一页| 成人精品视频一区二区三区尤物| 2020国产精品自拍| 久久成人精品无人区| 欧美精品黑人性xxxx| 一区二区欧美在线观看| 91影视在线播放| 国产精品久久久久三级| 国产成人精品影视| 久久综合国产精品| 韩国在线一区二区| 精品日韩一区二区三区| 美腿丝袜亚洲一区| 欧美一区二区三区免费在线看 | 欧美三级一区二区| 亚洲激情第一区| 色婷婷av一区二区三区gif| 日韩一区中文字幕| 91蜜桃传媒精品久久久一区二区| 国产精品久久久久婷婷二区次| 风流少妇一区二区| 国产欧美日韩在线视频| 国产mv日韩mv欧美| 国产精品午夜久久| aaa欧美日韩| 亚洲区小说区图片区qvod| 91片在线免费观看| 亚洲一区二区三区四区不卡| 欧美亚洲综合在线| 五月天亚洲婷婷| 91精品国产一区二区三区| 免费在线视频一区| 精品国产污污免费网站入口 | av网站免费线看精品| 亚洲欧洲精品一区二区精品久久久 | 国产午夜久久久久| 国产精品1区二区.| 中文字幕在线视频一区| www..com久久爱| 亚洲三级小视频| 欧美日韩国产成人在线免费| 日韩精品一二三| 日韩欧美一二区| 国产成人av电影在线观看| 国产精品久久久久久久久免费相片 | 欧美一区日韩一区| 韩国一区二区三区| 亚洲欧洲日产国码二区| 欧美色电影在线| 精品在线播放免费| 国产精品视频一二三区| 在线精品视频免费播放| 日本伊人色综合网| 久久久久久99久久久精品网站| av在线免费不卡| 同产精品九九九| 久久综合久久综合亚洲| 91日韩在线专区| 三级久久三级久久| 国产欧美日韩精品一区| 91精品1区2区| 免费日本视频一区| 国产精品另类一区| 欧美日韩一卡二卡三卡| 国产一区二区三区电影在线观看| 亚洲欧美一区二区在线观看| 欧美日韩国产成人在线91| 国产精品亚洲а∨天堂免在线| 亚洲精品自拍动漫在线| 91精品国产综合久久福利| 成人精品高清在线| 视频在线观看国产精品| 国产蜜臀97一区二区三区| 欧美偷拍一区二区| 国产乱码一区二区三区| 一区二区三区在线观看动漫| 欧美v亚洲v综合ⅴ国产v| 91蜜桃在线观看| 韩日av一区二区| 亚洲午夜电影在线观看| 中文欧美字幕免费| 555夜色666亚洲国产免| 99视频精品全部免费在线| 日韩黄色一级片| 亚洲情趣在线观看| 久久精品欧美一区二区三区麻豆| 欧美日韩一区二区三区不卡| 成人中文字幕在线| 水蜜桃久久夜色精品一区的特点| 中文字幕免费不卡| 日韩精品中文字幕一区| 日本韩国欧美在线| 国产成人精品在线看| 日韩电影免费一区| 一区二区三区高清在线| 久久精品在这里| 欧美一区二区高清| 在线观看区一区二| 成人精品在线视频观看| 国产一区在线视频| 日本在线播放一区二区三区| 亚洲已满18点击进入久久| 中文字幕国产一区| 337p日本欧洲亚洲大胆色噜噜| 欧美精品成人一区二区三区四区| 91在线视频官网| 国产91在线|亚洲| 免费观看一级欧美片| 亚洲成人你懂的| 亚洲欧美一区二区三区国产精品| 国产亚洲欧洲一区高清在线观看| 日韩视频免费观看高清完整版在线观看| 在线影视一区二区三区| 成人黄色小视频在线观看| 国产真实乱对白精彩久久| 美女视频一区二区三区| 日日骚欧美日韩| 亚洲一二三区不卡| 国产精品久久久久9999吃药| 国产欧美日本一区二区三区| 精品国产乱码91久久久久久网站| 欧美高清激情brazzers| 欧美午夜精品久久久久久超碰| 91一区二区三区在线观看| 波多野结衣中文字幕一区二区三区| 国产91在线观看丝袜| 国产激情视频一区二区三区欧美| 久久国产精品72免费观看| 麻豆成人久久精品二区三区红| 日韩国产在线观看| 日韩高清不卡在线| 日本美女视频一区二区| 奇米影视7777精品一区二区| 免费成人美女在线观看.| 美腿丝袜亚洲一区| 精品一二线国产| 国产精品资源在线| 懂色av一区二区三区蜜臀| 国产iv一区二区三区| 成人黄色电影在线| 99精品视频在线播放观看| 色综合久久88色综合天天免费| 色综合久久久久久久| 日本道色综合久久| 精品视频1区2区| 69堂国产成人免费视频| 91精品国产色综合久久不卡电影| 日韩三区在线观看| 亚洲精品一区在线观看| 国产女同互慰高潮91漫画| 成人免费在线观看入口| 一区二区三区精品视频| 亚洲va国产va欧美va观看| 日本欧美一区二区在线观看| 久久国产婷婷国产香蕉| 国产精品亚洲第一| 91香蕉视频mp4| 欧美日韩高清一区二区三区| 欧美一级理论性理论a| 久久只精品国产| 中文字幕一区二区三区四区不卡 | 国产精品私人自拍| 亚洲精品亚洲人成人网| 天天综合天天做天天综合| 麻豆成人91精品二区三区| 国产一区二区毛片| 99精品欧美一区二区三区小说 | 国产欧美精品一区二区三区四区| 欧美国产一区二区| 亚洲精品福利视频网站| 日本强好片久久久久久aaa| 国产激情视频一区二区在线观看| 色综合久久久久综合99| 欧美丰满嫩嫩电影| 国产日产欧美一区| 亚洲一区二区三区自拍| 另类小说综合欧美亚洲| 不卡av在线网| 欧美一区二区三区在线观看视频 | 欧美色图在线观看| 精品美女在线观看| 自拍偷在线精品自拍偷无码专区 |