首次适应算法,最佳适应算法,最坏适应算法源代码(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)
首次适应算法,最佳适应算法,最坏适应算法源代码(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);/ /最佳适应算
您可能关注的文档
- 神剑3攻略(Excalibur 3 Raiders).doc
- 盘点2006经理人高危地带(下)(Check 2006 manager high risk area (lower)).doc
- 神武还魂狮驼孩子计划书(Smart lion camel children plan to revive).doc
- 神码分销业务将整合 与英迈交易方式定走向(Shenma distribution business will be integrated with the transaction set to Ingram).doc
- 破除迷信(Do away with all fetishes and superstitions).doc
- 离婚协议的法律效力(The legal effect of divorce agreements).doc
- 离开市场的创新没有出路(There is no way out of market innovation).doc
- 离心泵14417(Centrifugal pump 14417).doc
- 秋水(Autumn waters).doc
- 秦始皇十二铜人今何在(Qin Shihuang was now where twelve).doc
- 部编版七年级上册语文 第六单元 想象世界 课外古诗词诵读 (3).pptx
- 部编版七年级上册语文 第六单元 想象世界 课外古诗词诵读 (7).pptx
- 部编版七年级上册语文 第六单元 想象世界 课外古诗词诵读(二) (2).ppt
- 部编版七年级上册语文 第六单元 想象世界 课外古诗词诵读(二).ppt
- 部编版七年级上册语文 第六单元 想象世界 课外古诗词诵读(二).pptx
- 部编版七年级上册语文 第六单元 想象世界 单元基础巩固练(6).pptx
- 水利检测资格测验培训(混凝土施工质量考验与评定)[精彩.pptx
- 三年级语文下册第二单元检测卷.pdf
- 部编版七年级上册语文 第六单元 想象世界 写作 发挥联想和想象 (4).pptx
- 部编版七年级上册语文 第六单元 想象世界 写作 发挥联想和想象.pptx
原创力文档

文档评论(0)