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

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

?? iauto_part.m

?? CheckMate is a MATLAB-based tool for modeling, simulating and investigating properties of hybrid dyn
?? M
?? 第 1 頁 / 共 3 頁
字號:
function iauto_part()

% Compute initial partition for the initial `approximating automaton`
% according to the user specified parameters.
%
% Syntax:
%   "iauto_part()"
%
% Description:
%   Compute the initial partition for the initial approximating automaton
%   and create the skeleton for the approximating automaton in the global
%   variable "GLOBAL_AUTOMATON".
%
% Implementation:
% 
%   The approximating automaton "GLOBAL_AUTOMATON" is a discretization of
%   "GLOBAL_PIHA" with a few special states added to each
%   location. "GLOBAL_AUTOMATON" is a cell array in which each element
%   corresponds to a location in "GLOBAL_PIHA". Each element
%   "GLOBAL_AUTOMATON{l}" is a structure containing the following fields
%   for the location "l".
%
%   * ".initstate": a cell array of states representing to the
%     discretization of `initial continuous set` for each location
%
%   * ".face": a cell array of the same length as the number of the
%     invariant faces for the location "l"
%
%   The field ".face" is also a structure with a single field ".state" where
%
%   * ".face{f}.state": is a cell array of states representing the
%     discretization of face "f" of the the invariant polytope for location "l"
%
%   States under the ".initstate" field are referred to as `initial states`
%   and states under the ".face" field are referred to as `face
%   states`. Each state is a structure with the following fields.
%
%   * ".polytope": Continuous set for this state.
%
%   * ".mapping": The `mapping set` from the polytope.
%
%   * ".children": Indices to destination `face` states.
%
%   * ".null_event": A boolean flag indicating whether there exists a
%     trajectory from the polytope for this state that never leaves the
%     invariant
%
%   * ".time_limit": A boolean flag indicating wheter the mapping computation
%     is terminated by the user specified time limit in which case the
%     computed mapping set may not contain all possible reachable states.
%
%   * ".out_of_bound": A boolean flag indicating whether part of the mapping
%     computed goes out of analysis region.
%
%   * ".indeterminate": A boolean flag. If set, it indicates that further
%     evolutions of the system from this state cannot be determined. Reasons
%     maybe that polytope for this state contains singularities so that
%     mapping cannot be computed. This flag is typically be set manually by
%     user. CheckMate also set this flag to 1 for those states that are
%     not reachable from the initial states to save computation time.
%
%   * ".terminal": A cell array containing the list of FSM terminal state
%     vectors, i.e. the FSM state for which there is no outgoing transition
%     from any of the component states, that a reachable from the polytope
%     for this state.
%
% Implementation:
%   The polytopes in the initial continuous set are intersected with the
%   invariant polytope and discretized to form the `initial states` for each
%   location. The polytopes of dimension "n-1" are partitioned further in
%   the exact same way as the invariant faces (see below). Currently,
%   polytopes of all other dimensions are not partitioned
%   further. Partitioning procedure for these polytopes are to left for
%   future work. After the partitioning is done, each polytope in the
%   partition is entered as a state under the field ".initstate" in the
%   parent location.
%
%
%
%   Faces of the invariant polytope are partitioned to form `face states` for
%   each location. Each face of the invariant is used as the starting point
%   for the partition. The partitioning scheme depends on the type of the
%   continuous dynamics in each location (see the source code). After the
%   partitioning is done, each polytope in the partition is entered as a
%   state under the parent face and location in "GLOBAL_AUTOMATON".
%
%
%
%   Finally, the reachability analysis is performed for the polytopes
%   associated with all `initial states` using the function "flow_reach",
%   which computes the set of reachable polytopes from the initial
%   poltyope. We use each reachable polytope to refine the partition of the
%   invariant face which that reachable polytope is on further by spliting
%   each poltope in the partition into the part that overlaps with the
%   reachable polytope (the intersection) and the part does not overlap with
%   the reachable polytope (the set difference).
%
% See Also:
%   verify,flow_reach

% input global variable
global GLOBAL_PIHA 

% output global variable
global GLOBAL_AUTOMATON

