An approach to identifying basic types of housing floor plans