Generally, rooms are grouped according to their functions.