Worker-drunken-gait - the program creates an array of movements of positions of a given number of workers and builds a graph.
- Automatic fill the needed initial variables.
- Separate configuration file.
- The number of workers (NUMBER_OF_WORKERS), the number of dimensions (NUMBER_OF_DIMENSIONS) have no limitations
- The ability to set different values of motion probabilities.
- The ability to set different values for movement shifts - STEP_SIZE.
- The plotting function is only available for a 2-D task.
Additional information on https://www.python.org/downloads/ and Creation of virtual environments
or simple way to create subfolder venv (with python packages) inside the current directory:
$ python -m venv venv
$ mkdir app && cd app
$ git clone https://github.com/xyz-man/worker-drunken-gait.git
$ pip install -r requirements.txt
Edit the settings.py
file and change needed values.
Inside the root project directory (.app/
) activate local virtual environments:
$ source venv/bin/activate
and run main.py
file:
$ python main.py
Program has been created under the GNU GPLv3 license