Giter Club home page Giter Club logo

abm_commons_tragedy's People

Contributors

isischameleon avatar jesp5078 avatar jimenaspi avatar riarialim avatar

Watchers

 avatar  avatar  avatar

abm_commons_tragedy's Issues

Save and load network configuration for reproducing experiment

Note : I have put the patches in a separate issue since maybe we don't need to save all the patches, just the %good land slider ?

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; S A V E && R E L O A D
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

to save-setup
; procedure to save all setup parameters
save-network ;; save network, ideally with strength value (initial version can be only links)
save-patches ;; save each patch initial configuration
save-parameters ;; to save turtles parameters like nb-villagers, turtle-visino, ....
end

to save-network
end

to save-patches
end

to save-parameters
end

Extreme scenarios of percent-best-land slicer

The extreme scenarios of percent-best-land are very predictable.
We need to focus on a reasonable range in which both depletion and sustainability are possible outcomes. I obeserved that the percent-best-land range between 12 and 18% is where things are happening. We can try a broad range like 10-25%. (this is for discussing, maybe it is not important now, and the range could change when we add the network, but it will be important for the simulations in the final report).

Create a reporter procedure to return the agentset of turtles connected to a particular turtle by links.

Call this procedure during setup, and save the agentset for each turtle in the turtles-own variable.

to-report turtles-that-listen-to-me [ a-turtle radius ]
;; reports an agentset of turtles that are linked to a-turtle by "radius" nodes
;; e.g if radius is zero returns a-turtle
;; if radius is 1 returns all turtles that are linked directly to that turtle
;; if radius is 2 returns all turtles that are 1 or 2 links away from a-turtle
;; let _turtles ...
;; report _turtles
end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.