搜索资源列表
zy1
- 一.算法介绍: **数据结构: 1.可利用资源向量Available 2.最大需求矩阵Max 3.分配矩阵Allocation 4.需求矩阵Need **功能介绍: 模拟实现Dijkstra的银行家算法以避免死锁的出现.分两部分组成: 第一部分:银行家算法(扫描) 1.如果Request<=Need,则转向2 否则,出错 2.如果Request<=Available,则转向3,否则等待 3.系统试探分配请求的资源给进程 4.系统执行安
生产者与消费者
- 程序用C++模拟了操作系统中的三种最典型的简单的静态进程调度算法;先由用户动态输入生成模拟进程,使用了26种可供用户选择的典型语句(包括循环、选择结构),可处理整型、布尔型与字符型三种数据与表达式计算;程序编制时主要采用的编程技术是:用语句链表记录进程语句,并用PCB链表,就绪队列链表,阻塞队列链表,执行队列链表,结束队列链表等数据表示进程处理过程中的相互关系,由于静态数据结构不适合处理数据量大小不定的数据,而动态队列结构适合于处理数据量大小可变数据的处理,因此在程序中采用动态链表对这些数据进行
实验三 最高优先级调度代码
- 模拟创建进程(建立一个记录型数据结构PCB):给出进程标识、状态、到达时间、运行时间等用先来先服务调度算法进行模拟实现-simulation creation process (to establish a record type data structure PCB) : the process of identification is given, state, arrival time, the time spent running a first-come first-service s
Unix_process
- 目录 1.理解进程 5 1.1.进程的基本概念 5 1.1.1.区别程序与进程 5 1.1.2.进程分类 5 1.1.3.进程属性 5 1.1.4. 父进程和子进程 5 1.2.Unix/Linux下的进程管理 6 1.2.1.进程是系统资源管理的基本单位 6 1.2.2. Unix/Linux进程 6 1.2.3. task_struct数据结构组成 6 1.2.4.进程 Identifiers 8 1.2.6. 进程创建 10 1.2.7.
1
- 通过编写进程管理的算法,要求学生掌握整个进程管理的各个环节,进程的数据结构描述,进程的各种状态之间的转换,以及进程的调度算法。以加深对进程的概念及进程调度算法的理解,并且提高链表的应用能力,达到提高编程能力的目的。-Process management through the preparation of the algorithm, requires students to master the management of all aspects of the process, the pro
Producers-and-consumers
- 多进程/ 线程编程:生产者 - 消费者问题。 1,设置两类进程/ 线程,一类为生产者,一类为消费者; 2,建立缓冲区的数据结构; 3,随机启动生产者或消费者; 4,显示缓冲区状况; 5,随着进程/ 线程每次操作缓冲区,更新显示;-Multi-process/thread programming: producer- consumer issues. 1, set two types of processes/threads, one for producers, a cla
Project1
- 哈工大数据结构实验使用到的各种数据结构,从跳表到AVL树-HIT experimental data structure using a variety of data structures, jumping table to AVL tree
process-communication
- 进程之间的信息传递不可能通过变量或其它数据结构直接进行,只能通过进程间通信来完成-Process of information transmission between impossible by a variable or other data structure directly, can only be done through inter-process communication
DomtonentsComponents
- 博和求值表达式组件 V2,0,从事多媒体,数据结构,数据库-Components and uate expressions V2, 0, engaged in multimedia, data structure,
inpert_insert_the
- 实现数据结构栈的删除插入和修改!模拟栈的强大功能-Delete insert and modify the data structure of the stack!!
feklwu790
- 数据结构原代码,从事算法设计与分析技术,不错的源码-Data structure of the original code, is engaged in the algorithm design and analysis technology, good source
structdoj__into__maze
- Data structure in the maze experiment, put it into a similar tanks game program
immstability-preprocessor
- 简单的算法编程,是我们平时的数据结构中的小程序,不错的选择-Simple arithmetic programming, it is our usual small program of data structure, a good choice
the
- 这是我学习数据结构所编写的一些二叉树及链表常用操作的一些代码!-This is my learning written some of the binary tree data structure and list some of the common operations code!
bita
- 每个教数据结构的老师都至少会要求学生利用学过的结构编写出一些现实模型-Every teacher teach data structure will require students to use at least studied the structure of the write some real model
jyga
- 这个程序时avl树的所有算法的实现,包括插入删除新建排序,是数据结构学习者的极佳材料-Avl tree all the algorithm when the program implementation, including delete insert new sorting, excellent material learners is a data structure
asnnchronousmkernels
- data structure广度优先搜索实现迷宫最短路-The data structure breadth-first search maze the short circuit
kroblem_Weimin
- Yan Weimin 数据结构课本源码及习题解析-Yan Weimin textbook source data structure and problem resolution
dzta
- 每个教数据结构的老师都至少会要求学生利用学过的结构编写出一些现实模型-Every teacher teach data structure will require students to use at least studied the structure of the write some real model
data
- 实现数据结构栈的删除插入和修改!模拟栈的强大功能-Delete insert and modify the data structure of the stack!!