GLOBAL_AUTOMATON = cell(length(GLOBAL_PIHA.Locations),1);
% GLOBAL_AUTOMATON is a discretization of GLOBAL_PIHA with a few special
% states added to each location

% There are two types of states for each location
%   .initstate     : discretization of initial continuous set for each
%                    location
%   .face{i}.state : discretization of ith invariant face for each location
%
% Each state has the following components
%   .polytope      : Continuous set for this state.
%   .mapping       : Continuous mapping computed from polytope.
%   .children      : Destination states.
%   .null_event    : There exists trajectories that never triggers any
%                    further event from the polytope for this state.
%   .time_limit    : Mapping computation terminated by time limit so the 
%                    the mapping may not contain all states in mapping set.
%   .out_of_bound  : Part of the mapping computed goes out of analysis
%                    region.
%   .indeterminate : Cannot determine further evolution of the system from 
%                    this state. Reasons maybe that polytope for this state 
%                    contains singularities so that mapping cannot be
%                    computed. This flag must be set manually by user.
%   .non_reachable : This state wasn't reached during initial partition 
%							computation. If some state leads to this state it won't 
%							be considered in the reachability analysis, since 
%							it could have happened due to numerical imprecision.
%
%   null_event,time_limit,out_of_bound,indeterminate are boolean flags.
%
%   .terminal      : If there exists a trajectory from the polytope for this
%                    state that causes the FSM to switch to a terminal
%                    FSM state q', i.e the FSM state for which there is no
%                    outgoing transition from any of the component states,
%                    then the cell array .terminal contains q', otherwise it
%                    is empty.

% Initialize initial states for each initial location
%X0 = GLOBAL_PIHA.InitialContinuousSet;
%GLOBAL_AUTOMATON{1}.initstate={};

%Get flag which decides if initial reachability is to be performed or not.

global GLOBAL_APPROX_PARAM
approx_param = GLOBAL_APPROX_PARAM;

init_reach = approx_param.perform_init_reachability;

