📄 main_ini.m
字号:
function [Class_Num,Class_Matrix_Size,Class_Id_Vector]=main_ini% MAIN_INI Initialize the system parameters.% Copyright (c) 1997-2000 Jiming Liu and Jianbing Wuglobal Region_Num;% ------ Behavior Define ---------Behav_Matrix_Size=[Region_Num 1];% ------ Behavior Define End ------% ------- Goal Define ---------Total_Goal_Num=1;Goal_Matrix_Size=[1 1];% ------- Goal Define End ------% ------- Class Define --------Class_Num=3;Class_Id_Vector=[1 2 3];% ------------ Class Characters ------ % A class_Characteristics include: % 1. Cell_Num----------Cell Number of this Class % 2. Cell_Color_Red----the Red Vector of the Color of the Class(0-255); % 3. Cell_Color_Green--the Green Vector of the Color of the Class(0-255); % 4. Cell_Color_Blue---the Blue Vector of the Color of the Class(0-255);Chra_Matrix_Size=[4 1]; % also fill CHARACTERISTICS Postion Define% ---- combine the initial number -----Class_Matrix_Size=[Behav_Matrix_Size;Goal_Matrix_Size;Chra_Matrix_Size];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -