Group creation for Context Project
First work on group matching for Contextproject:
-
Create groups based on friends list -
Find solution for friends lists that do not match -
Create a graph of groups on the left and projects on the right and connect them with weighted edges, where the weight indicates how much a group wants a project -
Calculate the edge weight from the average of all project preferences of the group members -
Run the Max Flow algorithm -
Take the results and save the groups with their desired project -
Ensure projects can have multiple groups at once
Used library for max flow algorithm: https://github.com/pH14/graphmatch
Edited by Stefan Hugtenburg