在第一种情况中,顾客请求资源(付款通道)。
In the first case, the customer requests a resource (a checkout aisle).
一旦来到付款通道,顾客实际上就在付款了 —所花时间与所购商品的数量成比例。
Once at the checkout aisle, the customer actually checks out -- which takes an amount of time proportionate to the number of items purchased.
实际上模拟并不会同时对一天内将要购物的所有顾客感兴趣,而是只对那些要同时争用付款通道的顾客感兴趣。
The simulation is not really interested simultaneously in all the customers that will shop during a day, but only in the ones who contend for checkout aisles at the same time.
在生物学模型中,资源可能是食物供应;在网络模型中,资源可以是路由器或有限带宽通道;在我们的市场模拟中,资源是付款通道。
In a biological model, a resource might be a food supply; in a network model, a resource could be a router or a finite-bandwidth channel; in our market simulation, a resource is a checkout aisle.
我们的模拟不涉及从食品杂货店通道上选择商品;顾客只是推着他们的手推车到达付款处。
(Our simulation does not cover the selection of items from the grocery aisles; customers simply arrive at checkout with their carts).
在本专栏文章中,我将一直使用食品杂货店内具有多条通道的付款区域这个相当简单的示例。
In this column, I'll be using the fairly simple example of a grocery store checkout area with multiple aisles.
对于模拟食品杂货店,我们感兴趣的进程是在通道处付款的顾客。
For the grocery store simulation, the process we are interested in is a customer who checks out at an aisle.
对于模拟食品杂货店,我们感兴趣的进程是在通道处付款的顾客。
For the grocery store simulation, the process we are interested in is a customer who checks out at an aisle.
应用推荐