简体   繁体   English

SEIZE BLOCK 和优先级

[英]SEIZE BLOCK and Priority

I have a problem with the SEIZE block.我对 SEIZE 块有疑问。 Right now agents are accessing resources by following a priority I set.现在代理正在按照我设置的优先级访问资源。 Is it possible, however, that if more than one agent arrives with the same priority, and asks for the same resources, Anylogic stops not knowing to whom to grant the resources?然而,如果有多个代理以相同的优先级到达并请求相同的资源,Anylogic 是否会停止不知道将资源授予谁?

If two or more agent with the same priority are asking for the same resource then the first one asking will get it.如果两个或多个具有相同优先级的代理请求相同的资源,那么第一个请求的代理将获得它。 Here is more information on the topic. 是有关该主题的更多信息。

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

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