|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CustomerGenerator
public class CustomerGenerator
Method Summary | |
---|---|
Customer[] |
getArrivals()
Returns an array of Customers arriving in a given time step. |
static void |
main(java.lang.String[] args)
|
static CustomerGenerator |
makeHeavy()
Returns a "heavy traffic" stream of customers. |
static CustomerGenerator |
makeHeavy(int seed)
Returns a "heavy traffic" stream of customers, using the specified seed. |
static CustomerGenerator |
makeLight()
Returns a "light traffic" stream of customers. |
static CustomerGenerator |
makeLight(int seed)
Returns a "light traffic" stream of customers, using the specified seed. |
static CustomerGenerator |
makeModerate()
Returns a "moderate traffic" stream of customers. |
static CustomerGenerator |
makeModerate(int seed)
Returns a "moderate traffic" stream of customers, using the specified seed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Customer[] getArrivals()
public static CustomerGenerator makeLight()
public static CustomerGenerator makeLight(int seed)
seed
- the seed to start the pseudorandom sequence
public static CustomerGenerator makeModerate()
public static CustomerGenerator makeModerate(int seed)
seed
- the seed to start the pseudorandom sequence
public static CustomerGenerator makeHeavy()
public static CustomerGenerator makeHeavy(int seed)
seed
- the seed to start the pseudorandom sequence
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |