📄 replsmain.m
字号:
% REPLSMAIN Main program for object pushing modeling with %% artificial repulsive forces.% Copyright (c) 1997-2000 Jiming Liu and Jianbing Wuclose all;clear all;clc;global CLASS Class_Id_Vector Class_Matrix_Size Red_White_Distance;global Cell_Num_Pos CELL Object_Move_Step ObjectMove_Force Break_Point;global Response_Weight Stimulus_Size HISTORY Cell_Min_Distance;global Cell_Color_Pos Region_Num Step_Ratio Step_Change_Ratio Reach_Now;global Class_Change_Dist Total_Cell_Num Cell_Name Last_MoveDirection; global Current_Goal Mutation_Prob Genetic_Result Goal_Vary_Tm;global Fitness_Fun Bit_Length Population_Size Total_Generations Cross_Prob;global Robot_Distrib Object_Distrib Goal_Distrib Single_Code_Width;global RadiusCode_Len AngleCode_Len BreakGA_Ratio Ga_Generations;ginitial;Run_Times=0;while (Run_Times<Break_Point) Run_Times calcuonce; Run_Times=Run_Times+1;end% plot_cell;New_History=HISTORY;New_Gen=Genetic_Result;FLname='f1_2f6_2';eval(['save ' FLname ' New_History New_Gen' ';']);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -