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

📄 asmbatchswarm.h

📁 主要是介绍人工模拟股票市场的
💻 H
字号:
#import <objectbase.h>
#import <activity.h>
#import <collections.h>
#import <simtools.h>
#import "ASMModelSwarm.h"

@interface ASMBatchSwarm: Swarm
{
  int loggingFrequency; /*"how often to write data "*/
  int experimentDuration;/*"how long should a run last"*/

  id <ActionGroup> displayActions;/*"Set of actions that update output"*/
  id <Schedule> displaySchedule;/*"Schedule for periodic actions"*/
  id <Schedule> stopSchedule; /*"Schedule which checks to see if the simulation has completed its requisite number of timesteps"*/

  ASMModelSwarm * asmModelSwarm;/*"Instance of ASMModelSwarm, where agents and the world are created and scheduled"*/
 
  id output; /*"Reference to instance of Output class, the place where data file output is controlled"*/
}

+ createBegin: aZone;
- buildObjects;
- buildActions;
- activateIn: swarmContext;

- expostParamWrite;
- go;
- stopRunning;
-(void) drop;
@end

⌨️ 快捷键说明

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