Define model and endpoints to store affinity between group pairs #200
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "affinities-controller"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR establishes the basement to override the affinities between groups. It defines a model,
GroupAffinity
, which stores the discomfort between a pair of groups. The discomfort is assumed to be reciprocal, so group pairs like A-B and B-A are not allowed. The discomfort of a group with itself is also not allowed, as it is assumed to be zero.The discomfort calculator is not using this information yet, that will be implemented in a subsequent PR.
Relates to #197
WIP: Define model and endpoints to store affinity between group pairsto Define model and endpoints to store affinity between group pairs