⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node30.html

📁 相关搜索: ns2仿真结果分析 all-awk ns2 ns2 无限网络中awk文件 ... [2.tcl.rar] - 在ns2平台上实现对AODV协议的模拟
💻 HTML
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by:  Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by:  Nikos Drakos, CBLU, University of Leeds* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from:  Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>4. The Class Simulator</TITLE><META NAME="description" CONTENT="4. The Class Simulator"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node39.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node39.html"><LINK REL="previous" HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><LINK REL="up" HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><LINK REL="next" HREF="node31.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node31.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html1774"  HREF="node31.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node31.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html1768"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html1762"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html1770"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html1772"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html1775"  HREF="node31.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node31.html">4.1 Simulator Initialization</A><B> Up:</B> <A NAME="tex2html1769"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html">2 Simulator Basics</A><B> Previous:</B> <A NAME="tex2html1763"  HREF="node29.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node29.html">2 Simulator Basics</A> &nbsp <B>  <A NAME="tex2html1771"  HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>  &nbsp <B>  <A NAME="tex2html1773"  HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION03100000000000000000"></A><A NAME="chap:sim"></A><BR>4. The Class Simulator</H1><P>The overall simulator is described by a TclSimulator../ns-2/ns-lib.h.It provides a set of interfaces for configuring a simulationand for choosing the type of event scheduler used to drivethe simulation.A simulation script generally begins by creating an instanceof this class and calling various methods to create nodes, topologies,and configure other aspects of the simulation.A subclass of Simulator called <TT>OldSim</TT> is used to support&nbsp;v1 backward compatibility.<P>The procedures and functions described in this chapter can be found intcl/lib/ns-lib.tcl, scheduler.{cc,h}, and, heap.h.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html1776"  HREF="node31.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node31.html">4.1 Simulator Initialization</A><LI><A NAME="tex2html1777"  HREF="node32.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node32.html">4.2 Schedulers and Events</A><UL><LI><A NAME="tex2html1778"  HREF="node33.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node33.html">4.2.1 The List Scheduler</A><LI><A NAME="tex2html1779"  HREF="node34.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node34.html">4.2.2 the heap scheduler</A><LI><A NAME="tex2html1780"  HREF="node35.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node35.html">4.2.3 The Calendar Queue Scheduler</A><LI><A NAME="tex2html1781"  HREF="node36.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node36.html">4.2.4 The Real-Time Scheduler</A><LI><A NAME="tex2html1782"  HREF="node37.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node37.html">4.2.5 Precision of the scheduler clock used in ns</A></UL><BR><LI><A NAME="tex2html1783"  HREF="node38.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node38.html">4.3 Other Methods</A></UL><!--End of Table of Child-Links--><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -