Parallel Sugarscape: OpenMPによる「平行宇宙」版 Sugarscape

オリジナルのSugarscapeとの違い

設定:平行宇宙の数

実行環境

コンパイル+実行方法

操作方法

main.cpp の冒頭コメント

    //
    // Parallel Sugarscape
    // 
    // Reference : "Growing Artificial Societies: Social Science from 
    //             the Bottom Up" 
    //             by Joshua M. Epstein and Robert L. Axtell (1996)
    // 
    // 
    // Difference from the original Sugarscape
    //    - The sugar level is saved in double, instead of integer.
    //    - Cloning, instead of crossbreeding.
    //    - Added "move request" function, for (future) 
    //      parallel processing.
    //    - Added "parallel universe" function and its 
    //      OpenMP parallel processing.
    //
    //
    // Coded by Akira Kageyama (kage@cs.kobe-u.ac.jp)
    //       at Kobe Univ. 
    //       on 2012.07.29
    //
    //       2013.08.01: A bug fixed by Y. Hashi (Agent.cpp)
    //

ソースコード