📄 slide020.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='slide021.html'">
<h2><font color="#009999">23.2.3 Deque - Example</font></h2>
<font size="+1">
<p>Example: time-driven simulation of the line in front of a tellers'
counter at a bank.
<ul>
<li>Each minute there's a .9 probability that a new customer arrives
<ul>
<li>Add to the end of customer deque</li>
</ul>
</li>
<li>Each transaction takes from 2-8 minutes (random)</li>
<li>Calculate the avg. time a customer stands in line</li>
<li>Each minute, examine and update the status of every teller in the
teller deque, working off the front of the customer deque</li>
</ul>
</font>
<hr>
<center><small>
<a href='slide019.html'>prev</a>
|<a href='slide001.html'>top</a>
|<a href='slide021.html'>next</a>
</small></center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -