Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 2 opt
Search - 2 opt - List
页式管理关于缺页、中断、优化的FIFO、LRU和OPT算法,通过三种算法,可分别计算得出在页片置换中的缺页次数和缺页率以及被淘汰的页号...
Date : 2010-06-13 Size : 427.8kb User : zhang20082100

算法实现题2-3 邮局选址问题 « 问题描述: 在一个按照东西和南北方向划分成规整街区的城市里,n个居民点散乱地分布在不同的 街区中。用x 坐标表示东西向,用y坐标表示南北向。各居民点的位置可以由坐标(x,y)表示。 街区中任意2 点(x1,y1)和(x2,y2)之间的距离可以用数值|x1-x2|+|y1-y2|度量。 居民们希望在城市中选择建立邮局的最佳位置,使n个居民点到邮局的距离总和最小。 « 编程任务: 给定n 个居民点的位置,编程计算n 个居民点到邮局的距离总和的最小值。 « 数据输入: 由文件input.txt 提供输入数据。文件的第1 行是居民点数n,1£ n£ 10000。接下来n 行 是居民点的位置,每行2 个整数x 和y,-10000£ x,y£ 10000。 « 结果输出: 程序运行结束时,将计算结果输出到文件output.txt 中。文件的第1 行中的数是n 个居 民点到邮局的距离总和的最小值。 输入文件示例 输出文件示例 input.txt output.txt 5 1 2 2 2 1 3 3 -2 3 3 10
Date : 2025-12-26 Size : 63kb User : 林总

FIFO\LRU\OPT三种统计缺页算法的源码 在VC6.0下编译通过.-Statistics FIFOLRUOPT three missing page source algorithm adopted in the VC6.0 compiler under.
Date : 2025-12-26 Size : 1kb User : test

操作系统课程设计,虚拟存储管理缺页中断模拟系统的设计,OPT,FIFO,随机替换算法-Operating systems curriculum design, virtual memory management page fault simulation system design, OPT, FIFO, random replacement algorithm
Date : 2025-12-26 Size : 141kb User : 云飞扬

一、进程与线程 下载相关的阅读材料 1. 在windows 下编写一个控制台应用程序,命名为an_ch2_1b。这个程序不断地输出如下行: Those output come from child,[系统时间] 另外写一个控制台应用程序,命名为an_ch2_1a。这个程序创建一个子进程,执行an_ch2_1b。这个程序不断地输出如下行: Those output come from child,[系统时间] 观察程序运行的结果,并对你看到的现象进行解释。你如何修改程序使得两个进程的输出出现在两个不同的控制台窗口上? 2。在windows 环境下编写一个控制台应用程序,输出系统中正在运行的进程的信息,包括进程号、进程所运行的程序、进程的启动时间、在核心态下消耗的时间以及在用户态下消耗的时间。 3。在windows 环境下编写一个控制台应用程序,程序中有一个共享的整型变量shared_var,初始值为0;创建一个线程并使其立即与主线程并发执行。新创建的线程与主线程均不断地循环,并输出shared_var 的值。主线程在循环中不断地对shared_var 进行加1操作,即每次循环shared_var 被加1;而新创建的线程则不断地对shared_var 进行减1 操作,即每次循环shared_var 被减1。观察程序运行的结果,并对你看到的现象进行解释。-err
Date : 2025-12-26 Size : 23kb User : luqianhui

蚁群算法结合2-opt技术解决旅行商问题(TSP)-Ant colony algorithm with 2-opt technology to solve the traveling salesman problem (TSP)
Date : 2025-12-26 Size : 3.56mb User : newshowing

页面置换算法 1 先入先出法(FIFO)2 最优置换算法(OPT)3 最久未使用算法(LRU)4 第二次机会算法(SCR)-none
Date : 2025-12-26 Size : 3kb User : Hedge

编程模拟一个作业的执行过程,用户输入系统分配给该作业的物理块N和该作业要访问的逻辑页号序列长度L,采用下面不同的页面置换算法:FIFO,LRU,OPT,LFR,NUR,给出不同算法下的页面置换情况及其对应的缺页率-Programmed to simulate a job execution, the user input system assigned to the job and the job of physical block N logical page number to access the sequence length L, use the following different page replacement algorithm: FIFO, LRU, OPT, LFR, NUR, given under different page replacement algorithms and their corresponding page fault rate
Date : 2025-12-26 Size : 1kb User : erevus

