From 48a1ed2e7ea0f584a0e07c794ebd2f5e0e81db92 Mon Sep 17 00:00:00 2001 From: mariopaolucci Date: Fri, 10 Apr 2020 13:43:02 +0200 Subject: [PATCH 01/10] Tackling a runtime error due to delayed calculation of max criminal tendency. Run #61, RUNTIME ERROR: Extension exception: Got -0.7540466633652634 as a weight but all weights must be >= 0.0. error while person 642 running RND:WEIGHTED-ONE-OF called by procedure SOC-ADD-MORE-FRIENDS called by procedure SOCIALIZATION-INTERVENE called by procedure GO called by procedure __EVALUATOR also, a case for low numbers of agents when we had no criminals (caught by the interface). --- PROTON-OC.nlogo | 36 ++++++++++++++------------------ experiments-xml/rp_base.xml | 6 ++++-- experiments-xml/save-random-seed | 0 3 files changed, 20 insertions(+), 22 deletions(-) delete mode 100644 experiments-xml/save-random-seed diff --git a/PROTON-OC.nlogo b/PROTON-OC.nlogo index a7cad16a..255bb23d 100644 --- a/PROTON-OC.nlogo +++ b/PROTON-OC.nlogo @@ -139,7 +139,6 @@ globals [ number-weddings-sd removed-fatherships criminal-tendency-addme-for-weighted-extraction - criminal-tendency-subtractfromme-for-inverse-weighted-extraction number-law-interventions-this-tick correction-for-non-facilitators number-protected-recruited-this-tick @@ -419,7 +418,6 @@ to go return-kids ] calc-criminal-tendency-addme-for-weighted-extraction - calc-criminal-tendency-subtractfromme-for-inverse-weighted-extraction wedding reset-oc-embeddedness commit-crimes @@ -472,11 +470,6 @@ to calc-criminal-tendency-addme-for-weighted-extraction [ -1 * min [ criminal-tendency ] of persons ] [ 0 ] end -to calc-criminal-tendency-subtractfromme-for-inverse-weighted-extraction - set criminal-tendency-subtractfromme-for-inverse-weighted-extraction ifelse-value (max [ criminal-tendency ] of persons > 0) - [ max [ criminal-tendency ] of persons ] [ 0 ] -end - to socialization-intervene let potential-targets all-persons with [ age <= 18 and age >= 6 and my-school != nobody ] let targets rnd:weighted-n-of ceiling (targets-addressed-percent / 100 * count potential-targets) potential-targets [ @@ -518,11 +511,12 @@ to-report limited-extraction [ the-set ] end to soc-add-more-friends [ targets ] + let mct max fput 0 [ criminal-tendency ] of persons ask targets [ let support-set other persons if any? support-set [ create-friendship-link-with rnd:weighted-one-of (limited-extraction support-set) [ - criminal-tendency-subtractfromme-for-inverse-weighted-extraction - criminal-tendency + mct - criminal-tendency ] ] ] @@ -1206,20 +1200,22 @@ to commit-crimes ] ] let criminals (turtle-set co-offender-groups) - if-else (intervention-on? and facilitator-repression?) [ - ask criminals [ set arrest-weight ifelse-value (facilitator?) [ facilitator-repression-multiplier ] [ 1 ] ] - ] [ - if-else (intervention-on? and OC-boss-repression? and any? criminals with [ oc-member? ]) [ - ask criminals with [ not oc-member? ] [ set arrest-weight 1 ] - calc-OC-status criminals with [ oc-member? ] - ] [ ; no intervention active - ask criminals [ set arrest-weight 1 ] + if any? criminals [ + if-else (intervention-on? and facilitator-repression?) [ + ask criminals [ set arrest-weight ifelse-value (facilitator?) [ facilitator-repression-multiplier ] [ 1 ] ] + ] [ + if-else (intervention-on? and OC-boss-repression? and any? criminals with [ oc-member? ]) [ + ask criminals with [ not oc-member? ] [ set arrest-weight 1 ] + calc-OC-status criminals with [ oc-member? ] + ] [ ; no intervention active + ask criminals [ set arrest-weight 1 ] + ] ] + let target-n-of-arrests number-arrests-per-year / ticks-per-year / 10000 * count persons + ; if I don't add some 1, for low levels of arrests and few agents nobody ever will be arrested. + set target-n-of-arrests floor target-n-of-arrests + ifelse-value (random-float 1 < (target-n-of-arrests - floor target-n-of-arrests)) [ 1 ] [ 0 ] + ask rnd:weighted-n-of target-n-of-arrests criminals [ arrest-weight ] [ get-caught ] ] - let target-n-of-arrests number-arrests-per-year / ticks-per-year / 10000 * count persons - ; if I don't add some 1, for low levels of arrests and few agents nobody ever will be arrested. - set target-n-of-arrests floor target-n-of-arrests + ifelse-value (random-float 1 < (target-n-of-arrests - floor target-n-of-arrests)) [ 1 ] [ 0 ] - ask rnd:weighted-n-of target-n-of-arrests criminals [ arrest-weight ] [ get-caught ] end to-report make-co-offending-histo [ co-offender-groups ] diff --git a/experiments-xml/rp_base.xml b/experiments-xml/rp_base.xml index f5a80677..612a3f65 100644 --- a/experiments-xml/rp_base.xml +++ b/experiments-xml/rp_base.xml @@ -81,8 +81,10 @@ count all-persons with [ my-school != nobody ] count all-persons with [ my-job != nobody ] kids-intervention-counter - mean [ count link-neighbors ] of all-persons with [oc-member?] + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + mean [ count link-neighbors ] of all-persons + initial-random-seed @@ -120,7 +122,7 @@ - + diff --git a/experiments-xml/save-random-seed b/experiments-xml/save-random-seed deleted file mode 100644 index e69de29b..00000000 From e0268189637ecbddcd918da959bb71d4146e044f Mon Sep 17 00:00:00 2001 From: mariopaolucci Date: Fri, 10 Apr 2020 13:43:56 +0200 Subject: [PATCH 02/10] Getting ready for rp0.92 (sensitivity) --- experiments-xml/list_rp092 | 50 ++++++ experiments-xml/makeSensitivity.py | 85 +++++++++ experiments-xml/rp0.9.2_baseline_NOC_15.xml | 169 ++++++++++++++++++ experiments-xml/rp0.9.2_baseline_NOC_45.xml | 169 ++++++++++++++++++ ....2_baseline_number-arrests-per-year_15.xml | 169 ++++++++++++++++++ ....2_baseline_number-arrests-per-year_45.xml | 169 ++++++++++++++++++ ...eline_number-crimes-yearly-per10k_1000.xml | 169 ++++++++++++++++++ ...eline_number-crimes-yearly-per10k_3000.xml | 169 ++++++++++++++++++ ...rp0.9.2_baseline_punishment-length_0.5.xml | 169 ++++++++++++++++++ ...rp0.9.2_baseline_punishment-length_1.5.xml | 169 ++++++++++++++++++ ...2_baseline_unemployment-multiplier_0.5.xml | 169 ++++++++++++++++++ ...2_baseline_unemployment-multiplier_1.5.xml | 169 ++++++++++++++++++ experiments-xml/rp0.9.2_disruptive_NOC_15.xml | 169 ++++++++++++++++++ experiments-xml/rp0.9.2_disruptive_NOC_45.xml | 169 ++++++++++++++++++ ..._disruptive_number-arrests-per-year_15.xml | 169 ++++++++++++++++++ ..._disruptive_number-arrests-per-year_45.xml | 169 ++++++++++++++++++ ...ptive_number-crimes-yearly-per10k_1000.xml | 169 ++++++++++++++++++ ...ptive_number-crimes-yearly-per10k_3000.xml | 169 ++++++++++++++++++ ...0.9.2_disruptive_punishment-length_0.5.xml | 169 ++++++++++++++++++ ...0.9.2_disruptive_punishment-length_1.5.xml | 169 ++++++++++++++++++ ...disruptive_unemployment-multiplier_0.5.xml | 169 ++++++++++++++++++ ...disruptive_unemployment-multiplier_1.5.xml | 169 ++++++++++++++++++ .../rp0.9.2_facilitators_NOC_15.xml | 169 ++++++++++++++++++ .../rp0.9.2_facilitators_NOC_45.xml | 169 ++++++++++++++++++ ...acilitators_number-arrests-per-year_15.xml | 169 ++++++++++++++++++ ...acilitators_number-arrests-per-year_45.xml | 169 ++++++++++++++++++ ...ators_number-crimes-yearly-per10k_1000.xml | 169 ++++++++++++++++++ ...ators_number-crimes-yearly-per10k_3000.xml | 169 ++++++++++++++++++ ...9.2_facilitators_punishment-length_0.5.xml | 169 ++++++++++++++++++ ...9.2_facilitators_punishment-length_1.5.xml | 169 ++++++++++++++++++ ...cilitators_unemployment-multiplier_0.5.xml | 169 ++++++++++++++++++ ...cilitators_unemployment-multiplier_1.5.xml | 169 ++++++++++++++++++ experiments-xml/rp0.9.2_preventive_NOC_15.xml | 169 ++++++++++++++++++ experiments-xml/rp0.9.2_preventive_NOC_45.xml | 169 ++++++++++++++++++ ..._preventive_number-arrests-per-year_15.xml | 169 ++++++++++++++++++ ..._preventive_number-arrests-per-year_45.xml | 169 ++++++++++++++++++ ...ntive_number-crimes-yearly-per10k_1000.xml | 169 ++++++++++++++++++ ...ntive_number-crimes-yearly-per10k_3000.xml | 169 ++++++++++++++++++ ...0.9.2_preventive_punishment-length_0.5.xml | 169 ++++++++++++++++++ ...0.9.2_preventive_punishment-length_1.5.xml | 169 ++++++++++++++++++ ...preventive_unemployment-multiplier_0.5.xml | 169 ++++++++++++++++++ ...preventive_unemployment-multiplier_1.5.xml | 169 ++++++++++++++++++ experiments-xml/rp0.9.2_students_NOC_15.xml | 169 ++++++++++++++++++ experiments-xml/rp0.9.2_students_NOC_45.xml | 169 ++++++++++++++++++ ....2_students_number-arrests-per-year_15.xml | 169 ++++++++++++++++++ ....2_students_number-arrests-per-year_45.xml | 169 ++++++++++++++++++ ...dents_number-crimes-yearly-per10k_1000.xml | 169 ++++++++++++++++++ ...dents_number-crimes-yearly-per10k_3000.xml | 169 ++++++++++++++++++ ...rp0.9.2_students_punishment-length_0.5.xml | 169 ++++++++++++++++++ ...rp0.9.2_students_punishment-length_1.5.xml | 169 ++++++++++++++++++ ...2_students_unemployment-multiplier_0.5.xml | 169 ++++++++++++++++++ ...2_students_unemployment-multiplier_1.5.xml | 169 ++++++++++++++++++ running_list.sh | 7 + 53 files changed, 8592 insertions(+) create mode 100644 experiments-xml/list_rp092 create mode 100755 experiments-xml/makeSensitivity.py create mode 100644 experiments-xml/rp0.9.2_baseline_NOC_15.xml create mode 100644 experiments-xml/rp0.9.2_baseline_NOC_45.xml create mode 100644 experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml create mode 100644 experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml create mode 100644 experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml create mode 100644 experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml create mode 100644 experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml create mode 100644 experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml create mode 100644 experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml create mode 100644 experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_NOC_15.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_NOC_45.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml create mode 100644 experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_NOC_15.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_NOC_45.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml create mode 100644 experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml create mode 100644 experiments-xml/rp0.9.2_preventive_NOC_15.xml create mode 100644 experiments-xml/rp0.9.2_preventive_NOC_45.xml create mode 100644 experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml create mode 100644 experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml create mode 100644 experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml create mode 100644 experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml create mode 100644 experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml create mode 100644 experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml create mode 100644 experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml create mode 100644 experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml create mode 100644 experiments-xml/rp0.9.2_students_NOC_15.xml create mode 100644 experiments-xml/rp0.9.2_students_NOC_45.xml create mode 100644 experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml create mode 100644 experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml create mode 100644 experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml create mode 100644 experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml create mode 100644 experiments-xml/rp0.9.2_students_punishment-length_0.5.xml create mode 100644 experiments-xml/rp0.9.2_students_punishment-length_1.5.xml create mode 100644 experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml create mode 100644 experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml create mode 100644 running_list.sh diff --git a/experiments-xml/list_rp092 b/experiments-xml/list_rp092 new file mode 100644 index 00000000..4c8672ed --- /dev/null +++ b/experiments-xml/list_rp092 @@ -0,0 +1,50 @@ +rp0.9.2_baseline_NOC_15.xml +rp0.9.2_baseline_NOC_45.xml +rp0.9.2_baseline_number-arrests-per-year_15.xml +rp0.9.2_baseline_number-arrests-per-year_45.xml +rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml +rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml +rp0.9.2_baseline_punishment-length_0.5.xml +rp0.9.2_baseline_punishment-length_1.5.xml +rp0.9.2_baseline_unemployment-multiplier_0.5.xml +rp0.9.2_baseline_unemployment-multiplier_1.5.xml +rp0.9.2_disruptive_NOC_15.xml +rp0.9.2_disruptive_NOC_45.xml +rp0.9.2_disruptive_number-arrests-per-year_15.xml +rp0.9.2_disruptive_number-arrests-per-year_45.xml +rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml +rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml +rp0.9.2_disruptive_punishment-length_0.5.xml +rp0.9.2_disruptive_punishment-length_1.5.xml +rp0.9.2_disruptive_unemployment-multiplier_0.5.xml +rp0.9.2_disruptive_unemployment-multiplier_1.5.xml +rp0.9.2_facilitators_NOC_15.xml +rp0.9.2_facilitators_NOC_45.xml +rp0.9.2_facilitators_number-arrests-per-year_15.xml +rp0.9.2_facilitators_number-arrests-per-year_45.xml +rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml +rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml +rp0.9.2_facilitators_punishment-length_0.5.xml +rp0.9.2_facilitators_punishment-length_1.5.xml +rp0.9.2_facilitators_unemployment-multiplier_0.5.xml +rp0.9.2_facilitators_unemployment-multiplier_1.5.xml +rp0.9.2_preventive_NOC_15.xml +rp0.9.2_preventive_NOC_45.xml +rp0.9.2_preventive_number-arrests-per-year_15.xml +rp0.9.2_preventive_number-arrests-per-year_45.xml +rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml +rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml +rp0.9.2_preventive_punishment-length_0.5.xml +rp0.9.2_preventive_punishment-length_1.5.xml +rp0.9.2_preventive_unemployment-multiplier_0.5.xml +rp0.9.2_preventive_unemployment-multiplier_1.5.xml +rp0.9.2_students_NOC_15.xml +rp0.9.2_students_NOC_45.xml +rp0.9.2_students_number-arrests-per-year_15.xml +rp0.9.2_students_number-arrests-per-year_45.xml +rp0.9.2_students_number-crimes-yearly-per10k_1000.xml +rp0.9.2_students_number-crimes-yearly-per10k_3000.xml +rp0.9.2_students_punishment-length_0.5.xml +rp0.9.2_students_punishment-length_1.5.xml +rp0.9.2_students_unemployment-multiplier_0.5.xml +rp0.9.2_students_unemployment-multiplier_1.5.xml diff --git a/experiments-xml/makeSensitivity.py b/experiments-xml/makeSensitivity.py new file mode 100755 index 00000000..2120f689 --- /dev/null +++ b/experiments-xml/makeSensitivity.py @@ -0,0 +1,85 @@ +import xml.etree.ElementTree as ET + +repetitions = "10" + +#pretty print method +def indent(elem, level=0): + i = "\n" + level*" " + j = "\n" + (level-1)*" " + if len(elem): + if not elem.text or not elem.text.strip(): + elem.text = i + " " + if not elem.tail or not elem.tail.strip(): + elem.tail = i + for subelem in elem: + indent(subelem, level+1) + if not elem.tail or not elem.tail.strip(): + elem.tail = j + else: + if level and (not elem.tail or not elem.tail.strip()): + elem.tail = j + return elem + +# ---------------------------------- +version="rp0.9.2" + +variations={'number-crimes-yearly-per10k': [1000, 3000], + 'unemployment-multiplier': [1.5, 0.5], + 'number-arrests-per-year': [15, 45], + 'punishment-length': [1.5, 0.5] + } + +for intervention in ['disruptive', + 'students', + 'baseline', + 'preventive', + 'facilitators']: + +# this goes by itself as it has a double set to do + for nocc in [[15,6], [45,8]]: + tree = ET.parse('rp_base.xml') + root = tree.getroot() + + al = tree.find('.//enumeratedValueSet[@variable="intervention"]') + for x in list(al): al.remove(x) + al.insert(1, ET.Element("value", value='"'+intervention+'"')) + + al = tree.find('.//enumeratedValueSet[@variable="num-oc-persons"]') + for x in list(al): al.remove(x) + al.insert(1, ET.Element("value", value=str(nocc[0]))) + al = tree.find('.//enumeratedValueSet[@variable="num-oc-families"]') + for x in list(al): al.remove(x) + al.insert(1, ET.Element("value", value=str(nocc[1]))) + + experiment = version + '_' + intervention + '_NOC_' + str(nocc[0]) + al = tree.find('.//experiment') + al.set('name', version) + al.set('repetitions', repetitions) + + #write to file + tree = ET.ElementTree(indent(root)) + tree.write(experiment + '.xml', encoding='utf-8') + + for var in variations: + for v in variations.get(var): + tree = ET.parse('rp_base.xml') + root = tree.getroot() + + al = tree.find('.//enumeratedValueSet[@variable="intervention"]') + for x in list(al): al.remove(x) + al.insert(1, ET.Element("value", value='"'+intervention+'"')) + + al = tree.find('.//enumeratedValueSet[@variable="' + var + '"]') + for x in list(al): al.remove(x) + al.insert(1, ET.Element("value", value=str(v))) + + experiment = version + '_' + intervention + "_" + var + "_" + str(v) + al = tree.find('.//experiment') + al.set('name', version) + al.set('repetitions', repetitions) + + #write to file + tree = ET.ElementTree(indent(root)) + tree.write(experiment + '.xml', encoding='utf-8') + + diff --git a/experiments-xml/rp0.9.2_baseline_NOC_15.xml b/experiments-xml/rp0.9.2_baseline_NOC_15.xml new file mode 100644 index 00000000..4e822e70 --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_NOC_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_NOC_45.xml b/experiments-xml/rp0.9.2_baseline_NOC_45.xml new file mode 100644 index 00000000..563a3d91 --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_NOC_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml new file mode 100644 index 00000000..b0b2fe78 --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml new file mode 100644 index 00000000..30b7ab1d --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml new file mode 100644 index 00000000..13b83286 --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml new file mode 100644 index 00000000..8177d567 --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml new file mode 100644 index 00000000..3780f5e2 --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml new file mode 100644 index 00000000..d6bdea0e --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml new file mode 100644 index 00000000..ab77642a --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml new file mode 100644 index 00000000..fc0c2121 --- /dev/null +++ b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_NOC_15.xml b/experiments-xml/rp0.9.2_disruptive_NOC_15.xml new file mode 100644 index 00000000..565951ff --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_NOC_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_NOC_45.xml b/experiments-xml/rp0.9.2_disruptive_NOC_45.xml new file mode 100644 index 00000000..6b17f2d9 --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_NOC_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml new file mode 100644 index 00000000..6b122a54 --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml new file mode 100644 index 00000000..c4e6b6e4 --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml new file mode 100644 index 00000000..0b211073 --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml new file mode 100644 index 00000000..29e604dd --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml new file mode 100644 index 00000000..80856b03 --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml new file mode 100644 index 00000000..a02164bd --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml new file mode 100644 index 00000000..da5c5fb2 --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml new file mode 100644 index 00000000..16bc8710 --- /dev/null +++ b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_NOC_15.xml b/experiments-xml/rp0.9.2_facilitators_NOC_15.xml new file mode 100644 index 00000000..5fb797be --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_NOC_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_NOC_45.xml b/experiments-xml/rp0.9.2_facilitators_NOC_45.xml new file mode 100644 index 00000000..dee5bfdf --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_NOC_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml new file mode 100644 index 00000000..53f7c36b --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml new file mode 100644 index 00000000..68f2689a --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml new file mode 100644 index 00000000..9f7f74fa --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml new file mode 100644 index 00000000..b10ca5ac --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml new file mode 100644 index 00000000..81dd425c --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml new file mode 100644 index 00000000..da290451 --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml new file mode 100644 index 00000000..f39ab2bb --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml new file mode 100644 index 00000000..9b7c3f47 --- /dev/null +++ b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_NOC_15.xml b/experiments-xml/rp0.9.2_preventive_NOC_15.xml new file mode 100644 index 00000000..813351ea --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_NOC_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_NOC_45.xml b/experiments-xml/rp0.9.2_preventive_NOC_45.xml new file mode 100644 index 00000000..b705c37a --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_NOC_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml new file mode 100644 index 00000000..28a8bf39 --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml new file mode 100644 index 00000000..0ff3e2e7 --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml new file mode 100644 index 00000000..cbf0cece --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml new file mode 100644 index 00000000..5e90fb47 --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml new file mode 100644 index 00000000..fec9c3dc --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml new file mode 100644 index 00000000..c3f39f5d --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml new file mode 100644 index 00000000..c56a09d0 --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml new file mode 100644 index 00000000..bb3a0c6e --- /dev/null +++ b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_NOC_15.xml b/experiments-xml/rp0.9.2_students_NOC_15.xml new file mode 100644 index 00000000..5767e855 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_NOC_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_NOC_45.xml b/experiments-xml/rp0.9.2_students_NOC_45.xml new file mode 100644 index 00000000..6403abc2 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_NOC_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml new file mode 100644 index 00000000..ec181d28 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml new file mode 100644 index 00000000..525b57bd --- /dev/null +++ b/experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml new file mode 100644 index 00000000..f69dc825 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml new file mode 100644 index 00000000..6d1789d7 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_students_punishment-length_0.5.xml new file mode 100644 index 00000000..a55e3b5f --- /dev/null +++ b/experiments-xml/rp0.9.2_students_punishment-length_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_students_punishment-length_1.5.xml new file mode 100644 index 00000000..5e5c02d8 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_punishment-length_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml new file mode 100644 index 00000000..fb8d4013 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml new file mode 100644 index 00000000..433f7522 --- /dev/null +++ b/experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml @@ -0,0 +1,169 @@ + + + setup + go + show (word "Time elapsed:" timer) + dump-networks + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/running_list.sh b/running_list.sh new file mode 100644 index 00000000..f6893be2 --- /dev/null +++ b/running_list.sh @@ -0,0 +1,7 @@ +export NLOGO=/home/mario/NetLogo\ 6.1.1/netlogo-headless.sh +while read p; do + echo "$p" + EXP=p + time "$NLOGO" --model PROTON-OC.nlogo --setup-file experiments-xml/$EXP --table $EXP.`hostname`.`git rev-parse --short HEAD`.csv > $EXP.`hostname`.`git rev-parse --short HEAD`.out 2>&1 + sleep 1s +done Date: Fri, 10 Apr 2020 13:56:07 +0200 Subject: [PATCH 03/10] Getting ready for rp0.9.2 --- experiments-xml/list_rp092 | 25 ------------------- experiments-xml/list_rp092_b | 25 +++++++++++++++++++ experiments-xml/rp0.9.2_baseline_NOC_15.xml | 3 +-- experiments-xml/rp0.9.2_baseline_NOC_45.xml | 3 +-- ....2_baseline_number-arrests-per-year_15.xml | 3 +-- ....2_baseline_number-arrests-per-year_45.xml | 3 +-- ...eline_number-crimes-yearly-per10k_1000.xml | 3 +-- ...eline_number-crimes-yearly-per10k_3000.xml | 3 +-- ...rp0.9.2_baseline_punishment-length_0.5.xml | 3 +-- ...rp0.9.2_baseline_punishment-length_1.5.xml | 3 +-- ...2_baseline_unemployment-multiplier_0.5.xml | 3 +-- ...2_baseline_unemployment-multiplier_1.5.xml | 3 +-- experiments-xml/rp0.9.2_disruptive_NOC_15.xml | 3 +-- experiments-xml/rp0.9.2_disruptive_NOC_45.xml | 3 +-- ..._disruptive_number-arrests-per-year_15.xml | 3 +-- ..._disruptive_number-arrests-per-year_45.xml | 3 +-- ...ptive_number-crimes-yearly-per10k_1000.xml | 3 +-- ...ptive_number-crimes-yearly-per10k_3000.xml | 3 +-- ...0.9.2_disruptive_punishment-length_0.5.xml | 3 +-- ...0.9.2_disruptive_punishment-length_1.5.xml | 3 +-- ...disruptive_unemployment-multiplier_0.5.xml | 3 +-- ...disruptive_unemployment-multiplier_1.5.xml | 3 +-- .../rp0.9.2_facilitators_NOC_15.xml | 3 +-- .../rp0.9.2_facilitators_NOC_45.xml | 3 +-- ...acilitators_number-arrests-per-year_15.xml | 3 +-- ...acilitators_number-arrests-per-year_45.xml | 3 +-- ...ators_number-crimes-yearly-per10k_1000.xml | 3 +-- ...ators_number-crimes-yearly-per10k_3000.xml | 3 +-- ...9.2_facilitators_punishment-length_0.5.xml | 3 +-- ...9.2_facilitators_punishment-length_1.5.xml | 3 +-- ...cilitators_unemployment-multiplier_0.5.xml | 3 +-- ...cilitators_unemployment-multiplier_1.5.xml | 3 +-- experiments-xml/rp0.9.2_preventive_NOC_15.xml | 3 +-- experiments-xml/rp0.9.2_preventive_NOC_45.xml | 3 +-- ..._preventive_number-arrests-per-year_15.xml | 3 +-- ..._preventive_number-arrests-per-year_45.xml | 3 +-- ...ntive_number-crimes-yearly-per10k_1000.xml | 3 +-- ...ntive_number-crimes-yearly-per10k_3000.xml | 3 +-- ...0.9.2_preventive_punishment-length_0.5.xml | 3 +-- ...0.9.2_preventive_punishment-length_1.5.xml | 3 +-- ...preventive_unemployment-multiplier_0.5.xml | 3 +-- ...preventive_unemployment-multiplier_1.5.xml | 3 +-- experiments-xml/rp0.9.2_students_NOC_15.xml | 3 +-- experiments-xml/rp0.9.2_students_NOC_45.xml | 3 +-- ....2_students_number-arrests-per-year_15.xml | 3 +-- ....2_students_number-arrests-per-year_45.xml | 3 +-- ...dents_number-crimes-yearly-per10k_1000.xml | 3 +-- ...dents_number-crimes-yearly-per10k_3000.xml | 3 +-- ...rp0.9.2_students_punishment-length_0.5.xml | 3 +-- ...rp0.9.2_students_punishment-length_1.5.xml | 3 +-- ...2_students_unemployment-multiplier_0.5.xml | 3 +-- ...2_students_unemployment-multiplier_1.5.xml | 3 +-- experiments-xml/rp_base.xml | 3 +-- running_list.sh | 7 +++--- 54 files changed, 80 insertions(+), 130 deletions(-) create mode 100644 experiments-xml/list_rp092_b diff --git a/experiments-xml/list_rp092 b/experiments-xml/list_rp092 index 4c8672ed..8979ad7d 100644 --- a/experiments-xml/list_rp092 +++ b/experiments-xml/list_rp092 @@ -23,28 +23,3 @@ rp0.9.2_facilitators_NOC_45.xml rp0.9.2_facilitators_number-arrests-per-year_15.xml rp0.9.2_facilitators_number-arrests-per-year_45.xml rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml -rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml -rp0.9.2_facilitators_punishment-length_0.5.xml -rp0.9.2_facilitators_punishment-length_1.5.xml -rp0.9.2_facilitators_unemployment-multiplier_0.5.xml -rp0.9.2_facilitators_unemployment-multiplier_1.5.xml -rp0.9.2_preventive_NOC_15.xml -rp0.9.2_preventive_NOC_45.xml -rp0.9.2_preventive_number-arrests-per-year_15.xml -rp0.9.2_preventive_number-arrests-per-year_45.xml -rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml -rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml -rp0.9.2_preventive_punishment-length_0.5.xml -rp0.9.2_preventive_punishment-length_1.5.xml -rp0.9.2_preventive_unemployment-multiplier_0.5.xml -rp0.9.2_preventive_unemployment-multiplier_1.5.xml -rp0.9.2_students_NOC_15.xml -rp0.9.2_students_NOC_45.xml -rp0.9.2_students_number-arrests-per-year_15.xml -rp0.9.2_students_number-arrests-per-year_45.xml -rp0.9.2_students_number-crimes-yearly-per10k_1000.xml -rp0.9.2_students_number-crimes-yearly-per10k_3000.xml -rp0.9.2_students_punishment-length_0.5.xml -rp0.9.2_students_punishment-length_1.5.xml -rp0.9.2_students_unemployment-multiplier_0.5.xml -rp0.9.2_students_unemployment-multiplier_1.5.xml diff --git a/experiments-xml/list_rp092_b b/experiments-xml/list_rp092_b new file mode 100644 index 00000000..d3244046 --- /dev/null +++ b/experiments-xml/list_rp092_b @@ -0,0 +1,25 @@ +rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml +rp0.9.2_facilitators_punishment-length_0.5.xml +rp0.9.2_facilitators_punishment-length_1.5.xml +rp0.9.2_facilitators_unemployment-multiplier_0.5.xml +rp0.9.2_facilitators_unemployment-multiplier_1.5.xml +rp0.9.2_preventive_NOC_15.xml +rp0.9.2_preventive_NOC_45.xml +rp0.9.2_preventive_number-arrests-per-year_15.xml +rp0.9.2_preventive_number-arrests-per-year_45.xml +rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml +rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml +rp0.9.2_preventive_punishment-length_0.5.xml +rp0.9.2_preventive_punishment-length_1.5.xml +rp0.9.2_preventive_unemployment-multiplier_0.5.xml +rp0.9.2_preventive_unemployment-multiplier_1.5.xml +rp0.9.2_students_NOC_15.xml +rp0.9.2_students_NOC_45.xml +rp0.9.2_students_number-arrests-per-year_15.xml +rp0.9.2_students_number-arrests-per-year_45.xml +rp0.9.2_students_number-crimes-yearly-per10k_1000.xml +rp0.9.2_students_number-crimes-yearly-per10k_3000.xml +rp0.9.2_students_punishment-length_0.5.xml +rp0.9.2_students_punishment-length_1.5.xml +rp0.9.2_students_unemployment-multiplier_0.5.xml +rp0.9.2_students_unemployment-multiplier_1.5.xml diff --git a/experiments-xml/rp0.9.2_baseline_NOC_15.xml b/experiments-xml/rp0.9.2_baseline_NOC_15.xml index 4e822e70..dd5886a6 100644 --- a/experiments-xml/rp0.9.2_baseline_NOC_15.xml +++ b/experiments-xml/rp0.9.2_baseline_NOC_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_NOC_45.xml b/experiments-xml/rp0.9.2_baseline_NOC_45.xml index 563a3d91..15e523ba 100644 --- a/experiments-xml/rp0.9.2_baseline_NOC_45.xml +++ b/experiments-xml/rp0.9.2_baseline_NOC_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml index b0b2fe78..fdccdcae 100644 --- a/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml +++ b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml index 30b7ab1d..c9a3b6b4 100644 --- a/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml +++ b/experiments-xml/rp0.9.2_baseline_number-arrests-per-year_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml index 13b83286..7661543e 100644 --- a/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml +++ b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_1000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml index 8177d567..c8c984f9 100644 --- a/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml +++ b/experiments-xml/rp0.9.2_baseline_number-crimes-yearly-per10k_3000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml index 3780f5e2..543ead40 100644 --- a/experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml +++ b/experiments-xml/rp0.9.2_baseline_punishment-length_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml index d6bdea0e..c96dd896 100644 --- a/experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml +++ b/experiments-xml/rp0.9.2_baseline_punishment-length_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml index ab77642a..dd176e6b 100644 --- a/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml +++ b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml index fc0c2121..42774501 100644 --- a/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml +++ b/experiments-xml/rp0.9.2_baseline_unemployment-multiplier_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_NOC_15.xml b/experiments-xml/rp0.9.2_disruptive_NOC_15.xml index 565951ff..f59e73b4 100644 --- a/experiments-xml/rp0.9.2_disruptive_NOC_15.xml +++ b/experiments-xml/rp0.9.2_disruptive_NOC_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_NOC_45.xml b/experiments-xml/rp0.9.2_disruptive_NOC_45.xml index 6b17f2d9..ec7cd5d2 100644 --- a/experiments-xml/rp0.9.2_disruptive_NOC_45.xml +++ b/experiments-xml/rp0.9.2_disruptive_NOC_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml index 6b122a54..ea2fc0f8 100644 --- a/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml +++ b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml index c4e6b6e4..da7ebbb1 100644 --- a/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml +++ b/experiments-xml/rp0.9.2_disruptive_number-arrests-per-year_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml index 0b211073..d3537256 100644 --- a/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml +++ b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_1000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml index 29e604dd..9fc5c804 100644 --- a/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml +++ b/experiments-xml/rp0.9.2_disruptive_number-crimes-yearly-per10k_3000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml index 80856b03..77ff0b24 100644 --- a/experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml +++ b/experiments-xml/rp0.9.2_disruptive_punishment-length_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml index a02164bd..a507adf4 100644 --- a/experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml +++ b/experiments-xml/rp0.9.2_disruptive_punishment-length_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml index da5c5fb2..219dcb58 100644 --- a/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml +++ b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml index 16bc8710..ca131aa8 100644 --- a/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml +++ b/experiments-xml/rp0.9.2_disruptive_unemployment-multiplier_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_NOC_15.xml b/experiments-xml/rp0.9.2_facilitators_NOC_15.xml index 5fb797be..c25c6ed9 100644 --- a/experiments-xml/rp0.9.2_facilitators_NOC_15.xml +++ b/experiments-xml/rp0.9.2_facilitators_NOC_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_NOC_45.xml b/experiments-xml/rp0.9.2_facilitators_NOC_45.xml index dee5bfdf..cd4bb323 100644 --- a/experiments-xml/rp0.9.2_facilitators_NOC_45.xml +++ b/experiments-xml/rp0.9.2_facilitators_NOC_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml index 53f7c36b..cae3ff74 100644 --- a/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml +++ b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml index 68f2689a..8e40efe0 100644 --- a/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml +++ b/experiments-xml/rp0.9.2_facilitators_number-arrests-per-year_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml index 9f7f74fa..b5964be3 100644 --- a/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml +++ b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_1000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml index b10ca5ac..6974980f 100644 --- a/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml +++ b/experiments-xml/rp0.9.2_facilitators_number-crimes-yearly-per10k_3000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml index 81dd425c..1a8d2fa0 100644 --- a/experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml +++ b/experiments-xml/rp0.9.2_facilitators_punishment-length_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml index da290451..c26eb62f 100644 --- a/experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml +++ b/experiments-xml/rp0.9.2_facilitators_punishment-length_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml index f39ab2bb..5f474ce6 100644 --- a/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml +++ b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml index 9b7c3f47..3d08b313 100644 --- a/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml +++ b/experiments-xml/rp0.9.2_facilitators_unemployment-multiplier_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_NOC_15.xml b/experiments-xml/rp0.9.2_preventive_NOC_15.xml index 813351ea..b1fdb3f0 100644 --- a/experiments-xml/rp0.9.2_preventive_NOC_15.xml +++ b/experiments-xml/rp0.9.2_preventive_NOC_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_NOC_45.xml b/experiments-xml/rp0.9.2_preventive_NOC_45.xml index b705c37a..3dfad6a7 100644 --- a/experiments-xml/rp0.9.2_preventive_NOC_45.xml +++ b/experiments-xml/rp0.9.2_preventive_NOC_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml index 28a8bf39..003d6575 100644 --- a/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml +++ b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml index 0ff3e2e7..0d3d0bbd 100644 --- a/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml +++ b/experiments-xml/rp0.9.2_preventive_number-arrests-per-year_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml index cbf0cece..58d56d4f 100644 --- a/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml +++ b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_1000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml index 5e90fb47..a3067bab 100644 --- a/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml +++ b/experiments-xml/rp0.9.2_preventive_number-crimes-yearly-per10k_3000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml index fec9c3dc..c3e0e7be 100644 --- a/experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml +++ b/experiments-xml/rp0.9.2_preventive_punishment-length_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml index c3f39f5d..2cbaa522 100644 --- a/experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml +++ b/experiments-xml/rp0.9.2_preventive_punishment-length_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml index c56a09d0..18afff97 100644 --- a/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml +++ b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml index bb3a0c6e..cac4f1ee 100644 --- a/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml +++ b/experiments-xml/rp0.9.2_preventive_unemployment-multiplier_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_NOC_15.xml b/experiments-xml/rp0.9.2_students_NOC_15.xml index 5767e855..0ce2a701 100644 --- a/experiments-xml/rp0.9.2_students_NOC_15.xml +++ b/experiments-xml/rp0.9.2_students_NOC_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_NOC_45.xml b/experiments-xml/rp0.9.2_students_NOC_45.xml index 6403abc2..3a5d45f6 100644 --- a/experiments-xml/rp0.9.2_students_NOC_45.xml +++ b/experiments-xml/rp0.9.2_students_NOC_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml b/experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml index ec181d28..48167cf4 100644 --- a/experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml +++ b/experiments-xml/rp0.9.2_students_number-arrests-per-year_15.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml b/experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml index 525b57bd..09192583 100644 --- a/experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml +++ b/experiments-xml/rp0.9.2_students_number-arrests-per-year_45.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml index f69dc825..819904b0 100644 --- a/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml +++ b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_1000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml index 6d1789d7..1754d314 100644 --- a/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml +++ b/experiments-xml/rp0.9.2_students_number-crimes-yearly-per10k_3000.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_punishment-length_0.5.xml b/experiments-xml/rp0.9.2_students_punishment-length_0.5.xml index a55e3b5f..224adce0 100644 --- a/experiments-xml/rp0.9.2_students_punishment-length_0.5.xml +++ b/experiments-xml/rp0.9.2_students_punishment-length_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_punishment-length_1.5.xml b/experiments-xml/rp0.9.2_students_punishment-length_1.5.xml index 5e5c02d8..d4738bc2 100644 --- a/experiments-xml/rp0.9.2_students_punishment-length_1.5.xml +++ b/experiments-xml/rp0.9.2_students_punishment-length_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml b/experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml index fb8d4013..96e93548 100644 --- a/experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml +++ b/experiments-xml/rp0.9.2_students_unemployment-multiplier_0.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml b/experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml index 433f7522..ac246826 100644 --- a/experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml +++ b/experiments-xml/rp0.9.2_students_unemployment-multiplier_1.5.xml @@ -3,9 +3,8 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 o2 o3 diff --git a/experiments-xml/rp_base.xml b/experiments-xml/rp_base.xml index 612a3f65..e3fda5c1 100644 --- a/experiments-xml/rp_base.xml +++ b/experiments-xml/rp_base.xml @@ -5,10 +5,9 @@ setup go show (word "Time elapsed:" timer) - dump-networks - + o1 diff --git a/running_list.sh b/running_list.sh index f6893be2..4f39ae39 100644 --- a/running_list.sh +++ b/running_list.sh @@ -1,7 +1,8 @@ export NLOGO=/home/mario/NetLogo\ 6.1.1/netlogo-headless.sh +#export NLOGO=/home/paolucci/NetLogo\ 6.1.1/netlogo-headless.sh while read p; do echo "$p" - EXP=p + EXP=$p time "$NLOGO" --model PROTON-OC.nlogo --setup-file experiments-xml/$EXP --table $EXP.`hostname`.`git rev-parse --short HEAD`.csv > $EXP.`hostname`.`git rev-parse --short HEAD`.out 2>&1 - sleep 1s -done Date: Wed, 15 Apr 2020 00:21:30 +0200 Subject: [PATCH 04/10] Update makeSensitivityMissing9.3.py, missing, and 3 more files... --- experiments-xml/makeSensitivityMissing9.3.py | 47 ++++++ experiments-xml/missing | 3 + experiments-xml/rp0.9.3_disruptive_.xml | 168 +++++++++++++++++++ experiments-xml/rp0.9.3_facilitators_.xml | 168 +++++++++++++++++++ experiments-xml/rp0.9.3_preventive_.xml | 168 +++++++++++++++++++ 5 files changed, 554 insertions(+) create mode 100755 experiments-xml/makeSensitivityMissing9.3.py create mode 100644 experiments-xml/missing create mode 100644 experiments-xml/rp0.9.3_disruptive_.xml create mode 100644 experiments-xml/rp0.9.3_facilitators_.xml create mode 100644 experiments-xml/rp0.9.3_preventive_.xml diff --git a/experiments-xml/makeSensitivityMissing9.3.py b/experiments-xml/makeSensitivityMissing9.3.py new file mode 100755 index 00000000..5e806933 --- /dev/null +++ b/experiments-xml/makeSensitivityMissing9.3.py @@ -0,0 +1,47 @@ +import xml.etree.ElementTree as ET + +repetitions = "10" + +#pretty print method +def indent(elem, level=0): + i = "\n" + level*" " + j = "\n" + (level-1)*" " + if len(elem): + if not elem.text or not elem.text.strip(): + elem.text = i + " " + if not elem.tail or not elem.tail.strip(): + elem.tail = i + for subelem in elem: + indent(subelem, level+1) + if not elem.tail or not elem.tail.strip(): + elem.tail = j + else: + if level and (not elem.tail or not elem.tail.strip()): + elem.tail = j + return elem + +# ---------------------------------- +version="rp0.9.3" + +for intervention in ['disruptive', + 'preventive', + 'facilitators']: + + + tree = ET.parse('rp_base.xml') + root = tree.getroot() + + al = tree.find('.//enumeratedValueSet[@variable="intervention"]') + for x in list(al): al.remove(x) + al.insert(1, ET.Element("value", value='"'+intervention+'"')) + + experiment = version + '_' + intervention + "_" + al = tree.find('.//experiment') + al.set('name', version) + al.set('repetitions', repetitions) + + #write to file + tree = ET.ElementTree(indent(root)) + tree.write(experiment + '.xml', encoding='utf-8') + + diff --git a/experiments-xml/missing b/experiments-xml/missing new file mode 100644 index 00000000..a280823e --- /dev/null +++ b/experiments-xml/missing @@ -0,0 +1,3 @@ +rp0.9.3_disruptive_.xml +rp0.9.3_facilitators_.xml +rp0.9.3_preventive_.xml diff --git a/experiments-xml/rp0.9.3_disruptive_.xml b/experiments-xml/rp0.9.3_disruptive_.xml new file mode 100644 index 00000000..9790f6b9 --- /dev/null +++ b/experiments-xml/rp0.9.3_disruptive_.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.3_facilitators_.xml b/experiments-xml/rp0.9.3_facilitators_.xml new file mode 100644 index 00000000..300f7121 --- /dev/null +++ b/experiments-xml/rp0.9.3_facilitators_.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.3_preventive_.xml b/experiments-xml/rp0.9.3_preventive_.xml new file mode 100644 index 00000000..77b83d58 --- /dev/null +++ b/experiments-xml/rp0.9.3_preventive_.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 9c63a1b9ef2c6b669db9de6e637ef463ecf965f4 Mon Sep 17 00:00:00 2001 From: mariopaolucci Date: Fri, 24 Apr 2020 17:53:24 +0200 Subject: [PATCH 05/10] Repairing bug from issue #166 --- PROTON-OC.nlogo | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PROTON-OC.nlogo b/PROTON-OC.nlogo index 255bb23d..975bf4e0 100644 --- a/PROTON-OC.nlogo +++ b/PROTON-OC.nlogo @@ -530,7 +530,7 @@ to welfare-intervene ][ if welfare-support = "job-child" [ set targets all-persons with [ age > 16 and age < 24 - and not any? my-school-links + and my-school = nobody and any? in-offspring-link-neighbors with [ male? and oc-member? ] and my-job = nobody ] ] @@ -598,7 +598,7 @@ to family-intervene let family (turtle-set self family-link-neighbors) welfare-createjobs family with [ my-job = nobody and age >= 16 - and not any? my-school-links + and my-school = nobody ] soc-add-educational family with [ my-job = nobody and age < 18 @@ -1813,7 +1813,7 @@ num-persons num-persons 100 10000 -550.0 +500.0 100 1 NIL @@ -2166,7 +2166,7 @@ ticks-between-intervention ticks-between-intervention 1 24 -12.0 +1.0 1 1 NIL From 75d4c0b98c272c1d8e2f28f7656a297028d09643 Mon Sep 17 00:00:00 2001 From: mariopaolucci Date: Fri, 24 Apr 2020 17:59:53 +0200 Subject: [PATCH 06/10] Correcting bug #167 --- PROTON-OC.nlogo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROTON-OC.nlogo b/PROTON-OC.nlogo index 975bf4e0..3a5abc5a 100644 --- a/PROTON-OC.nlogo +++ b/PROTON-OC.nlogo @@ -582,7 +582,7 @@ to family-intervene ] let kids-to-protect persons with [ age < 18 and age >= 12 and any? in-offspring-link-neighbors with [ - male? and oc-member? and runresult the-condition + male? and runresult the-condition ] ] if any? kids-to-protect [ From dfe6f0288bb6306f5dc8945549a3c8f18de3f914 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 7 May 2020 19:16:25 +0200 Subject: [PATCH 07/10] Adding all the 0.9 xml files in labss-simul for documentation purposes --- experiments-xml/rp0.9.1more.xml | 168 +++++++++++++++++++ experiments-xml/rp0.9.3_baseline_10k.xml | 168 +++++++++++++++++++ experiments-xml/rp0.9.3_disruptive_10k.xml | 168 +++++++++++++++++++ experiments-xml/rp0.9.3_facilitators_10k.xml | 168 +++++++++++++++++++ experiments-xml/rp0.9.3_preventive_10k.xml | 168 +++++++++++++++++++ experiments-xml/rp0.9.3_students_10k.xml | 168 +++++++++++++++++++ running_list.sh | 2 +- running_list_a.sh | 8 + running_list_m.sh | 8 + 9 files changed, 1025 insertions(+), 1 deletion(-) create mode 100644 experiments-xml/rp0.9.1more.xml create mode 100644 experiments-xml/rp0.9.3_baseline_10k.xml create mode 100644 experiments-xml/rp0.9.3_disruptive_10k.xml create mode 100644 experiments-xml/rp0.9.3_facilitators_10k.xml create mode 100644 experiments-xml/rp0.9.3_preventive_10k.xml create mode 100644 experiments-xml/rp0.9.3_students_10k.xml create mode 100644 running_list_a.sh create mode 100644 running_list_m.sh diff --git a/experiments-xml/rp0.9.1more.xml b/experiments-xml/rp0.9.1more.xml new file mode 100644 index 00000000..e09ccc59 --- /dev/null +++ b/experiments-xml/rp0.9.1more.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + mean [ count link-neighbors ] of all-persons with [oc-member?] + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.3_baseline_10k.xml b/experiments-xml/rp0.9.3_baseline_10k.xml new file mode 100644 index 00000000..0d51fa0a --- /dev/null +++ b/experiments-xml/rp0.9.3_baseline_10k.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.3_disruptive_10k.xml b/experiments-xml/rp0.9.3_disruptive_10k.xml new file mode 100644 index 00000000..f49ebdb3 --- /dev/null +++ b/experiments-xml/rp0.9.3_disruptive_10k.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.3_facilitators_10k.xml b/experiments-xml/rp0.9.3_facilitators_10k.xml new file mode 100644 index 00000000..396f62ca --- /dev/null +++ b/experiments-xml/rp0.9.3_facilitators_10k.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.3_preventive_10k.xml b/experiments-xml/rp0.9.3_preventive_10k.xml new file mode 100644 index 00000000..5ce0b489 --- /dev/null +++ b/experiments-xml/rp0.9.3_preventive_10k.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/experiments-xml/rp0.9.3_students_10k.xml b/experiments-xml/rp0.9.3_students_10k.xml new file mode 100644 index 00000000..fa180982 --- /dev/null +++ b/experiments-xml/rp0.9.3_students_10k.xml @@ -0,0 +1,168 @@ + + + setup + go + show (word "Time elapsed:" timer) + + + o1 + o2 + o3 + o4 + o5 + o5a + o6 + o6a + o7a + o7b + o7c + o8a + o8b + o8c + o9a + o9b + o9c + o10a + o10b + o10c + o11 + o12 + o13 + o14 + o15 + o16 + count persons + count links + count prisoners + count persons with [ migrant? ] + number-deceased + number-born + sum [ num-crimes-committed ] of persons + count persons with [ my-job != nobody ] + count jobs with [ my-worker != nobody ] + crime-size-fails + count persons with [facilitator?] + facilitator-fails + facilitator-crimes + count household-links + count partner-links + count sibling-links + count offspring-links + count friendship-links + count criminal-links + count professional-links + count school-links + count meta-links + sum [ count my-students ] of schools + count jobs + count all-persons with [ num-crimes-committed = 0 ] + count all-persons with [ my-job = nobody and my-school = nobody and age > 16 and age < 65 ] / count all-persons with [my-job = nobody and my-school = nobody and age > 16 and age < 65 ] + people-jailed + count all-persons with [ my-school != nobody ] + count all-persons with [ my-job != nobody ] + kids-intervention-counter + ifelse-value any? all-persons with [ oc-member? ] [ mean [ count link-neighbors ] of all-persons with [ oc-member? ] ] [ 0 ] + + mean [ count link-neighbors ] of all-persons + initial-random-seed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/running_list.sh b/running_list.sh index 4f39ae39..0ead98f5 100644 --- a/running_list.sh +++ b/running_list.sh @@ -5,4 +5,4 @@ while read p; do EXP=$p time "$NLOGO" --model PROTON-OC.nlogo --setup-file experiments-xml/$EXP --table $EXP.`hostname`.`git rev-parse --short HEAD`.csv > $EXP.`hostname`.`git rev-parse --short HEAD`.out 2>&1 #sleep 1s -done < $1 \ No newline at end of file +done < experiments-xml/list_rp092_b diff --git a/running_list_a.sh b/running_list_a.sh new file mode 100644 index 00000000..4af74e99 --- /dev/null +++ b/running_list_a.sh @@ -0,0 +1,8 @@ +export NLOGO=/home/mario/NetLogo\ 6.1.1/netlogo-headless.sh +#export NLOGO=/home/paolucci/NetLogo\ 6.1.1/netlogo-headless.sh +while read p; do + echo "$p" + EXP=$p + time "$NLOGO" --model PROTON-OC.nlogo --setup-file experiments-xml/$EXP --table $EXP.`hostname`.`git rev-parse --short HEAD`.csv > $EXP.`hostname`.`git rev-parse --short HEAD`.out 2>&1 + #sleep 1s +done < experiments-xml/list_rp092 diff --git a/running_list_m.sh b/running_list_m.sh new file mode 100644 index 00000000..d5b68ad1 --- /dev/null +++ b/running_list_m.sh @@ -0,0 +1,8 @@ +export NLOGO=/home/mario/NetLogo\ 6.1.1/netlogo-headless.sh +#export NLOGO=/home/paolucci/NetLogo\ 6.1.1/netlogo-headless.sh +while read p; do + echo "$p" + EXP=$p + time "$NLOGO" --model PROTON-OC.nlogo --setup-file experiments-xml/$EXP --table $EXP.`hostname`.`git rev-parse --short HEAD`.csv > $EXP.`hostname`.`git rev-parse --short HEAD`.out 2>&1 + #sleep 1s +done < experiments-xml/missing From f076b9852acfa58fc4fe5f34ec58947ebb1c0f81 Mon Sep 17 00:00:00 2001 From: mariopaolucci Date: Fri, 8 May 2020 00:07:46 +0200 Subject: [PATCH 08/10] Updating tests to 6.1.1, also correcting a bug in #168 --- PROTON-OC.nlogo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PROTON-OC.nlogo b/PROTON-OC.nlogo index 3a5abc5a..c7782074 100644 --- a/PROTON-OC.nlogo +++ b/PROTON-OC.nlogo @@ -1114,10 +1114,15 @@ end to-report link-color report [50 50 50 50] end - to make-people-die ask all-persons [ if random-float 1 < p-mortality or age > 119 [ + ; list tick father son + foreach removed-fatherships [ a -> + if self = last but-last a or self = last a [ ; will never see each other again. So sad. + set removed-fatherships remove a removed-fatherships + ] + ] if facilitator? [ let new-facilitator one-of other persons with [ not facilitator? and not oc-member? and age > 18 ] ask new-facilitator [ set facilitator? true ] From 0e7064c934bd092b35e0103be95ce5791cb826cf Mon Sep 17 00:00:00 2001 From: mariopaolucci Date: Fri, 8 May 2020 00:09:27 +0200 Subject: [PATCH 09/10] Update build.sbt --- proton-oc-tests/build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton-oc-tests/build.sbt b/proton-oc-tests/build.sbt index ace7fac7..5d5f2af4 100644 --- a/proton-oc-tests/build.sbt +++ b/proton-oc-tests/build.sbt @@ -11,7 +11,7 @@ resolvers += Resolver.bintrayRepo("netlogo", "NetLogo-JVM") libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "3.0.5" % Test, - "org.nlogo" % "netlogo" % "6.0.4" % Test + "org.nlogo" % "netlogo" % "6.1.1" % Test ) lazy val downloadFromZip = taskKey[Unit]("Download zipped extensions and extract them to ./extensions") From fb480da9ee8cb70a35a5020564246942960ae3d9 Mon Sep 17 00:00:00 2001 From: mariopaolucci Date: Fri, 8 May 2020 10:15:49 +0200 Subject: [PATCH 10/10] Tests never work on the first attempt. Here, I update the extensions and I fix the last (yeah, last..) misalignment. --- proton-oc-tests/build.sbt | 9 +++++---- .../istc/labss/proton/oc/tests/OCInterventionTest.scala | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/proton-oc-tests/build.sbt b/proton-oc-tests/build.sbt index 5d5f2af4..5dc5e4e1 100644 --- a/proton-oc-tests/build.sbt +++ b/proton-oc-tests/build.sbt @@ -17,12 +17,13 @@ libraryDependencies ++= Seq( lazy val downloadFromZip = taskKey[Unit]("Download zipped extensions and extract them to ./extensions") downloadFromZip := { - val baseURL = "https://raw.githubusercontent.com/NetLogo/NetLogo-Libraries/6.0/extensions/" + val baseURL = "https://raw.githubusercontent.com/NetLogo/NetLogo-Libraries/6.1/extensions/" val extensions = List( - "nw" -> "nw-3.7.5.zip", "table" -> "table-1.3.0.zip", - "csv" -> "csv-1.1.0.zip", "profiler" -> "profiler-1.1.0.zip", - "rnd" -> "rnd-3.0.0.zip" + "nw" -> "nw-3.7.7.zip", "table" -> "table-1.3.1.zip", + "csv" -> "csv-1.1.1.zip", "profiler" -> "profiler-1.1.1.zip", + "rnd" -> "rnd-3.0.1.zip" ) + for { (extension, file) <- extensions path = new File("extensions/" + extension) diff --git a/proton-oc-tests/src/test/scala/it/cnr/istc/labss/proton/oc/tests/OCInterventionTest.scala b/proton-oc-tests/src/test/scala/it/cnr/istc/labss/proton/oc/tests/OCInterventionTest.scala index fad0b24a..4694bfbe 100644 --- a/proton-oc-tests/src/test/scala/it/cnr/istc/labss/proton/oc/tests/OCInterventionTest.scala +++ b/proton-oc-tests/src/test/scala/it/cnr/istc/labss/proton/oc/tests/OCInterventionTest.scala @@ -36,7 +36,6 @@ class OCInterventionTest extends OCModelSuite { set targets-addressed-percent 100 set family-intervention "remove-if-OC-member" calc-criminal-tendency-addme-for-weighted-extraction - calc-criminal-tendency-subtractfromme-for-inverse-weighted-extraction family-intervene """) // the baby is (one-of persons with [ age = 0 and propensity = 0])