如何根据代理的属性控制代理数量

发布于 2025-01-11 01:41:07 字数 92 浏览 4 评论 0原文

1)我有以性别为属性的座席人口(男性和女性),我如何根据座席的性别将座席传递到输出框后的不同队列? 2)或如何从总体中访问各个代理,以便可以根据其属性单独控制它们的移动。

1)I have Population of agents having gender as Attribute (Male and female) how can i pass agents based on their gender to different Queues after Output Box?
2) or how to Access individual agents from Population so that their movement can be Controlled individually based on their Attributes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜还是长夜 2025-01-18 01:41:07

我建议您使用选项列表。右键单击您的项目名称并创建一个新选项列表。

输入图片description here

然后,按照以下方式填写:
输入图片此处描述

然后,在代理类型窗口中,添加一个 Gender 类型的变量,并根据您的模型设计为其分配一个值。在下图中,我随机分配一半为男性,一半为女性。

输入图片此处描述

现在,在主窗口中的选择输出条件中,写入以下内容:
输入图片此处描述

在此处输入图像描述

这会将男性发送到第一个队列,将女性发送到第二个队列。

I suggest you use an option list for that. Right-click on your project name and create a new option list.

enter image description here

Then, fill it in the following way:
enter image description here

Then, in the agent type window, add a variable of type Gender and depending on your model design assign a value to it. In the image below, I am randomly assigning half as Males and half as females.

enter image description here

Now, in your main window, in the select output condition, write the following:
enter image description here

enter image description here

This will send males to the first queue and females to the second queue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文