Skip to content

D-Davinson/projet-PMA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 PROJECT - PARRALÉLISM MAXIMAL AUTOMATIC

💫 Objective

The objective is the implementation of a library that allows a task system to be rendered according to the following condition:

  • Parralélism Maximal Automatic
  • Entered in Python

Inside of libaries :

Class Description
Task Initialize the reading, writing and execution of a task
Constructor Description
TaskSystem Takes a tasks list and a dependency dictionary as parameters
Methods Description
getDependencies(nomTache) List the dependencies according to the maximum parallelism system
runSeq() Sequential execution of the task system
run() Parallelim execution of the task system
draw() Setting up a previous graph according to the maximum parallelism system
error_message(TaskSystem) Print some basics error about the task sytem
detTestRnd(nb_test) Do some random test with comparaison of execution
parCost(nb_test) Measure the execution time between runSeq and run. Give the average and the difference

💫 Implementation

Import

Type of package Import
Standard thread,random,time
PyPi graphviz

Install

$ python3 get-pip.py

$ pip install graphviz

Run

To compile the program :

$ clone https://github.com/D-Davinson/projet-PMA.git

Open the reposotory projet-PMA

$ cd project

$ python3 compile.py

🧑🏽‍💻 Authors

Releases

No releases published

Packages

No packages published

Languages