Use average discomfort instead of sum #109

Merged
bustikiller merged 1 commits from fix/discomfort-average into main 2024-11-10 10:38:35 +00:00
Owner

Why

If the cohesion penalty is calculated as the sum of the penalty of every pair of guests, small tables tend to have less penalty.

What

We are calculating the average cohesion of the table, rather than the sum. By doing this, the size of the table won't be so relevant for the cohesion formula.

## Why If the cohesion penalty is calculated as the sum of the penalty of every pair of guests, small tables tend to have less penalty. ## What We are calculating the average cohesion of the table, rather than the sum. By doing this, the size of the table won't be so relevant for the cohesion formula.
bustikiller added 1 commit 2024-11-10 10:36:18 +00:00
Use average discomfort instead of sum
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m1s
Add copyright notice / copyright_notice (pull_request) Successful in 1m29s
Run unit tests / unit_tests (pull_request) Successful in 2m14s
021b82b28e
bustikiller scheduled this pull request to auto merge when all checks succeed 2024-11-10 10:36:24 +00:00
bustikiller merged commit 172193b0dc into main 2024-11-10 10:38:35 +00:00
Sign in to join this conversation.
No Reviewers
No Label
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bustikiller/wedding-planner#109
No description provided.