文件名称:matlab代码做游戏-fmtl:http://arxiv.org/abs/2105.06199的仿真代码
文件大小:968KB
文件格式:ZIP
更新时间:2024-06-10 06:09:48
系统开源
matlab代码做游戏fmtl(公平性团队学习) Alex McAvoy,Julian Kates-Harbeck,Krishnendu Chatterjee和Christian Hilbe撰写的论文“重复游戏中自私学习的进化(不稳定性)的仿真代码”。 这些仿真的详细信息可以在论文的“方法”部分找到,网址为。 指示 要进行仿真,请根据需要在simulate.m设置参数并运行 >> simulate 从MATLAB命令行。 默认情况下,参数为 % learning rules for X and Y. must be either 'FMTL' or 'SELFISH' learning_rule_X = 'FMTL'; learning_rule_Y = 'SELFISH'; % payoffs [R, S, T, P] for the one-shot game game_parameters = [1, -1, 2, 0]; %donation game with b = 2 and c = 1 % discounting factor for the repeated game
【文件预览】:
fmtl-main
----sample_run.m(4KB)
----mutate.m(741B)
----gaussian.m(276B)
----paper_data()
--------VidS1.mp4(1003KB)
----simulate.m(2KB)
----payoff.m(1KB)
----README.md(2KB)
----.gitignore(10B)
----print_heatmap.m(2KB)
----colormap.mat(12KB)