equal
deleted
inserted
replaced
85 self.adjusted_slots = adjusted_slots |
85 self.adjusted_slots = adjusted_slots |
86 |
86 |
87 self.buildSets() |
87 self.buildSets() |
88 |
88 |
89 if not sum(self.popularity.values()) or not sum(self.mentors.values()): |
89 if not sum(self.popularity.values()) or not sum(self.mentors.values()): |
90 return {} |
90 return self.popularity |
91 |
91 |
92 if self.iterative: |
92 if self.iterative: |
93 return self.iterativeAllocation() |
93 return self.iterativeAllocation() |
94 else: |
94 else: |
95 return self.preprocessingAllocation() |
95 return self.preprocessingAllocation() |