Reply
FCFS, SJF , and RR in Java
Old 10-15-2005, 08:08 PM FCFS, SJF , and RR in Java
abeMING's Avatar
Novice Talker

Posts: 9
Hi everybody, i need to create the FCFS, SJF, and RR scheduling simulation project and i need the those algorithm to finished my project. Would somebody here help me with algorithm or some source code???
abeMING is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-16-2005, 08:28 AM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
For those who haven't done a computer science course I think he means First Come First Served, Shortest Job First and Round Robin.

If you are on a course where you need to produce a project of this kind, you should have access to information about the algorithms.

No-one is going to do this for you since that would defeat the point of the exercise, but if you have any specific JAVA problems then we might be able to help.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';
Scribble Pad MOD for phpBB (aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 04-21-2006, 12:44 PM Re: FCFS, SJF , and RR in Java
Junior Talker

Posts: 2
Hi!

I´m a student who is desperate to get at least an example of FCFS code that implements the method execute so i can finish a practise, could someone help me?

Thanks a lot.
crisvi is offline
Reply With Quote
View Public Profile
 
Old 04-21-2006, 01:52 PM Re: FCFS, SJF , and RR in Java
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Just have a go at it and see how far you get.

A good place to start would be to build some sort of queue datastructure, when a job arrives you put it in the queue. When the processor or whatever you are simulating is free, you pick off the first item in the queue. If the queue is empty you wait for a new job to come along.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';
Scribble Pad MOD for phpBB (aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to FCFS, SJF , and RR in Java
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13145 seconds with 12 queries