README In this version of the simulator, input can be given from the command line. The zip file contains the following files: The following are the source files - event.cpp event.h framebuffer.cpp framebuffer.h node.cpp node.h PQE.cpp PQE.h link.cpp link.h simulator.cpp constants.h struct_h.h frame.h output: contains the sample output of the simulator. Readme: this file. To compile and create an executable, type: CC -o event.cpp node.cpp link.cpp PQE.cpp framebuffer.cpp simulator.cpp To run the simulator, give > output The output statements will be written to a file named output. To view that, type: pico output The following is the example of input: simulator 100 0.024 3 7680 1000000 0.064006 0.05 0.10 100 > output Note: The input must be given in the order specified. The following is the description of input parameters: - is the maximum number of frames that the source will send. It is the stopping condition for the simulator. It is the frame count, an integer value. - is the propagation delay of the link in secs. - is the window size of the node or the number of outstanding frames in the node at any time. - is in bits. It is the size of a data frame excluding the header.(Frame has both header and data). This is just the size of the data. The size of the header(320 bits) is added to it when the frame size is displayed in the simulator output. - is the speed at which the node gives the frame bytes to the link. It is in bits/sec. - is the timeout interval of a data frame - is the rate at which the frames will be lost in the link. A real value between 0 and 1. - is the rate at which the frames will be damaged in the link. A real value between 0 and 1. - it is the seed value for the random number generator. An integer value.