Skip to content

Commit 3d4e1de

Browse files
author
Andrew Crooks
committed
updated readme
1 parent 602725f commit 3d4e1de

File tree

33 files changed

+1052
-1132
lines changed

33 files changed

+1052
-1132
lines changed

CSS600Models/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Click on the links to see a selection of course projects from [Fall 2014](https:
1414
[Sample Syllabus](https://www.dropbox.com/s/xmi2qgeosmxgdw5/CSS600.pdf?dl=0)
1515

1616
## Release Notes
17-
Please note these models ***come as is***. Furthermore, no personal information is given on who created these models (unless there is a publication withit, but I need to acknowledge all the students who submitted the models, you know who you are! This project would not be possible without you!), What explanations there are given by the README file for each model (these mainly come in the form of abstracts from the papers that were submitted with the models). **No further explanations, support etc. will be given**. Lastly, these models are only given for pedagogical reasons and where possible each model has been upgraded to NetLogo 6.1.
17+
Please note these models ***come as is***. Furthermore, no personal information is given on who created these models (but I need to acknowledge all the students who submitted the models, you know who you are! This project would not be possible without you!), What explanations there are given by the README file for each model (these mainly come in the form of abstracts from the papers that were submitted with the models). **No further explanations, support etc. will be given**. Lastly, these models are only given for pedagogical reasons and where possible each model has been upgraded to NetLogo 6.1.
1818

1919
For those interested, models with "***(GIS)***" next to them are ones which utilize GIS data.
2020

CSS645Models/GentrificationDC/DC_Gentrification.nlogo

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2-
;; Using Agent-Based Modeling to Show Gentrification in a Southeast area of the District of Columbia
3-
;;
4-
;; This program is
5-
;; written in NetLogo 5.0.3 utilizing the GIS extensions
6-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7-
81

92
; Load NetLogo extension to handle GIS functionality
103
extensions [gis]

CSS645Models/Grocery_Store/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"A model of a population of agent-based simulated shoppers within a stylized instore shopping environment presents agents with impulse items for purchase as well as educational and entertainment distractions. Agents are allowed to make purchases according to their individual propensity to make impulse purchases as a function of walking speed, reflection of other agents’ shopping behavior and interest in novelty. Initial model results show that groups of shoppers walking through the store produce density waves of impulse purchases resulting from ‘shopper jams’ analogous to traffic jams along roadways in times of moderate density traffic. These shopper jams of higher density waves of shoppers may be the result of interactions among like-minded shoppers who find themselves in close proximity examining items of mutual interest. The model illustrates how cascades of impulse purchases may occur when retailers design their stores to allow rapid production and persistence of shopper jams so that shoppers mimic actions of other shoppers with similar interests who remain in close proximity."
66

77
##  
8-
Graphic of flow diagram of model, left hand shows initial configuration phase of the model that creates the dynamic environment. Agents that have children have a greater interest in entertainment versus those without children who have and interest in education, such as cooking tips. The right hand of the diagram shows the faster variation in interest in purchasing behavior.
8+
"Graphic of flow diagram of model, left hand shows initial configuration phase of the model that creates the dynamic environment. Agents that have children have a greater interest in entertainment versus those without children who have and interest in education, such as cooking tips. The right hand of the diagram shows the faster variation in interest in purchasing behavior."
99
![flow diagram](FlowDiagram.png)
1010

1111

CSS645Models/Hurricane_Evacuation_Model /NC_Model.nlogo

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ to update-globals ;; designates areas that are safe and not-safe
223223

224224

225225
end
226-
227226
@#$#@#$#@
228227
GRAPHICS-WINDOW
229228
148
@@ -552,8 +551,6 @@ Adding a simulate hurricane to specifically designate evacuees.
552551
Limit number of evacuees to a "safe zone" city.
553552
Block roads with flooding.
554553
Determine return to home city timeframe and have agents return if safe.
555-
556-
## CREDITS AND REFERENCES
557554
@#$#@#$#@
558555
default
559556
true

CSS645Models/Hurricane_Evacuation_Model /README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Abstract
44

5-
Evacuation of coastal cities and towns need to happen in short notice when a hurricane or other natural hazard is about to occur. Evacuation modeling has been conducted for several years, but not much has occurred for evacuations along the mid-Atlantic coast. This model uses geospatial information systems in concert with agent-based modeling to show the evacuation of coastal cities to safe zones inland and helps to determine where potential choke points could occur in the event of a wide scale evacuation. The model reveals the most likely inland destinations where evacuees would potentially travel. The paper also discusses areas of improvement and future research to be incorporated into this work. The results of this model can be enhanced to help with decisions on when and where to travel in the unfortunate case of a large-scale natural hazard emergency.
5+
"Evacuation of coastal cities and towns need to happen in short notice when a hurricane or other natural hazard is about to occur. Evacuation modeling has been conducted for several years, but not much has occurred for evacuations along the mid-Atlantic coast. This model uses geospatial information systems in concert with agent-based modeling to show the evacuation of coastal cities to safe zones inland and helps to determine where potential choke points could occur in the event of a wide scale evacuation. The model reveals the most likely inland destinations where evacuees would potentially travel. The paper also discusses areas of improvement and future research to be incorporated into this work. The results of this model can be enhanced to help with decisions on when and where to travel in the unfortunate case of a large-scale natural hazard emergency."
66

77
##  
88

CSS645Models/Information_Propagation /Information_Propagation.nlogo

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
;;Simulate information propragation in physical and cyber spaces
32
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
43

@@ -68,45 +67,45 @@ end
6867
to setup-USstates
6968
file-open "Data/stateid.txt" let patch-sid file-read file-close
7069
(foreach sort patches patch-sid
71-
[ ask ?1 [ set layer-sid ?2 ] ] ) ;store stateid in layer-sid
70+
[ [?1 ?2] -> ask ?1 [ set layer-sid ?2 ] ] ) ;store stateid in layer-sid
7271
ask patches
7372
[set pcolor layer-sid]
7473

7574
file-open "Data/statedensity.txt" let patch-sdens file-read file-close
7675
(foreach sort patches patch-sdens
77-
[ ask ?1 [ set layer-sdens ?2 ] ] ) ;store statedens in layer-sdens
76+
[ [?1 ?2] -> ask ?1 [ set layer-sdens ?2 ] ] ) ;store statedens in layer-sdens
7877

