Administrative toolbar

BN intervention model

Di Wang
Submitted By: D Wang
Submitted: Nov 17, 2011
Last Updated: Mar 23, 2013

Bayesian network intervention model Initialise Generate memes (HAdv meme and Ad meme) and its initial energy; Assign memes to selected agents randomly based on the number of seed agents For (1) each generation For (2) each iteration For (3) each agent If this agent has memes, then diffuse its memes (HAdv meme and Ad meme) to its neighbouring agents and change the energy level of their memes React and action based on its internal character and memes (HAdv meme and Ad meme) End (3) For (4) each agent Decay the energy rate for its memes (HAdv meme and Ad meme) End (4) End (2) End (1)

Cite This Model:
Wang, Di (2011, July 12). "BN intervention model" (Version 1). CoMSES Computational Model Library. Retrieved from: http://www.openabm.org/model/2558/version/1
 
Model Version: 1 [Latest]
Version Notes:

Platform:
eclipse
Programming Language: Java 1.6
Operating System: Microsoft Windows
Licensed Under: GNU GPL, Version 2
Instructions on Running This Model:
1. Download and unzip the folder BN_Intervention.zip. two library files and a folder including all source code are included in the unzipped folder. 2. Add jsmile.dll and smile.jar to your java library directory; different version of java and edit environment has different ways to add library, please refer to them respectively to add the library. 3. Generate .class files from all java files -Go to the directory containing the java files -Run javac *.java 4. Run MainClass.class -java MainClass.class *Relevant parameters can be changed in the source code to control the experiments if you are familiar with java

Community Comments

No comments have been posted yet for this version. You must be logged in to post a comment: Log In.