Jonatlop07 / SimulationOfDiscreteEvents

Repository for the discrete events simulation code examples given in the book 'Simulation Modeling and Analysis, Averill M. Law, fifth edition, 2014.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimulationOfDiscreteEvents

Repository for the discrete events simulation code examples given in the book 'Simulation Modeling and Analysis, Averill M. Law, fifth edition, 2014.

My ~/.bashrc commands to compile, execute and see the output of the models:

  • First, open bashrc file with: 'vim ~/.bashrc'
  • Then, add the following aliases:
alias randgen="cd rand_gen ; make -f lcgrand.mk ; cd .."
alias mm1="randgen ; cd mm1 ; make -f mm1.mk ; cat mm1.out ; cd .."
alias inv="randgen ; cd inv ; make -f inv.mk ; cat inv.out ; cd .."
  • Type: 'source ~/.bashrc' to apply the changes

  • Finally, go to the root folder of the repo and type the alias

About

Repository for the discrete events simulation code examples given in the book 'Simulation Modeling and Analysis, Averill M. Law, fifth edition, 2014.


Languages

Language:C 97.1%Language:Makefile 2.2%Language:C++ 0.7%