用c语言实现页面置换算法,包括三种算法FIFO、LRU、OPT。-C language page replacement algorithms, including three algorithms FIFO, LRU, OPT.
Date : 2025-12-26 Size : 1kb User : 剑煮江湖

用FIFO和OPT算法进行虚拟存储器器,求缺页数和缺页率,用于操作系统的实验 -FIFO and OPT algorithm for virtual memory, find the missing pages and page fault rate for the experimental operating system
Date : 2025-12-26 Size : 1kb User : shanchun

编写一个窗口应用程序,其中有一个菜单项,该菜单下有“显示”、“隐藏”、“退出”等项,当选择“显示”选项时,窗口中显示一个对话框,对话框中显示“我们一起来学习Windows编程”,当选择“隐藏”选项时,对话框消失;当选择“退出”选项时,退出程序运行。-Write a window application which has a menu item, the menu under " Display" , " hidden" , " exit" items such as window, when select " Display" option, a dialog box appears, the dialog box shown in " We work together to learn Windows programming, the dialog box disappears when select" Hide " option " opt-out " option to exit the program run.
Date : 2025-12-26 Size : 2.17mb User :

用c语言实现页面置换算法,包括三种算法FIFO、LRU、OPT。C language page replacement algorithms, including three algorithms FIFO, LRU, OPT.-C language page replacement algorithms, including three algorithms FIFO, LRU, OPT.
Date : 2025-12-26 Size : 2kb User : ectivehe

视图分割源代码  MainFrm.cpp 5.58 KB    MainFrm.h 1.71 KB    ReadMe.txt 3.94 KB    resource.h 687 bytes    StdAfx.cpp 204 bytes    StdAfx.h 987 bytes    switch.aps 44.68 KB    switch.clw 2.62 KB    switch.cpp 4.09 KB    switch.dsp 4.78 KB    switch.dsw 535 bytes    switch.h 1.38 KB    switch.opt 47.50 KB    switch.plg 2.37 KB    switch.rc 12.20 KB    switchDoc.cpp 1.70 KB    switchDoc.h 1.45 KB- MainFrm.cpp 5.58 KB    MainFrm.h 1.71 KB    ReadMe.txt 3.94 KB    resource.h 687 bytes    StdAfx.cpp 204 bytes    StdAfx.h 987 bytes    switch.aps 44.68 KB    switch.clw 2.62 KB    switch.cpp 4.09 KB    switch.dsp 4.78 KB    switch.dsw 535 bytes    switch.h 1.38 KB    switch.opt 47.50 KB    switch.plg 2.37 KB    switch.rc 12.20 KB    switchDoc.cpp 1.70 KB    switchDoc.h 1.45 KB
Date : 2025-12-26 Size : 44kb User : 宋建国

操作系统页面替换算法,包括FIFO、OPT、LRU、CLOCK算法 -Operating system virtual page replacement algorithm, including FIFO, OPT, LRU, CLOCK. The four algorithm
Date : 2025-12-26 Size : 3kb User : 江小五

Optimal type of paging algorithm and paging replacement
Date : 2025-12-26 Size : 2kb User : BOrnAgain

属性页源代码 upd_creating_cprop_appl 用于展示调用出属性页,查看调用过程源代码-upd_creating_cprop_appl (1 folders, 10 files, 102.26 KB, 112.26 KB in total.)    FScript.rc 3.71 KB    ico00001.ico 318 bytes    icon1.ico 766 bytes    NewPropertySheet.dsp 3.71 KB    NewPropertySheet.dsw 555 bytes    NewPropertySheet.ncb 41.00 KB    NewPropertySheet.opt 47.50 KB    NewPropertySheet.plg 1.58 KB    resource.h 1.11 KB    TheApp.cpp 2.05 KB   Release (0 folders, 1 files, 10.00 KB, 10.00 KB in total.)      NewPropertySheet.exe 10.00 KB
Date : 2025-12-26 Size : 16kb User : lzy

模拟操作系统中页面置换算法,可进行FIFO ,LRU,OPT等算法。(Simulated operating system page replacement algorithm, which can be FIFO, LRU, OPT and other algorithms.)
Date : 2025-12-26 Size : 40kb User : 666。6

将蚁群算法与2交换邻域搜索算法结合,用MATLAB编程实现(The ant colony algorithm and 2 - exchange neighborhood search algorithm were combined and realized by MATLAB programming)
Date : 2025-12-26 Size : 18kb User : 星月之都
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.