|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FirstComeFirstServedSim
public class FirstComeFirstServedSim
Constructor Summary | |
---|---|
FirstComeFirstServedSim(SampleManager s,
CustomerGenerator cg,
int size)
Creates a new simulator object with a given SampleManager and CustomerGenerator, creating a Store with a specified number of lanes. |
Method Summary | |
---|---|
void |
runStep()
Runs one step of simulation time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FirstComeFirstServedSim(SampleManager s, CustomerGenerator cg, int size)
s
- a SampleManager to track aggregate service-time/items ratioscg
- a CustomerGenerator to model a stream of arriving customerssize
- the size, in number of CheckoutLanes, of the Store to createMethod Detail |
---|
public void runStep()
runStep
in interface Simulation
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |