Computer and Modernization

Previous Articles     Next Articles

Intelligent Dormitory Allocation Method Based on Greedy Algorithm

  

  1. School of Computer Science and Technology, Hangzhou Dianzi University, Hangzhou 310018, China
  • Received:2017-04-12 Online:2018-01-23 Published:2018-01-24

Abstract: For the problem issued in the traditional method of dormitory allocation that lacking of consideration about student’s own situation, a new method of dormitory allocation is proposed in this paper. Based on the greedy algorithm, before the dormitory allocation, we survey sleep habits, get up habits, character and living expense of students, and students can give weight to each option based on individual situation. This method can calculate the degree of match between students according to the results of questionnaire, and assign the students with the high degree of match to same room. Compared with the traditional method, this method takes into account the circumstances of students, contributing to the students to live in harmony.

Key words: greedy algorithm, dormitory allocation, weights

CLC Number: