简体   繁体   中英

How to set priority for Agent in ResourcePool or Seize

I have a Seize that used a ResourcePool. What I try to do is to have "priority" depending on an agent variable. I have read that it is possible to do it in both (Seize or ResourcePool), but in https://help.anylogic.com/ , there is nothing about it...

Thank you for your help!

In the seize block you can define your priorities in the priorities section as follows: 优先抢占

In the resource pool you can't define the priority of a task. The only priorities you can define are the tasks related to the resource itself such as breaks, maintenance, etc. But not the priority associated to the agent.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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