简体   繁体   English

Anylogic如何与一位医生抓住多名患者(2-3)

[英]Anylogic How to seize multiple patients (2-3) with a single doctor

I'm wondering how to use a seize function in Anylogic. 我想知道如何在Anylogic中使用seize函数。

I would like to a doctor (resource) can seize multiple patients (coming from sources) at a time. 我希望一位医生(资源)可以一次抓住多名患者(来自资源)。

You can't seize multiple agents with one resource without doing some sort of trick, and the trick depends on your problem... This is an example where you batch and unbatch agents before and after the seize. 您不能在没有某种技巧的情况下使用一个资源来占用多个代理,而该技巧取决于您的问题...这是一个示例,您在捕获之前和之后都对代理进行批处理和取消批处理。

Be careful on how you release the resource if you are separating the patients with the unbatch. 如果要分开使用批量处理的患者,请小心释放资源。

分批病人

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM