Previous Page
COURSE NUMBER: 17950(SEI) .. 39750(CIT) .. 90928(HEINZ) .. 88350(SDS)
COMPUTATIONAL MODELING OF ORGANIZATIONS, TECHNOLOGY, AND SOCIETY /
COMPUTATIONAL MODELING OF COMPLEX SOCIO-TECHNICAL SYSTEMS
Instructor: Dr. Kathleen M. Carley
TA: Ju-Sung Lee
Assignment #3: System Dynamics
Assignment 3 - Word Document
Assignment #2: CONSTRUCT-TM
Assignment 2 - Word Document
Hint Graphs for Part 1 - Word Document (added: 10/06/02)
Use the following commands to create the output for the Hint Graphs: (c:\> is the DOS-Prompt)
c:\> construct-tm -seed 1 -f input0.txt -fo tout0.txt -pi
c:\> copy outad.txt outad0.txt
c:\> construct-tm -seed 1 -f input1.txt -fo tout1.txt -pi
c:\> copy outad.txt outad1.txt
Input Files for Hint Graphs are Below:
DOS/Windows Version/Text
  Notes from CONSTRUCT Tutorial
  Official CONSTRUCT Parms Documentation
  No Forgetting Input File for Hint Graphs (added: 10/06/02)
  5% Forgetting Input File for Hint Graphs (added: 10/06/02)
Windows Source Code: (updated: 10/08/02)
  construct-tm.c
  construct-startup.c
  construct-startup-verbose.c
Windows Executables:
  construct-tm.exe
  construct-startup.exe
  construct-startup-verbose.exe
UNIX Version (sun4 only)/Text (use the text here for downloading via Netscape)
  Notes from CONSTRUCT Tutorial
  Official CONSTRUCT Parms Documentation
  No Forgetting Input File for Hint Graphs (added: 10/06/02)
  5% Forgetting Input File for Hint Graphs (added: 10/06/02)
UNIX Source Code:
  construct-tm.c
  construct-startup.c
  construct-startup-verbose.c
UNIX Executables:
  construct-tm
  construct-startup
  construct-startup-verbose
Assignment #1: The Garbage Can and NK Models
Due Date: Sept. 16, 2002
NK Model Downloadable Files
Assignment 1 - Word Document of assignment (updated: 9/13/02)
readme.txt - Further instructions for assignment
nk.awk - Partially completed AWK NK script
Santa Fe readme file - Description of the Santa Fe C code for NK
nk_landscape.c - Santa Fe .c file for NK
nk_landscape.h - Santa Fe .h file for NK
nkm.awk - A correct version of the NK model in AWK (updated: 09/06/02)
nkm.awk - Correct NK for Unix (or Windows if using Netscape)(updated: 09/11/02)
Brief Explanation of the NK Model (updated: 09/17/02)
mckelvey.pdf - Complexity vs. Selection: Retuning Kauffman's "Tunable" Adaptive Landscape - Bill McKelvey's paper including Tables and Figures (updated: 09/17/02)
mckelvey2.pdf - Just the Figures and Tables to McKelvey's Paper (updated: 09/17/02)
Garbage Can Downloadable Files
README2.txt - Clarifications to the gc.sample.out problem (new: 9/11/02)
gc.sample2.out - Use this to compare your output (new: 9/11/02)
gc.sample2.out for Unix or Windows via Netscape (new: 9/11/02)
gcm.awk - A correct version of the GC in AWK (updated: 09/06/02)
gcm.awk - Correct GC for Unix (or Windows if using Netscape)(updated: 09/11/02)
README.txt - Instructions on using the software below (fixed: 9/11/02)
README.doc - Same as above but in Word 2000
gc.awk - A partial Version of the Garbage Can Model in AWK (updated: 09/06/02)
gc.sample.in - Inputs from the original paper
gc.sample.out - Sample output file
gc.sample.less.out - Sample output file without the new variables
gc.sample.summary - Partial summary file
GAWK for Windows NT
GAWK for Windows 95/98
After downloading one of the two GAWK executables, you might want to rename it to gawk.exe
For example, at the DOS prompt "C:>" type "ren gawk.nt.exe gawk.exe"
GAWK manual page
You can also get the man page from Andrew. At the Andrew Unix prompt type: "rtfm gawk"
Added 9/20/00:
The following .pl files (PERL scripts) will produce Tables 1 and 2
for all for values of NA.
gc.table1.pl
gc.table2.pl
perl.exe - Use to run the .pl programs in the DOS Prompt window
gc.sample.two.out - Sample output file when two problems enter per time period over the first 10 periods(refer to e-mail)
1) Download gc.table1.awk and gc.table2.awk (below) as well as the two .pl files
2) Produce Table 1 first: perl gc.table1.pl gc.sample.in > gc.table1.out
This run will take a few minutes
3) Produce Table 2: perl gc.table2.pl > gc.table2.out
This run should take a few seconds
If you use this method, you can ignore steps 1a-2b below
Added 9/18/00:
gc.table1.awk - AWK script producing Table 1
gc.table2.awk - AWK script producing Table 2
Usage, for example:
1a) gawk -v na=1 -v mode=1 -f gc.awk gc.sample.in > gc.na1.out
1b) gawk -v na=1 -v mode=2 -f gc.awk gc.sample.in >> gc.na1.out
1c) gawk -v na=1 -v mode=3 -f gc.awk gc.sample.in >> gc.na1.out
1d) gawk -v na=1 -v mode=4 -f gc.awk gc.sample.in >> gc.na1.out
Note the double >> in 1b-1d which denotes append
2a) gawk -v na=1 -f gc.table1.awk gc.1.out > table1.na1.out
2b) gawk -v na=1 -f gc.table2.awk gc.1.out > table2.na1.out
Do the same for na=2, 3, 4 renaming gc.na1.out, table1.na1.out, table2.na1.out to
gc.na2.out, table1.na2.out, and table2.na2.out and so forth.
Added 9/13/00:
addendum.txt - Additional Instructions
tutorial.doc - Programming Tutorial
Unix Tools for Windows and DOS
diff.exe - Use to make file comparisons
perl.exe - Use to run the .pl programs in the DOS Prompt window
Added 9/06/02:
If you want to run these scripts on Andrew (ie. on Unix or Linux),
you'll need to convert all of the text files to Unix text using the
command 'dos2unix' (e.g. 'dos2unix gc.awk' will convert gc.awk into
a text file usable on Unix).
Also, the gc.awk file has been updated. Please download latest version. The change occurs in line 63.
Download the casos_lab.zip (from my main page) for another tutorial on GAWK.
Lecture Slides n' Stuff:
Simulated Annealing and Genetic Algorithm PowerPoint Slides
ORGAHEAD PowerPoint Slides
ORGAHEAD Adaptation Animated GIF
Lecture Tools:
readme.txt - Basic Instructions on Wgnuplot and GIFsicle.
GIFsicle 1.24 for Windows - Merge GIFs into a single animated GIF
GIFsicle Manual
GIFsicle Home
gp371cyg.zip - Wgnuplot for Windows(requires Winzip or other unzipper)
unzip32.exe - Unzipper for Windows
GNUplot Home