多主体仿真
(译)基于自主进化的多主体模型的仿真框架:以住房市场模型为例(二)
第一篇 3.1.2 进化策略,Evolutionary StrategyEvolution strategy, activated by the detected change, creates a guide for the simulated model how to increase its validity. In the evolution strategy phase, the self-evolving process gauges the potentials of the current simulated model and then discovers a way to improve it. The handles for evolving ABMs can be categorized into three kinds: The first is…
出现这种错误都是因为GO下面的子例程中有直接操作agent的语句没放在 ask turtle [ ] 当中,所以编译器会认为GO也是一个直接操作turtle/patch的例程,从而无法在observer语境中执行。
我把最新的NetLogo手册和提及的相关网站上的资料翻译整理在这个专栏里了,欢迎学习共享! NetLogo 资料专栏 NetLogo官方主页,可以免费下载最新软件。 NetLogo Home Page (northwestern.edu) NetLogo的模型分享社区 NetLogo Modeling Commons,上面有世界各地上传的1000+模型Welcome to the Modeling Commons!
【Python代码】多目标模糊综合评价模型
def frequency(matrix,p): ''' 频数统计法确定权重 :param matrix: 因素矩阵 :param p: 分组数 :return: 权重向量 ''' A = np.zeros((matrix.shape[0])) for i in range(0, matrix.shape[0]): ## 根据频率确定频数区间列表 row = list(matrix[i, :]) maximum = max(row) minimum = min(row) gap = (maximum - minimum) / p row.sort() group = [] item = minimum while(item < maximum): group.append([item, item + gap]) item …
美赛各题目常用算法程序汇总&参考代码
美赛赛题已公布,不少同学咨询岛主有没有算法和代码相关的资料。 这不,算法代码集来了! 美赛一般分 为6个题目,就每道题目而言,都有其常用的算法程序。通过对历年赛题进行分析,发现:①A题主要为优化与控制或者策略分析类赛题,需要有一定的微积分和目标及过程优化能力; ②B题主要是离散型赛题,常见出题点为回归或聚类分析、协同规划等; ③C题为大数据赛题,一般数据处理与分析是必不可少的,然后进行相关的模式识别或信…