搜索资源列表
强盗分金算法
- 10名海盗抢得了窖藏的100块金子,并打算瓜分 这些战利品。这是一些讲民主的海盗(当然是他们自己特有的民主),他们的习惯 是按下面的方式进行分配:最厉害的一名海盗提出分配方案,然后所有的海盗(包 括提出方案者本人)就此方案进行表决。如果50%或更多的海盗赞同此方案,此方 案就获得通过并据此分配战利品。否则提出方案的海盗将被扔到海里,然后下提名 最厉害的海盗又重复上述过程-10 pirates seize a cache of 100 gold, and plan t
Simulate_Allocate_Memory_Implement_by_C
- 模拟内存分配的c语言实现 六、 实验目的 了解用户程序分配内存以及回收所用内存的过程,加深对操作系统存储管理机制的理解。 七、 实验内容 采用首次适应法、最佳适应法或最差适应法,编写一内存分配和回收模拟程序。 (提示:“内存空闲区”数组的设置原理类似于实验一。动态地随机产生新的“内存分配”或“内存回收”请求,再按照你选定的分配算法修改这个数组。由于这个实验的重点在于内存分配,所以不考虑与某内存区相关的进程情况。) -simulation memory allocation
CLaugYM
- 案例一 贪吃蛇游戏 案例二 计算器 案例三 黑白棋游戏 案例四 迷宫问题 案例五 扫地雷游戏 案例六 速算24 案例七 数据结构CAI系统 案例八 进程调度 案例九 存储管理分区分配算法 案例十 通讯录 案例十一 学生成绩管理 案例十二 工资管理 案例十三 图书借阅管理 案例十四 教师工作量计算 -case a huge memory game two cases calculators Case 3 Case 4 game reversi
CCodeExample
- c代码用例。内容包括案例一 贪吃蛇游戏(学习基于while(!keyhit())的即时原理) 案例二 计算器 案例三 黑白棋游戏 案例四 迷宫问题 案例五 扫地雷游戏 案例六 速算24 案例七 数据结构CAI系统 案例八 进程调度 案例九 存储管理分区分配算法 案例十 通讯录 案例十一 学生成绩管理 案例十二 工资管理 案例十三 图书借阅管理 案例十四 教师工作量计算-c code with cases. Case including a hu
1193 内存分配
- 这是有关内存分配的一些讨论 以及 一些算法的实现-This the memory allocation of some discussion and some algorithm to achieve!
数据结构任务分配
- 用数据结构实现基本算法 用C++实现任务分配功能-data structure used to achieve basic algorithm C Task allocation functions
避免死锁-银行家算法
- 确定可利用资源向量的数据结构、最大需求矩阵,分配矩阵,需求矩阵,然后完成银行家算法、安全性算法等程序代码;最后编写模拟过程的主函数
MCB
- 实现动态分区内存管理: 1.数据结构、分配算法设计 2.加深对动态分区存储管理方式及其实现过程的理解。 -Dynamic partition memory management: 1. Data structure, distribution algorithm 2. Better memory management for dynamic partitions and its realization process of understanding.
dongtaifenqucunchumoni
- 通过程序模拟了动态分区分配方式,进而帮助理解动态分区分配方式中使用的数据结构和分配算法-The adoption of procedures to simulate the distribution of dynamic partitioning approach to help understand the dynamic partitioning allocation methods used in data structure and distribution algorithm
os5
- 设可供分配的内存储器为1MB(1000KB),内存分配采用动态分区分配策略,分区分配的数据结构为空闲分区链,分配算法采用首次适应算法(FF) 系统仅有一个CPU;作业提交时申明需要的CPU时间和内存大小(以KB为单位)。-Located within the memory available for allocation to 1MB (1000KB), memory allocation dynamic partition allocation strategies, area distrib
aluo1
- 拿“优”的数据结构课程设计:模拟旅馆管理系统的床位的分配与回收功能。 里头包括源代码、exe文件、课程设计报告。非常全,值得下载!-Get " excellent" curriculum of the data structure design: Analog hotel management system for the allocation of beds and Recycling function. Inside, including source code, ex
Memory
- 内存管理 设计一个内存管理器,支持至少两种分配策略。 对不同分配策略的性能进行评估。 利用c++语言实现了,First-fit,next-fit。两种分配算法。并实现了测试程序 -Design a memory management memory management, and support for at least two types of allocation strategies. On the performance of different allocation st
bit_power_allocation
- :该文研究OFDM 系统在总功率和误比特率限定下最大化传输速率的问题,并且考虑实际系统中整数比特的限制, 提出基于灌水法则的两种比特分配算法——改进贪婪算法和对分灌水线搜索法-The maximization of data rate under the constraint of total transmit power and bit error rate is a considerable issue in OFDM system. Recognizing that the num
Dijkstra2009
- 银行家算法: 1、能任意设定资源的种类数。 2、能任意设定进程的总数。 3、能查看各类资源的剩余情况。 4、能查看各个进程的资源分配情况。 5、当某进程申请资源时,能用银行家算法和安全性算法检查系统的安全性。 6、当系统处于安全状态时,能输出系统的安全性序列。 7、在初始化银行家算法时,能对输入的数据进行判断,并能报错! -Banker' s Algorithm: 1, to arbitrarily set the number of types of r
wyj
- 动态分区分配方式模拟:了解动态分区分配方式中使用数据结构和分配算法-Simulate the dynamic partition
user_mm
- 1. 分析用户程序虚拟地址空间分布 2. 模拟实现可变分区管理,存储分配算法采用最佳适配算法。-1. Analysis of user process virtual address space distribution 2. Simulation and Realization of a variable partition management, storage allocation algorithm uses the best fit algorithm.
DynamicMem
- 动态分区方式主存的分配和回收程序,在动态分区管理方式下采用不同的分配算法实现主存分配和实现主存回收-It is a project that itimate memory distribute and restore
suanfa
- 计算机算法中用到的经典算法。包括01背包,多段图,资源分配问题,子数合集等。-Computer algorithms used in the classical algorithm. Including 01 backpack, multi map, resource allocation, the number of sub-collection, etc..
buddysystem
- 伙伴系统(buddy system)算法实现。两个文件 buddysystem.c,buddysystem.h,主要实现了两个主功能函数1.Buddy System 内存块分配算法,函数AllocBuddySpace;2.Buddy System 空闲块回收算法,函数FreeBuddy。-Buddy system (buddy system) algorithm. Two files buddysystem.c, buddysystem.h, mainly to achieve two ma
memory--recycling-experiments
- 熟悉主存的分配与回收。理解在不同的存储管理方式下,如何实现主存空间的分配与回收。掌握动态分区分配方式中的数据结构和分配算法及动态分区存储管理方式及其实现过程-Familiar with the main memory allocation and recovery. Understanding of storage management in a different way, how to achieve the main memory space allocation and recyclin