Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Closed Thread
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
Trades: 0
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
View Public Profile
 
 
Register now for full access!
Old 10-16-2005, 08:28 AM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
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';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
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
Trades: 0
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
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
Trades: 0
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';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
View Public Profile Visit 0beron's homepage!
 
Closed Thread     « Reply to FCFS, SJF , and RR in Java
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.12995 seconds with 12 queries