操作系统中的替换算法 [英] Replacement algorithums in operating systems

查看:59
本文介绍了操作系统中的替换算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在大学中学习与操作系统相关的主题替换算法,称为FIFO,最优算法,LRU算法。我可以为此获得java代码示例



我尝试了什么:



我没有这个代码。我们只学习理论

we learn in univercity related to Operating Systems subject replacement algorithums called FIFO,Optimal algorithum,LRU algorithum.Can I get java code examples for this

What I have tried:

I do not have a code for this.we learn only theories for this only

推荐答案

Quote:

我可以获得这个的java代码示例

Can I get java code examples for this

是的,通过在网上搜索一些东西比如java< algorithm> algorithm。



我发现这样做的一些例子:

java中的LRU页面替换算法

FIFO(先进先出)页面替换算法程序(源代码),用Java编写。

Yes, by searching the web for something like "java <algorithm> algorithm".

Some examples I found doing so:
LRU Page Replacement algorithm in java
FIFO (First In First Out) Page Replacement Algorithm program (Source code) in Java.


Quote:

我没有这个代码。我们只学习理论

I do not have a code for this.we learn only theories for this only



Google是你的朋友。

由于这些概念在这里存在了50多年,因此有很多文献。你可以在没有代码的情况下理解它们。

你想要的任何语言都有很多cpde,只要你问Google就好。


Google is your friend.
Since those concepts gave been here for 50+ years, there is a lot of literature. You can understand them without code.
There is lot of cpde in any language you want, just be nice when you ask Google.


这篇关于操作系统中的替换算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