📄 batchswarm.h
字号:
#import <objectbase.h>#import "ModelSwarm.h"#import "Output.h"@interface BatchSwarm: Swarm{ int loggingFrequency; // Frequency of fileI/O int experimentDuration; // When to Stop the Sim id displayActions; // schedule data structs id displaySchedule; id stopSchedule; ModelSwarm *modelSwarm; // the Swarm we're observing id output; // The EZGraph will be used FILE *f1, *f2; FILE * dataOutputFile; }+ createBegin: aZone;- buildObjects;- buildActions;- activateIn: swarmContext;- go;// special message on ourselves to stop running.- stopRunning;@end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -