搜索资源列表
test21
- 五子棋实现人机对战,利用危害对进 行优先级计算-renju achieve human-machine players, for use against right-priority calculation
非常实用的一款计算器
- 这是一款非常实用的计算器,我认为其实用程度远远胜过Windows系统提供的计算器.主要特色是支持多项式运算,即可以一次输入整个多项式,并能够识别运算的优先级(利用堆栈实现)-This is a very practical calculator, I think far better than using Windows systems calculator. The main feature of polynomial Operati
调度算法
- 这是操作系统实验的调度算法,包含时间片轮转法,抢占式优先权算法,非抢占式优先权算法,先来先服务算法,短作业(进程)优先调度算法. -This is the experimental operating system scheduling algorithms, including time-rotate, Preemptive priority algorithm, non-preemptive priority algorithm
实用单片机系统
- 增加ASCII.C的一个ASCI码(7F),用于虚拟按键用 修改UART串口的命令解析程序,修改RTC的pcf8563中断部分。 精简IIC和smart_timer代码,添加define.h的宏定义。 修改system.c里的消息堆栈的宏定义 增加ii.c函数,支持对eeprom的打包 增加由PLD或者GPIO输出的模拟UART,在6个CLOCK下速度为57.6K 增加消息的优先级功能,消息类型的前4位为消息的优
读-写
- 在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题。-the windows 98/2000, the process of creating a console, this process contain n threads. Use of these n threads to expr
VHDL范例
- 最高优先级编码器 8位相等比较器 三人表决器(三种不同的描述方式) 加法器描述 8位总线收发器:74245 (注2) 地址译码(for m68008) 多路选择器(使用select语句) LED七段译码 多路选择器(使用if-else语句) 双2-4译码器:74139 多路选择器(使用when-else语句) 二进制到BCD码转换 多路选择器 (使用case语句) 二进制到格雷码转换 双向总线(
ucos 2.76
- 最新版ucos II 完整源码,非常好的一个实时操作系统,支持64个实时任务,优先级调度。-latest version TRACK II source code integrity, a very good real-time operating system to support 64 real-time task, priority scheduling.
图深度优先
- 图的深度优先算法动态演示,用到了直线的中点绘制算法-map algorithm for dynamic priority depth demonstration of the use of linear midpoint Rendering Algorithm
电子节拍器
- 捕捉拍频 * 捕捉拍频功能仅在拍子停止时可用。 * 以一定节奏连纽按动Tap按钮两下或更多,Tempo会自动对应于按动的拍频。 * 连续2秒没有按动Tap,或启动拍子,则上次按动的记录将被清除,并在下次按动时重新记算拍频。 * 拍频将以连续按下的拍子间隔,以一定算法进行统计,得出近似值。 调节音量 * 拖动Volume框中的滑条即可调节音量,向左拖动使音量减小,向右拖动反之。 * 最小音量为静音,最大音
实验一 进程、线程的控制
- 设计一个有 N个进程共行的进程调度程序。 进程调度算法:采用最高优先数优先的调度算法(即把处理机分配给优先数最高的进程)和时间片轮转调度算法。 每个进程由一个进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 -design is a process of a total of N line in the process scheduler. Pr
一些译码器源代码
- 内有LED译码器,汉明纠错译码器,地址译码器,最高优先译码器,双2-4译码器等VHDL的源代码-decoder, Hamming error correction decoder, address decoder, the highest priority decoder, dual 2-4 decoder such as VHDL source code
chenbo广度
- 人工智能运用广度优先算法来解决八数码问题,由初始状态到目标状态按层搜索-breadth priority use of artificial intelligence algorithms to solve eight digital issue, the initial state to the target state by layer Search
作业调度算法的模拟
- 用C语言,或C++实现对N个作业分别采用FCFS,SJF,HRN和高优先权优先等算法进行调度。-language C, or C N realization of operations respectively FCFS, SJF, 010-001 and high priority for priority scheduling algorithm.
JC
- 操作系统的3个进程的调度问题,根据进程的优先级,对进程进行调度-three operating systems process of scheduling problems, according to the priority process, the process for scheduling
图的操作界面
- 图邻接表的建立,深度优先遍历,.广度优先遍历,最小生成树,拓扑排序,单源点到其余各个顶点的最短路径等对图的操作!VC界面!-plans to establish the adjacent table, depth-first traversal. Breadth priority traversal, the minimum spanning tree, topological sorting, single-source all of
JCHENG
- 设计有n个进程的程序,其中每个进程控制块PCB中包括: 进程名(ID),进程优先数(Priority),进程进入CPU的时间(Intime),程序需要运行的时间(Alltime) 将PCB块联接在一个单链表(数据结构)中,并在屏幕上显示其内容-n design process procedures, which each process control block PCB include : process (ID), the proc
JCHENG2
- 设计一个程序模拟进程管理的过程,采用时间片轮转法,进程占用CPU的时间片有每个进程的优先数来确定。(约定:每个优先数对应10分钟)-design a simulation process management process using time-Web, the process of CPU time for each and every piece of the process to determine the priority n
1调度程序Scheduling
- 当要添加进程时,直接输入进程的名称,优先级,需要时间,然后安添加按钮 添加进程时可以随时安运行按钮运行进程,挂起时需要输入要挂起的进程的名称,解挂时也需要输入要解挂的进程的名称.-when added to the process, the process of direct importation of the name, priority, time, and then on the Add button to add proces
简单的表达式求值
- 语法分析正确后就可以求值了,求值时用到一个操作数堆栈和操作符堆栈,以及一个算符优先表(存储了运算符之间的优先关系),具体细节可以阅读源码。-syntax analysis is correct after it evaluates the value used for a number of operations and the operator stacks stack, and an operator priority list (
l7
- 时考虑到在哈夫曼中要每次挑选两个频率最小(即出现次数最小,我那个hNode里的value 是出现的次数),很自然的就想到了std::priority_queue容器,优先队列每次都会弹出队列 中权值最高的元素,这个特性无疑是实现哈夫曼算法的最佳选择。 ... -to consider the Huffman each selected to be the smallest two frequencies (that is,