Skip to content

A simple modification of a NetLogo model for the subject "Computación Social y Personalización" ("Social Computing and Personalisation") of the "Grado en Ciencia de Datos e Inteligencia Artificial" ("Degree in Data Science and Artificial Intelligence") of the Universidad Politécnica de Madrid (UPM).

License

dmjimenezbravo/NetLogoExampleModification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Issues CC License


A simple modification of a NetLogo model.
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Bit information about NetLogo
  3. Getting Started
  4. Usage
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

A simple modification of a NetLogo model for the subject "Computación Social y Personalización" ("Social Computing and Personalisation") of the "Grado en Ciencia de Datos e Inteligencia Artificial" ("Degree in Data Science and Artificial Intelligence") of the Universidad Politécnica de Madrid (UPM).

(back to top)

Built With

(back to top)

Bit information about NetLogo

It is a programmable multi-agent system modelling tool. It allows you to create interactive models and observe the life cycle of the agents based on the behaviours defined programmatically. It was created by Uri Wilensky (Northwestern University) in 1999. For more information, see https://ccl.northwestern.edu/netlogo/.

(back to top)

Getting Started

To run the example based on the NetLogo "Paths" model, the following is needed:

Once the software has been installed, it will be possible to load the "Paths" model from the tool's installation folder (). If you have decided to use the browser tool, you can access the model via the following link.

(back to top)

Prerequisites

  • NetLogo: the first step is to download the NetLogo tool or access it through its online tool. It is always recommended to use the desktop version as for some models the browser version does not work properly. On the other hand, when installing the desktop version you will have the models provided by the creators of the tool.

(back to top)

Installation

To install the desktop version of NetLogo you have to access the following link and choose the corresponding version for your operating system. The software is installed in a similar way to any other software.

It is important to pay attention to the installation folder, as it is in this folder where the models provided by the tool that we may need later will be stored.

(back to top)

Usage

To use the model available in this repository PathsModified.nlogo just open the tool and open the previously downloaded model on your computer.

The differences of the model in this repository in relation to the NetLogo Paths model are shown below:

  1. Define a new subset of agents of type "turtle" that refers to buildings of type "skyscrapers". These agents will have a larger size than the "buildings" agents and will be coloured blue.
  2. This new agent type shall be created in the same way as the "building" type agents, i.e. by clicking on the NetLogo world. However, whenever clicked, a "skyscraper" or "building" type building can be created; this will be decided randomly but the probability of "building" type agents being created will be higher than that of the "skyscraper".
  3. When there are at least two agents of type "skyscraper" and/or "building", the mobile agents will prioritise one of these types of agents as a destination. Although they will randomly decide whether to go to a "skyscraper" or a "building", the probability of going to a "skyscraper" will always be higher.
  4. The agents of type "buiding" and "skyscraper" shall establish links between them by means of the agents of type "link". Only agents of these types that are closest to each other shall be linked.
  5. Finally, a new property is defined for the "skyscraper" and "building" agent types. This property refers to their popularity, which will progressively decrease until it reaches zero. At that point the agent will die and disappear from the NetLogo world.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Creative Commons Zero v1.0 Universal License. See LICENSE for more information.

(back to top)

Contact

Diego M. Jiménez Bravo - @dmjimenezbravo - dmjimenezbravo@gmail.com

Project Link: https://github.com/dmjimenezbravo/NetLogoExampleModification

(back to top)

Acknowledgments

(back to top)

About

A simple modification of a NetLogo model for the subject "Computación Social y Personalización" ("Social Computing and Personalisation") of the "Grado en Ciencia de Datos e Inteligencia Artificial" ("Degree in Data Science and Artificial Intelligence") of the Universidad Politécnica de Madrid (UPM).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published