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

📄 checkex.m

📁 CheckMate is a MATLAB-based tool for modeling, simulating and investigating properties of hybrid dyn
💻 M
字号:
function EXf = checkEX(f)% Evaluate the `computation tree logic (CTL)` expression "EX f". %% Syntax:%   "EXf = checkEX(f)"%% Description:%   Given a finite-state transition system and its reverse transition system%   stored in the global variables "GLOBAL_TRANSITION" and%   "GLOBAL_REV_TRANSITION" and a "region" object "f", compute the region%   "EXf" corresponding to the CTL expression "EX f".%% Implementation:%   "GLOBAL_REV_TRANSITION" is a cell array of whose "i"-th entry is a%   vector of source states for each state "i" in the transition%   system. "checkEX()" collects the source states for all states in the%   region "f".%% See Also:%   region,auto2xsys,reach,findSCCf,checkAF,checkAG,checkAR,checkAU,checkAX,%   checkEF,checkEG,checkER,checkEUglobal GLOBAL_REV_TRANSITIONN = length(GLOBAL_REV_TRANSITION);EXf = region(N,'false');for i = 1:N  % if state i is in region f, include all of its parents in EXf  if isinregion(f,i)    parents = GLOBAL_REV_TRANSITION{i};    for j = 1:length(parents)      EXf = set_state(EXf,parents(j),1);    end  endendreturn

⌨️ 快捷键说明

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