Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-mlc7c Total loading time: 0 Render date: 2024-11-05T14:38:39.480Z Has data issue: false hasContentIssue false

APPENDIX B - THE OPINION SIMULATION SOFTWARE

Published online by Cambridge University Press:  03 December 2009

Robert Huckfeldt
Affiliation:
University of California, Davis
Paul E. Johnson
Affiliation:
University of Kansas
John Sprague
Affiliation:
Washington University, St Louis
Get access

Summary

By referring to the Opinion Simulation as an agent-based model, we intend to convey the idea that the individuals are represented as separate, self-contained computer objects and that those objects carry out actions according to information that they collect and maintain on their own. An agent-based model generates “bottom-up” results because the agents are highly individualized, and their behavior is not dictated by a high level entity. Beyond the agents, where our analytical focus resides, other types of objects exist as well – objects that represent the environment and objects that collect data and show it on the screen. The environment in the Opinion model is rather like a series of chess boards, where agents are able to position themselves within any particular board or move from one board to another.

About the code

The Opinion model is written in Objective-C and makes liberal use of the Swarm Simulation libraries. Objective-C, a language invented by Brad Cox, was chosen for Swarm because it is a simple extension of the C language that incorporates concepts from object-oriented programming. Objective-C is not so well known as C++, another object-oriented extension of C, but it has many of the same advantages. Programs written in Objective-C are reasonably fast, and the language is quite easy to learn if one has experience in C or Java. Programs that access the Swarm libraries can be written in other languages as well. After Objective-C, the next most frequently used language is Java.

Type
Chapter
Information
Political Disagreement
The Survival of Diverse Opinions within Communication Networks
, pp. 222 - 234
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×