# repastCity **Repository Path**: aierdululuomandike/repast-city ## Basic Information - **Project Name**: repastCity - **Description**: 计算实验系统abcde - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-10-31 - **Last Updated**: 2025-02-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # repastCity #### 介绍 基于repast4py搭建美团场景 #### 软件架构 软件架构说明 1. 接口模块:interfaces,使用websockets库 2. LLM agent: Meituan_platform; #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 因果分析使用指南: 1、因果分析训练: 基于模型的方法:python casual/run.py model-based meituan_macro 免模型的方法:python casual/run.py model-free meituan_macro 后台:nohup python casual/run.py model-based meituan_macro > meituan_macro.log 2>&1 & 2、因果图生成:运行plot_casual.py 记得改其中json路径 3、因果解释: 基于模型的方法: 先改想要分析的名字分别为:explain-env-model.nn 和explain-causal-graph.json。 再运行 python casual/run.py test-explain experiments/meituan_macro/model-based/run-7 [--n-sample] [--n-step] 免模型的方法: 先运行python casual/run.py train-explain experiments/meituan_macro/model-based/run-7 [--n-sample] [--n-step] 生成 explain-env-model.nn 和explain-causal-graph.json。 再运行 python casual/run.py test-explain experiments/meituan_macro/model-based/run-7 [--n-sample] [--n-step] 微观:meituan_micro #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)