Go back to IBMF


SimProcess

This class holds all the agents, and is responsible for progressing the simulation by picking the agent which has the event with smallest event time, and let that agent to handle its smallest event.

It is an agent itself, and it is always the first agent defined. So it can understand events, such as quitting the simulation.

It also has a logger that can log events.

This design is mostly for the possibility to extend it to parallel computing, in which multiple processes can run on various platforms with various mechanisms.

Files: