17.07.2015 Views

Implement a simulator, in Java, for evaluating AntNet routing protocol

Implement a simulator, in Java, for evaluating AntNet routing protocol

Implement a simulator, in Java, for evaluating AntNet routing protocol

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

should not be used if the networkfile is not present.-s seed<strong>in</strong>itialize the random number generator us<strong>in</strong>g the value of seed.-iwhen the simulated time exceeds th stoptime value specified, the user is asked whetheror not to cont<strong>in</strong>ue the simulation.-recordwrite the occurrence of the record type events to the file sim_event.process_id.-play filenameread and schedule events from the file filename, which should be a file that was createdus<strong>in</strong>g the -record option.-perfdt update_period<strong>for</strong> periodically-updated per<strong>for</strong>mance measure use the value of update_periiod as theupdate period length <strong>in</strong> microseconds.-skipt startup_<strong>in</strong>tervalaverage per<strong>for</strong>mance measures are based on statistics collected after the simulated timeexceeds startup_<strong>in</strong>terval <strong>in</strong> microseconds.The -x option is useful <strong>for</strong> long simulation runs; with this option the <strong>simulator</strong> runs faster.The -record/-play options allows the user to repeat a sequence of record type eventoccurrences across different simulation runs. It is useful when we evaluate differentrout<strong>in</strong>g algorithms subject to the same failure/repair event occurrences. The -perfdt optioncan be used to control the size of the log file, s<strong>in</strong>ce most of the per<strong>for</strong>mance measures areperiodically -updated per<strong>for</strong>mance measures.The current version of the CuRS does not support GUI, so the user need to create thenetworkfile manually. There is a example networkfile <strong>in</strong> the CuRS. When the GUI part isadded <strong>in</strong> the future, the user can create the network us<strong>in</strong>g GUI and save the networkconfiguration by the click<strong>in</strong>g the save button.7.3 ExampleCuRS provides a small networkfile called "example-net" <strong>in</strong> the etc subdirectory. The usercan start CuRS with this networkfile to ga<strong>in</strong> first experience with the <strong>simulator</strong>. Aftergett<strong>in</strong>g familiar with CuRS, the user should try to build his/her own networkfile.8. References• MaRS-L<strong>in</strong>ux Version : http://www.cs.bu.edu/fac/matta/software.html• C. Alaett<strong>in</strong>oglu, A. U. Shankar, K. Dussa-Zieger, and I. Matta. Design and<strong>Implement</strong>ation of MaRS: A Rout<strong>in</strong>g Testbed.http://citeseer.nj.nec.com/update/204312• C. Alaett<strong>in</strong>ouglu, K. Dussa-Zieger, I. Matta, A.U. Shankar, and O. Gudmundsson.Introduc<strong>in</strong>g MaRS, a Rout<strong>in</strong>g Testbed. ACM SIGCOMM ComputerCommunication Review, 95-96 (1992).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!