1

たとえば、列名 のcount agents with [some condition]代わりに 出力の1つがCount agents with [some condition]The condition

現在、目的の列名でグローバル変数を定義しており、実験の実行の最後に更新していますが、実験がエラーで終了した場合、その変数の代わりにゼロが返されます。適切な列名を持つ他の方法はありますか?

ありがとう :)

4

1 に答える 1

1

プロシージャを定義します。

to-report the-condition
  report count agents with [...]
end

次に、BehaviorSpace 実験で、メトリックを に変更しますthe-condition

于 2013-11-14T13:29:13.537 に答える