我试图弄清楚我的模型与x轴的距离产生的关系,所以我试图导出一个包含X和Y坐标的所有组合的csv文件,以及“密度”
被定义为 ask patches [set density count turtles-here]
我只是尝试使用
output-print (ask patches [show density])
export-output "file.csv"
但要么我的推理存在缺陷,要么我编码错误(我确实收到了错误,但我错过了某处的错误)。任何帮助将不胜感激!
答案 0 :(得分:3)
试试这个:
'/foo/bar': {
target: 'FooController.bar',
cors: {
origin: 'http://foobar.com,https://owlhoot.com',
methods: 'GET,PUT,POST,OPTIONS,HEAD'
}
}