Skip to content

gy19ynk/INDEPENDENT

Repository files navigation

SHOW ME THE WAY TO GO HOME

A model that imitates how drunks stagger around at night from a pub to their respective homes.There are 25 drunks at one pub,that need to locate their correct numbered houses,the houses are 25 in total. The model thus first of all reads the "drunk plan" file which contains all the variables used in the model.Secondly,the model draws houses on edges of the environment and a pub which is located in the centre.Later on, the drunks are added or called at the pub. Each drunk is allocated a house number which they must trace inorder to get home. The x and y starting point of the drunks is the pub and each of them have a specific coordinate for their houses.

DIRECTORY OR FILES

The following are the files used in the model;

Agentframework, the class that deals with the drunks,their home and location

drunk.plan.txt, the file that contains variables used in model

independent(model), the main model

License (MIT)

To have access to the files in the repository, check https://github.com/gy19ynk/INDEPENDENT

LICENSE

The project is licensed under MIT, For more information on the license check https://github.com/gy19ynk/INDEPENDENT/blob/master/LICENSE.

SOFTWARE

Spyder 3.7 was used to run the model and build the agentframework.

Releases

No releases published

Packages

No packages published

Languages