学习笔记(2):Agent

您所在的位置:网站首页 基于agent建模 学习笔记(2):Agent

学习笔记(2):Agent

2022-12-27 13:07| 来源: 网络整理| 查看: 265

继续学习笔记(1)的内容对ABM进行介绍

Session 2Creating Agent-Based Models创建基于代理的建模

设计模型

模型设计有哪些方法?1) 基于现象的建模:你知道你想要构建的现象特征或发生模式; 解释建模:从一组基础的发生机制开始解释,逐步深入到复杂的机制整合。2) Top-Down 建模:从组件和设计开始,然后将他们进行整合; Bottom-Up 建模:先进行概念建模,通过代码逐步创建模型。(ABM模型)ABM模型设计的原则:简单地开始,基于你想要回答的问题建模。1. What part of your phenomenon would you like to build a model of? (Scope / Question)2. What are the principal types of agents involved in this phenomenon? (Agents) 3. What properties do these agent have (by agent type)? (Properties) 4. What actions or behaviors can these agents take (by agent type)? How do these agents interact with each other or with the environment? (Behaviors) 5. In what kind of environment do these agents operate? Are there environmental agents? (Environment) 6. If you had to define the phenomenon as discrete time steps, what events would occur in each time step, and in what order? (Time Step) 7. What do you hope to observe from this model? (Inputs and Outputs)

构建模型

创建一定数量的代理,控制代理数量,让他们适应随机的时间步长;根据已有的公式模型,让代理按照模型的情况发展;对不同情况下的结果进行可视化;根据需求再添加其他的模型或代理来进行调整。

分析模型

多次运行并记录参数;借助R语言等其他编程语言对结果和参数进行分析。

Session 3The Components of an Agent-Based Model基于代理的建模的组成部分

代理

基本的代理属性:who, color, heading, xcor and ycor, shape, label, label-color, breed, hidden?, size, pen-size, pen-mode代理的动作:FORWARD, Right, Left, Hatch, Die, Move-to代理集(Agents)Meta-Agent与Proto-Agent代理认知类型:反应,基于效用,基于目标,适应

环境

环境的表现形式:补丁(Patches): 环境由许多空间组成;统一(Uniform):具有一组统一属性的大型代理;外部(external):可以在ABM的环境外实施。环境类型:Spatial Environments, Network-Based Environments, 3D Worlds, GIS

交互

交互的类型:代理-自我交互(Agent-Self Interactions)环境-自我交互(Environment-Self Interactions)代理-代理交互(Agent-Agent Interactions)环境-环境交互(Environment-Environment Interactions)代理-环境交互(Agent-Environment Interaction)


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3