[[ja/Projects/i-wat]] #contents * モデル [#j71bc76b] ** 世界 [#sfe023c3] -人口: 2,500人 -初期状態 --スモールワールド。 --個体間のリンクは疎。 --最小リンク数=3 ** (i-)WAT 券 [#o2d11f84] -構成要素: 初期値, 最低値, 最高値, 変化率, 生成時刻, 参加者のリスト ** welfare (富) [#d4d474ff] ** credit (残高) [#bb500e2c] * シミュレータ [#u53002a2] - [[wija 開発環境]] で説明される Perforce depot からソースコードを取得可能。 - //depot/scm/main/java/org/media_art_online/iwatsim/... ** コマンド [#z4de9109] $ java -Xmx300M -jar iwatsim.jar [FILE] $ sort chain-length | uniq -c | sort -r > chain-length-distribution ** 出力ファイルと表示方法 [#b1cb3a90] - '''n''' はラウンド - 表示アプリケーションの説明がない場合は gnuplot :chain-length-distribution|(i-)WAT券のチェイン長の分布 > plot "chain-length-distribution" using 2:1 :initial-link-distribution, link-distribution-'''n'''|(初期)リンクの分布 > plot "initial-link-distribution", "link-distribution-n",... :network-'''n'''.net|ネットワーク (参加者間のリンク) ::Pajek|例: 以下のメニュー項目を利用 :::Net|→ Paths between 2 vertices → Distribution of Distances → From All Vertices :::Draw|→ Draw :welfare-distribution-'''n'''|welfare の分布 > plot "welfare-distribution-n" :credit-distribution-'''n'''|credit の分布 > plot "credit-distribution-n" :credit-welfare-'''n'''|credit welfare initial-links links の分布 > plot "credit-welfare-n" using x:y ::2:1|welfare:credit ::3:1|initial-links:credit ::4:1|links:credit ::2:3|welfare:initial-links ::2:4|welfare:links :total-debit-'''n'''|世界全体の負債 > plot "total-debit-n" :{active/passive}-trade-distribution-'''n'''|{積極/消極}取引数の分布 > plot "{active|passive}-trade-distribution-n" :accumulated-number-of-trades-'''n'''|取引数の累積 > plot "accumulated-number-of-trades-n"