Thông tin tài liệu
133 }; /* * The base class for all event handlers. When an event’s scheduled * time arrives, it is passed to handle which must consume it. * i.e., if it needs to be freed it, it must be freed by the handler. */ class Handler { public: virtual void handle(Event* event); }; Các gói tin trong NS được định nghĩa từ lớp Event như sau: class Packet : public Event { private: friend class PacketQueue; u_char* bits_; protected: static Packet* free_; public: Packet* next_; /* for queues and the free list */ static int hdrlen_; Packet() : bits_(0), datalen_(0), next_(0) {} u_char* const bits() { return (bits_); } static void free(Packet*); }; 6.3.2. Các tiện ích trong NS hỗ trợ cho mô phỏng mạng [Pending] Các module phục vụ cho mô phỏng mạng máy tính và viễn thông: Mobile networks, mobile IP, DiffServ, IntServ, MPLS, UDP/TCP/IP, SCTP, routing protocols (mobile ad-hoc, unicast, multicast), RED, RIO, WFQ, CSMA/CD, ON/OFF source, Pareto .v.v. Các chương trình trợ giúp trong việc khai thác số liệu mô phỏng: Nam, XGraph .v.v. 6.3.3. Thí dụ (Pending) 6.4. Kết luận (Pending) 134 6.5. Bài tập (Pending) 135 Tài liệu tham khảo [1] John S. Carson II, Barry L. Nelson, Discrete-Event System Simulation, Jerry Banks, Prentice Hall 1996 [2] Richard Blum, Network Performance Open Source Toolkit Using Netperf, tcptrace, NIST Net, and SSFNet, Wiley Publishing 2003 [3] Raj Jain, The Art of Computer Systems Performance Analysis: Techniques for Experimental Design, Measurement, Simulation and Modeling, John Wiley and Sons 1991 [4] Kannan Varadhan, Kevin Fall, NS Manual, http://www.isi.edu/nsnam/ns/ns- documentation.html [5] http://www.isi.edu/nsnam/ns/ [6] Marc Greis, NS Tutorial, http://www.isi.edu/nsnam/ns/tutorial/index.html [7] Eintan Altman, Tania Jiménez, NS for Beginners, http://www- sop.inria.fr/maestro/personnel/Eitan.Altman/COURS-NS/n3.pdf [8] http://www.opnet.com [9] http://ptolemy.eecs.berkeley.edu/ptolemyII/index.htm [10] http://www.omnetpp.org/ [11] http://www.inrialpes.fr/planete/people/ernst/Documents/simulator.html [12] http://www.topology.org/soft/sim.html [13] Kishor Shridharbhai Trivedi, Probability and Statistics with Reliability, Queuing, and Computer Science Applications, Wiley-Interscience, 2001 [14] Donald Gross, Carl M. Harris, Fundamentals of Queueing Theory, Wiley- Interscience,1998 [15] Dimitri Bertsekas, Robert Gallager, Data Networks, Prentice-Hall International Editions, 1987 [16] Andrew S. Tanenbaum, Computer Networks, Prentice-Hall, 2003 [17] Joseph L. Hammond, Peter J.P.O' Reilly, Performance Analysis of Local Computer Networks, Addison-Wesley, 1988 136 Phụ lục 1 . multicast), RED, RIO, WFQ, CSMA/CD, ON/OFF source, Pareto .v.v. Các chương trình trợ giúp trong việc khai thác số liệu mô phỏng: Nam, XGraph .v.v. 6.3.3. Thí dụ (Pending) 6.4. Kết luận. (Pending) 6.4. Kết luận (Pending) 134 6.5. Bài tập (Pending) 135 Tài liệu tham khảo [1] John S. Carson II, Barry L. Nelson, Discrete-Event System Simulation, Jerry Banks,. Applications, Wiley-Interscience, 2001 [14] Donald Gross, Carl M. Harris, Fundamentals of Queueing Theory, Wiley- Interscience,1998 [15] Dimitri Bertsekas, Robert Gallager, Data Networks, Prentice-Hall
Ngày đăng: 13/08/2014, 20:21
Xem thêm: Giáo trình hình thành ứng dụng quy trình phân luồng theo tiến trình Poisson với tham số p10 pptx, Giáo trình hình thành ứng dụng quy trình phân luồng theo tiến trình Poisson với tham số p10 pptx