1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

M/M/C queue with C++ builder

Discussion in 'C++' started by maya1, Mar 31, 2009.

  1. maya1

    maya1 New Member

    Joined:
    Mar 31, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi everyone:

    Can anyone help me how to implement a M/M/1 queue in C++ builder ? because
    I want an interactive program
    Thanks in advance for your help
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    What is an M/M/C queue, and is it M/M/C or M/M/1?
     
  3. maya1

    maya1 New Member

    Joined:
    Mar 31, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    it is an M/M/1 queue
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    And what is an M/M/1 queue?
     
  5. maya1

    maya1 New Member

    Joined:
    Mar 31, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    The M/M/1 is a single-server queue model, that can be used to approximate a lot of simple systems.
    Following Kendall's notation it indicates a system where:

    * Arrivals are a Poisson process;
    * Service time is exponentially distributed;
    * There is one server.
     
  6. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    OK, so where are you up to in the program design? Have you decided how it's going to work? Have you started any coding? Where are you stuck, and what are you stuck on?
     

Share This Page