📄 slide046.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="blendTrans(Duration=2)" http-equiv="Page-Enter">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="2005 John Wiley & Sons">
<meta name="Author" content="Kurt Schmidt">
<script language="JavaScript" src="./config.js"></script>
<script language="JavaScript" src="./pageFormat.js"></script>
<script><!-- // Set title on page
title()
//--></script>
</head>
<body>
<div onclick="document.location='slide047.html'">
<h2><font color="#009999">23.5.1 Priority Queue - Example</font></h2>
<font size="+1">
<ul>
<li>Discrete event-driven simulation - classic application</li>
<li>Structured around events (actions) that occur at some fixed time</li>
<li>Often an action will spawn new events</li>
<li>The following 2 files are the basis for an event-driven simulation</li>
<li>Each event will be represented by an instance of <tt>Event</tt></li>
<li>The <tt>Event</tt> records the time, the key for comparison</li>
<li>The <u>lower</u> time has <u>higher</u> priority</li>
<li>A pure virtual method represents the action of an event</li>
</ul>
</font>
<hr>
<center><small>
<a href='slide045.html'>prev</a>
|<a href='slide001.html'>top</a>
|<a href='slide047.html'>next</a>
</small></center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -