目录
摘要
........................................................................................... .... ......................1
1
绪论
......................................................................................................... .... .....4
1.1 前言............................................................................................................................5
1.2 研究意义............................................................................................................. .......5
1.3 结构安排............................................................................................................. .......5
2
需求分析
............................................................................................... .... .....4
2.1 题目描述............................................................................................................. .......5
2.2 银行家算法........................................................................................... ...... ...... ...... ...5
2.3 基本要求............................................................................................................. .......5
2.4 目的............................................................................................................................5
3
概要设计
............................................................................................... .... .....4
3.1 基本思路............................................................................................................. .......5
3.2 银行家算法步骤.........................................................................................................5
3.3 安全型算法步骤.........................................................................................................5
3.4 数据结构............................................................................................................. .......5
3.4.1 主要用到的数据结构..............................................................................................................6
3.4.2 程序模块..................................................................................................................................6
3.4.3 各模块间的调用关系..............................................................................................................6
4
详细设计
............................................................................................... .... .....4
4.1 主要函数的核心代码................................................................................ .................5
4.1 程序流程图........................................................................................... ...... ...... ...... ...5
5
测试
......................................................................................................... .... .....4
5.1 测试用例............................................................................................................. ...... .5
5.1 测试结果分析和截图................................................................................ .................5