7978
file-open "Data/govid.txt" let patch-gid file-read file-close
8079
(foreach sort patches patch-gid
81-
[ ask ?1 [ set layer-govid ?2 ] ] )
80+
[ [?1 ?2] -> ask ?1 [ set layer-govid ?2 ] ] )
8281

8382
file-open "Data/govparty.txt" let patch-gp file-read file-close
8483
(foreach sort patches patch-gp
85-
[ ask ?1 [ set layer-govparty ?2 ] ] )
84+
[ [?1 ?2] -> ask ?1 [ set layer-govparty ?2 ] ] )
8685

8786
file-open "Data/govyear.txt" let patch-gyr file-read file-close
8887
(foreach sort patches patch-gyr
89-
[ ask ?1 [ set layer-govyear ?2 ] ] )
88+
[ [?1 ?2] -> ask ?1 [ set layer-govyear ?2 ] ] )
9089

9190
file-open "Data/govvote.txt" let patch-gvote file-read file-close
9291
(foreach sort patches patch-gvote
93-
[ ask ?1 [ set layer-govvote ?2 ] ] )
92+
[ [?1 ?2] -> ask ?1 [ set layer-govvote ?2 ] ] )
9493

9594
file-open "Data/govtwyear.txt" let patch-gty file-read file-close
9695
(foreach sort patches patch-gty
97-
[ ask ?1 [ set layer-govtwyear ?2 ] ] )
96+
[ [?1 ?2] -> ask ?1 [ set layer-govtwyear ?2 ] ] )
9897

9998
file-open "Data/govfol.txt" let patch-gf file-read file-close
10099
(foreach sort patches patch-gf
101-
[ ask ?1 [ set layer-govfol ?2 ] ] )
100+
[ [?1 ?2] -> ask ?1 [ set layer-govfol ?2 ] ] )
102101

103102
file-open "Data/sparty.txt" let patch-sparty file-read file-close
104103
(foreach sort patches patch-sparty
105-
[ ask ?1 [ set layer-sparty ?2 ] ] )
104+
[ [?1 ?2] -> ask ?1 [ set layer-sparty ?2 ] ] )
106105

107106
file-open "Data/svote.txt" let patch-sv file-read file-close
108107
(foreach sort patches patch-sv
109-
[ ask ?1 [ set layer-svote ?2 ] ] )
108+
[ [?1 ?2] -> ask ?1 [ set layer-svote ?2 ] ] )
110109
end
111110

