Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored Boltzmann example docs and scripts. #26

Merged
merged 3 commits into from
Aug 20, 2019

Commits on Aug 17, 2019

  1. Refactored Boltzmann example docs and scripts.

    Made substantial edits to the Boltzmann wealth distribution example. The
    general train of thought wasn't changed in the .md file, but many
    paragraph were restructured significantly and a few paragraphs were
    added.
    
    Also, the corresponding files in `examples/` were edited as well. Since
    the docs page gives two examples of the Boltzmann model (with a grid and
    without), two separate `.jl` files where created so that either
    variation can be easily executed by the user. The code referenced in
    docs page is exactly the same code in the two `.jl` files.
    def-mycroft committed Aug 17, 2019
    Configuration menu
    Copy the full SHA
    90954eb View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2019

  1. Updated agent_step! function in Boltzmann example.

    This is for issue JuliaDynamics#27. Added new agent_step! code provided
    by kavir1698, function forces agents to only give wealth
    to someone on their own node.
    def-mycroft committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    e2674b9 View commit details
    Browse the repository at this point in the history
  2. Modified Boltzmann agent_step! to move agents.

    Agents who trade wealth with only agents on their own
    node must be moved at every step, otherwise they will
    just trade wealth amongst themselves.
    def-mycroft committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    3295789 View commit details
    Browse the repository at this point in the history