IC = GLOBAL_PIHA.InitialConditions;
for i=1: length(IC)
    GLOBAL_AUTOMATON{IC{i}.initialLocation}.initstate={};
    X0 =GLOBAL_PIHA.InitialContinuousSet{i};
    init_loc = IC{i}.initialLocation;
    init_cell = IC{i}.initialCells;
    INV = return_init_region(init_cell);   
    
    overall_dynamics = check_overall_dynamics(GLOBAL_PIHA.SCSBlocks, ...
        GLOBAL_PIHA.Locations{init_loc}.q);
    if strcmp(overall_dynamics,'linear')
        [A,b] = overall_system_matrix(GLOBAL_PIHA.SCSBlocks, ...
            GLOBAL_PIHA.Locations{init_loc}.q);
    end
    initstate = {};
    if issubset(X0,INV)
        polytope = X0;
    else
        polytope = X0&INV;
    end;
    if ~isempty(polytope)
        [CE,dE,CI,dI] = linearcon_data(polytope);
        if (length(dE) == 1)
            % if n-1 dimensional patch
            patch = polytope;
            switch overall_dynamics
                
                case 'linear',
                    % First partition the patch into 2 subpatches according to
                    % the direction of the vector field (in/out of invariant). Then
                    % partition further using tolerances.
                    partition = linear_partition(patch,A,b, ...
                        GLOBAL_PIHA.Locations{init_loc}.q);
                    
                case 'nonlinear',
                    partition = nonlinear_partition(patch,GLOBAL_PIHA.SCSBlocks, ...
                        GLOBAL_PIHA.Locations{init_loc}.q);
                    
                case 'clock',
                    % Since there is no variation in vector field, only the size
                    % tolerance is used.
                    partition = clock_partition(patch, ...
                        GLOBAL_PIHA.Locations{init_loc}.q);
                    
                otherwise,
                    error(['Unknown overall system dynamics ''' ...
                            overall_dynamics '''.'])
                        
                end%case
                
            else
                % partition to be coded later for full dimensional X0, do nothing
                % for now
                partition = {polytope};
                
            end%if 
            
            
            for m = [1:length(partition)]
                initstate.polytope = partition{m};
                initstate.mapping = {};
                initstate.children = [];
                initstate.null_event = -1;
                initstate.time_limit = -1;
                initstate.out_of_bound = -1;
                initstate.indeterminate = 0;
                initstate.non_reachable = 0;
                initstate.terminal = {};
                initstate.visited  = 0;
                initstate.cell=init_cell;
                initstate.destination = {};
                GLOBAL_AUTOMATON{init_loc}.initstate{length(GLOBAL_AUTOMATON{init_loc}.initstate)+1} = initstate;
            end%for m
        end%if length
    end %if ~isempty
    
    %There will be an 'initstate' in  GLOBAL_AUTOMATON for every location and Cell location
    %in GLOBAL_AUTOMATON.InitialConditions.
% Initialize partition for invariant faces in each location
for k = 1:length(GLOBAL_PIHA.Locations)    
    entry_region ={};
    for m = 1:length(GLOBAL_PIHA.Locations{k}.interior_cells)
        partition=return_region(GLOBAL_PIHA.Locations{k}.interior_cells(m));   
        % >>>>>>>>>>>> Initial Partition -- DJ -- 06/30/03 <<<<<<<<<<<<
        % There are a set of states. One corresponds
        % to interior region and others are boundary states.
        % The for-loop is added by Dong Jia to initialize information for all states.
        for l=1:length(partition)
            entry_region{m}.state{l}.polytope = partition{l};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品毛片久久久久久| 亚洲欧美日韩国产另类专区| 久久精品国内一区二区三区| 欧美日韩久久不卡| 亚洲一二三区在线观看| 色8久久人人97超碰香蕉987| 亚洲视频一二区| 91原创在线视频| 最新成人av在线| 色综合天天综合| 一区二区视频免费在线观看| 99国产精品国产精品毛片| 中文字幕一区二区三区不卡在线 | 中文字幕一区日韩精品欧美| 国产精品亚洲第一| 国产欧美一区二区精品性| 国产精品一区2区| 国产午夜精品在线观看| 国产福利精品一区二区| 日本一区二区三区高清不卡| 成人h动漫精品一区二| 中文字幕一区二区日韩精品绯色| jlzzjlzz亚洲女人18| 日韩美女啊v在线免费观看| 亚洲综合在线观看视频| 91黄色免费网站| 午夜视黄欧洲亚洲| 日韩无一区二区| 国产麻豆一精品一av一免费| 国产精品色婷婷| 色综合久久中文综合久久97| 午夜伦理一区二区| 欧美成人三级电影在线| 国产精品一品二品| 亚洲丝袜制服诱惑| 欧美人xxxx| 国产美女视频91| 亚洲视频免费在线观看| 欧美精品日韩精品| 久久av资源站| 国产精品嫩草影院com| 色噜噜狠狠色综合中国| 亚洲不卡一区二区三区| 精品国产成人在线影院| 成人午夜激情影院| 亚洲一区二区综合| 欧美zozozo| av激情成人网| 日韩主播视频在线| 国产欧美日韩中文久久| 色吊一区二区三区| 久久se精品一区精品二区| 欧美国产1区2区| 欧美三级电影在线观看| 极品美女销魂一区二区三区 | 中文字幕日韩一区| 在线成人小视频| 国产乱码精品一区二区三区五月婷| 亚洲视频在线观看一区| 日韩亚洲欧美成人一区| 成人黄页在线观看| 日本一道高清亚洲日美韩| 国产网红主播福利一区二区| 欧美日免费三级在线| 国产资源在线一区| 亚洲最新在线观看| 久久综合色一综合色88| 日本高清不卡视频| 国产精品一区二区免费不卡| 亚洲宅男天堂在线观看无病毒| 精品久久久久久亚洲综合网| 色乱码一区二区三区88| 黄页视频在线91| 亚洲一区二区黄色| 国产精品热久久久久夜色精品三区 | 2023国产精品视频| 在线看日本不卡| 国产不卡视频一区| 免费高清成人在线| 一区二区三区日本| 国产视频在线观看一区二区三区 | 欧美日韩三级在线| 成人av网站大全| 精品一区二区三区在线播放| 亚洲综合免费观看高清在线观看| 国产亚洲精品bt天堂精选| 欧美精品 日韩| 色丁香久综合在线久综合在线观看| 国产一区二区h| 日韩电影在线一区二区| 亚洲另类一区二区| 亚洲国产精品高清| 日韩欧美色综合网站| 欧美影院一区二区三区| 99久久婷婷国产精品综合| 国内成人精品2018免费看| 丝袜美腿亚洲一区二区图片| 亚洲精品乱码久久久久久| 欧美国产精品一区二区| 久久综合999| 欧美一卡二卡三卡| 欧美麻豆精品久久久久久| 色婷婷久久一区二区三区麻豆| 国产成人在线免费| 久久精品国产99久久6| 日韩在线一区二区三区| 亚洲国产综合色| 亚洲精选视频在线| 中文字幕一区二区三区精华液| 欧美激情在线一区二区| 久久综合九色综合97婷婷| 中文字幕一区二区不卡| 蜜臀av一级做a爰片久久| 日韩欧美一级精品久久| 亚洲欧美怡红院| 国产精品1024| 国产色91在线| 国产精品原创巨作av| 欧美视频一区在线| 亚洲美女免费视频| 成人国产精品免费观看视频| 久久精品欧美一区二区三区麻豆| 国产成人鲁色资源国产91色综| 日韩精品一级二级| 国产偷国产偷亚洲高清人白洁| 久久亚洲综合av| 久久综合色婷婷| 久久久久久9999| 国产色爱av资源综合区| 亚洲国产精品成人久久综合一区 | 欧美成人精品1314www| 制服丝袜激情欧洲亚洲| 91精品欧美福利在线观看| 91麻豆精品国产综合久久久久久 | 欧美成人一区二区三区| 日韩写真欧美这视频| 精品欧美一区二区久久| 精品国产一区二区三区四区四| 欧美精品一区二区高清在线观看| 久久这里只有精品6| 久久久蜜桃精品| 国产精品免费免费| 综合欧美亚洲日本| 一区二区三区波多野结衣在线观看 | 亚洲制服欧美中文字幕中文字幕| 一区二区三区视频在线看| 一区二区三区波多野结衣在线观看| 亚洲国产毛片aaaaa无费看| 亚洲成人手机在线| 美女爽到高潮91| 国产精品18久久久久久久网站| 国产成人av电影在线播放| 丁香六月久久综合狠狠色| 91视视频在线观看入口直接观看www| 一本色道久久加勒比精品| 欧美日韩黄色一区二区| 欧美一级片在线观看| 久久综合999| 亚洲青青青在线视频| 亚洲高清三级视频| 美女一区二区久久| 成人黄色免费短视频| 欧美性视频一区二区三区| 91精品国产日韩91久久久久久| 久久老女人爱爱| 亚洲免费色视频| 日本伊人色综合网| 国产91富婆露脸刺激对白| 在线观看欧美精品| 日韩欧美卡一卡二| 国产精品天干天干在线综合| 亚洲图片自拍偷拍| 国产一区视频在线看| 91在线精品一区二区| 9191国产精品| 国产欧美日韩不卡免费| 亚洲国产精品一区二区尤物区| 美女视频一区在线观看| 99免费精品视频| 777a∨成人精品桃花网| 欧美国产丝袜视频| 丝袜美腿高跟呻吟高潮一区| 国产精品一二三| 欧美日韩国产免费一区二区| 国产丝袜在线精品| 亚洲午夜免费视频| 国产精品一级片在线观看| 欧美影院一区二区| 国产日产欧美一区二区视频| 亚洲一区二区三区免费视频| 国产精品自拍在线| 欧美日韩免费电影| 国产精品久久久久久久久久免费看 | 成人免费黄色大片| 欧美日本一道本在线视频| 国产精品欧美久久久久无广告 | 日韩午夜精品视频| 亚洲柠檬福利资源导航| 久草这里只有精品视频| 色婷婷亚洲精品|