Build shuffle-lunch groups.
Run main.py
with arguments (selection method and the number of months to simulate):
python main.py greedy 10
Support two types of methods for selection
- greedy: greedy method
- random: random method; randomly build groups 10,000 times and select the best group.
Specify the number of months for simulation. For example, if 10 is passed, it will simulate selection for 10 months.
Basically, higher score is worse.
- 1: Two people in a group had lunch together 3 months ago.
- 2: Two people in a group had lunch together 2 months ago.
- 3: Two people in a group had lunch together 1 month ago.
- 4: Two people in a group are in same team; they probably have lunch together frequently.