首次适应算法,最佳适应算法,最坏适应算法源代码(The first adaptation algorithm, the best adaptation algorithm, the worst adaptation algorithm source code).docVIP

  • 158
  • 0
  • 约4.71千字
  • 约 19页
  • 2017-09-26 发布于河南
  • 举报

首次适应算法,最佳适应算法,最坏适应算法源代码(The first adaptation algorithm, the best adaptation algorithm, the worst adaptation algorithm source code).doc

首次适应算法,最佳适应算法,最坏适应算法源代码(The first adaptation algorithm, the best adaptation algorithm, the worst adaptation algorithm source code)

首次适应算法,最佳适应算法,最坏适应算法源代码(The first adaptation algorithm, the best adaptation algorithm, the worst adaptation algorithm source code) #包括 iostream。” #包括程序。” #定义自由0 / /空闲状态 #定义忙碌的1 /已用状态 #定义好1 / /完成 #定义错误0 / /出错 #定义max_length 640 / /最大内存空间为640kb 这是一个状态; 中断标志; typedef struct freearea /定义一个空闲区说明表结构 { 长尺寸;/ /分区大小 长/分区地址地址; int状态;/ /状态 } ElemType; / /线性表的双向链表存储结构 typedef struct dulnode { 数据域; 结构dulnode *前;/ /前趋指针 结构dulnode *下;/ /后继指针 } DuLNode * dulinklist; dulinklist block_first;/ /头结点 dulinklist block_last;/ /尾结点 状态函数(int);/ /内存分配 状态自由(int);/ /内存回收 状态first_fit(int);/ /首次适应算法 状态best_fit(int);/ /最佳适应算

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档