Well personally I'd organize them in an appropriate data structure. An array, most likely.
EDIT: Oops, missed the bit about the rooms being non-linear. Not an array then.
EDIT: Oops, missed the bit about the rooms being non-linear. Not an array then.