Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Scheduling algorithm

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Scheduling algorithm

    Hello guys please help me make a scheduling algorithm for a restaurant delivery.
    Suppose you only have 2 delivery man.. A pseudo code may help. thank you


  2. #2
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    661
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Re: Scheduling algorithm

    Sure thing.

    Okay, you need to write a scheduling algorithm which helps with a delivery service.

    Next step: Implementation.

    Here's some pseudo code:

    if(foodOrdered) deliver.

    Hope this helps!!


    ...
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

Similar Threads

  1. Algorithm for Optimal Job Scheduling Contest
    By bart_bl in forum The Cafe
    Replies: 3
    Last Post: May 6th, 2011, 02:59 AM
  2. Scheduling Problem
    By pmg in forum What's Wrong With My Code?
    Replies: 2
    Last Post: February 19th, 2011, 08:26 PM
  3. askfor some idea on examination scheduling using Harmony algorithm
    By starmove in forum Algorithms & Recursion
    Replies: 0
    Last Post: January 9th, 2011, 11:25 PM
  4. Help in Scheduling please????
    By touches in forum Algorithms & Recursion
    Replies: 2
    Last Post: October 20th, 2010, 07:41 AM
  5. non preemptive scheduling.....challenging!!
    By snehil2009 in forum Java Theory & Questions
    Replies: 0
    Last Post: November 8th, 2009, 02:07 AM