Results 1 to 4 of 4
  1. #1
    thc
    thc is offline Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    0

    Default Queue implementation

    Hello all
    I have to implement a queue but I'm a lil bit confused with some features and implementation techniques. I've download some queue implementation from the internet but I don't know how to get started for the next step.
    I have to implement a queue for a shop where clients. Each client have a randomWaitTime and randomProccessingTime. The inputs are: min and max from randomWaitTime which every clients have a time for waiting in the queue. Another input is for maximum numbers of desk.
    Just this for now. Hope you understand what I want and I ask you to give me some help for understanding this and learning Java. I'm a begginer so every kind of help is welcome :) Thank you
    Have a nice day.

    PS I have attached the source files to see what I've done and make an idea.
    Attached Files Attached Files

  2. #2
    thc
    thc is offline Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    0

    Default

    Nobody? I'm waiting for your answers

  3. #3
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Discrete event simulation? Well you haven't specified where you need help with. I haven't looked at your code. Is it going to be for just the M/M/S/k model or are the arrival and service time distributions pluggable as well?

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

Similar Threads

  1. Queue
    By DCY in forum New To Java
    Replies: 6
    Last Post: 05-04-2010, 08:07 PM
  2. Queue implementation - Enqueue problem
    By jefrazie in forum New To Java
    Replies: 5
    Last Post: 11-05-2009, 01:10 AM
  3. Queue in the GUI
    By jonywalker123 in forum Advanced Java
    Replies: 2
    Last Post: 03-06-2009, 08:33 PM
  4. Declaring a Queue
    By rhm54 in forum New To Java
    Replies: 1
    Last Post: 03-21-2008, 05:02 AM
  5. Using a queue
    By Krmeus in forum New To Java
    Replies: 0
    Last Post: 12-10-2007, 03:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •