Skip to content

The program creates an array of movements of positions of a given number of workers and builds a graph.

Notifications You must be signed in to change notification settings

xyz-man/worker-drunken-gait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Linux Python

Index

Description

Worker-drunken-gait - the program creates an array of movements of positions of a given number of workers and builds a graph.

Features

  • 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.

Installation

1. Create Virtual Python Environment and Install Python3 interpreter

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

2. Clone this repository into your directory

$ mkdir app && cd app


$ git clone https://github.com/xyz-man/worker-drunken-gait.git

3. Install requirements

$ pip install -r requirements.txt

4. Configuration

Edit the settings.py file and change needed values.

5. Run

Inside the root project directory (.app/) activate local virtual environments:

$ source venv/bin/activate

and run main.py file:

$ python main.py

6. License

Program has been created under the GNU GPLv3 license

About

The program creates an array of movements of positions of a given number of workers and builds a graph.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages