batchswarm.h
来自「仿真人工金融市场Jackson代码」· C头文件 代码 · 共 33 行
H
33 行
#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 + =
减小字号Ctrl + -
显示快捷键?