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

📄 bitvector.h

📁 主要是介绍人工模拟股票市场的
💻 H
字号:
#import <objectbase/SwarmObject.h>

@interface BitVector: SwarmObject
{
  int condwords; /*"Number of words of memory required to hold bits in this model"*/
  int condbits;  /*"The number of conditions bits we expect to actually use"*/
  unsigned int *conditions; /*points to a dynamically allocated array of "condwords" elements"*/
}


- createEnd;

+ init;

- (void)setCondwords: (int)x;

- (void) setCondbits: (int)x;

- (void)setConditions: (int *)x;

- (int *)getConditions;

- (void)setConditionsWord: (int)i To: (int)value;

- (int)getConditionsWord: (int)i;

- (void)setConditionsbit: (int)bit To: (int)x;

- (int)getConditionsbit: (int)bit;

- (void)setConditionsbitToThree: (int)bit;

- (void)switchConditionsbit: (int)bit;

- (void)setConditionsbit: (int)bit FromZeroTo: (int)x;

- (void)maskConditionsbit: (int)bit;

- (void)drop;

- printcond: (int)word;

@end

⌨️ 快捷键说明

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