112111
to setup-governors
@@ -274,8 +273,8 @@ end
274273
GRAPHICS-WINDOW
275274
210
276275
10
277-
1106
278-
416
276+
1104
277+
394
279278
-1
280279
-1
281280
1.5
@@ -304,7 +303,7 @@ BUTTON
304303
131
305304
43
306305
NIL
307-
setup\n
306+
setup
308307
NIL
309308
1
310309
T
@@ -359,7 +358,7 @@ PLOT
359358
420
360359
289
361360
585
362-
population
361+
population_1
363362
time
364363
population
365364
0.0
@@ -444,7 +443,7 @@ chances-to-change-mind
444443
chances-to-change-mind
445444
0
446445
5
447-
2
446+
2.0
448447
1
449448
1
450449
NIL
@@ -490,7 +489,7 @@ PLOT
490489
421
491490
590
492491
583
493-
population
492+
population_1
494493
time
495494
Count
496495
0.0
@@ -528,7 +527,7 @@ decay-after-times-heard
528527
decay-after-times-heard
529528
0
530529
72
531-
36
530+
36.0
532531
12
533532
1
534533
NIL
@@ -934,9 +933,8 @@ false
934933
0
935934
Polygon -7500403 true true 270 75 225 30 30 225 75 270
936935
Polygon -7500403 true true 30 75 75 30 270 225 225 270
937-
938936
@#$#@#$#@
939-
NetLogo 5.3.1
937+
NetLogo 6.1.0
940938
@#$#@#$#@
941939
@#$#@#$#@
942940
@#$#@#$#@
@@ -952,7 +950,6 @@ true
952950
0
953951
Line -7500403 true 150 150 90 180
954952
Line -7500403 true 150 150 210 180
955-
956953
@#$#@#$#@
957954
0
958955
@#$#@#$#@

CSS645Models/Information_Propagation /README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
"Understanding the diffusion of information among a certain type of population will provide insights into how quickly this population will receive the information, and how effective such diffusion was for spreading the message. Social media has enabled the information to spread at a relatively lower cost and greater timeliness, comparing to traditional ways such as face-to-face contact. To approach such phenomenon at individual-based level, which preserves the heterogeneity among the population, this study employed an agent-based model to explore information propagation in physical and cyber spaces. Specifically, I focused on the information diffusion patterns among opinionated groups of people. Therefore, a study case was established, which investigated the propagation of the messages sent by a number of governors of U.S. among the electors that belong to different parties. Empirical data were used for model initialization and some parameter settings. Scenario analysis was applied for detecting the patterns of information propagation under different conditions. The key finding is that generally, cyber world information propagation has a noticeable positive influence on its physical world propagation. However when information decay and noise are also considered, its influence becomes less obvious. Besides, the information propagation patterns in different scenarios are successfully captured."
66

7-
**Keywords**: Agent-based modeling, Twitter, information propagation
8-
97
##  
108
![Agents Status](Agents_status.png)
119

CSS645Models/LARPing/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
"The National Institute of Justice defines recidivism as a person’s relapse into criminal behavior, often after the person undergoes intervention for a previous crime. Many researchers have found that the implementation of post-incarceration reentry programs has a significant impact on recidivism rates at both city and state-wide scales. This paper applies an agent-based modeling simulation to examine the potential impact of multiple reentry programs, used in tandem, on newly-released offenders, using the District of Columbia’s publicly available crime data. Results of this model indicate that layering access to reentry programs substantially lowers both the recidivism rate of criminal offenders and the average number of times offenders are arrested within their lifetimes (on average 16% and 7% respectively). This research demonstrates the potential and limitations of using agent-based modeling to inform public policy decisions and budget priorities with regards to criminal offender reentry programs."
66

7-
**Keywords**: agent-based modeling, GIS, recidivism, reentry programs
8-
97
##  
108
UML for ABM:
119
![UML](UML.png)

CSS645Models/MARCH_ON/MARCH-ON.nlogo

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
;Modeling Appalachian Trail Recreation: Camping, Hiking & Overcrowding in our Natural parks (MARCH-ON)
2-
31

42
globals [
53
shelters

CSS645Models/MARCH_ON/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
"The Appalachian Trail (AT) is America’s most famous hiking trail, but increasing visitor numbers put pressure on campsites and threatens the AT’s ecosystem and character. AT hikers are strongly encouraged to use designated campsites to minimize their impact on the environment, but hikers frequently engage in “unregulated” camping where no designated campsite is available. Within this paper we introduce MARCH-ON, an agent-based model which simulates AT hiker movement and the camping decision-making process to identify the areas of the AT in Virginia most at-risk for cumulative environmental damage caused by unregulated camping. MARCH-ON seeks to combine accurate GIS data, AT hiker survey data, Tobler’s hiking function, and agent-based modeling concepts to model the dynamics of hiker behavior and the spatial relationships of campsite locations along the AT. MARCH-ON demonstrates that hikers tend to camp in unregulated “bootleg” campsites when the distance between designated campsites is large, and that inexperienced hikers are most likely to engage in unregulated camping. Findings indicate that the northeastern portion of the AT in Virginia, including Shenandoah National Park, is most at-risk for damage from unregulated camping."
66

7-
**Keywords**: Agent-based modeling, Tobler’s hiking function, Appalachian Trail, bootleg campsites, GIS.
87

98
##  
109

0 commit comments

Comments
 (0)