Skip to content

A theory and algorithm for determining the best location in an occupied row of urinals in a public lavatory, maximising privacy and minimising discomfort based on surrounding occupancy.

Notifications You must be signed in to change notification settings

mark-rez/Urinal-Selection-Optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Urinal-Selection-Optimization

This repository presents a theory and algorithm for determining the optimal position in an occupied row of urinals, with the goal of maximising privacy and minimising discomfort. The theory considers factors such as

  1. the proximity of occupied urinals
  2. the number of neighbouring urinals
  3. the relative distance to the centre of the row.

By optimising the spatial arrangement, the approach ensures a comfortable and efficient use of public toilet facilities.

Aspect Complexity
Time Complexity $O(n^2)$ (improvable)
Space Complexity $O(1)$

Statistics

alt text

Observations

  • Options 1 and 7 dominate: These extremes are the most chosen, with around 35% to 40%.
  • The middle options are unpopular: Options 2 to 6 have significantly lower selection rates, all below 10%.
  • The pattern of choices reflects a mirror-like symmetry, with preferences decreasing steadily from the edges (1 and 7) towards the centre (4), which represents the axis of reflection.
  • Due to the symmetry, the percentages vary and are not perfectly symmetrical, as there are ambiguities in the selection in some cases.

About

A theory and algorithm for determining the best location in an occupied row of urinals in a public lavatory, maximising privacy and minimising discomfort based on surrounding occupancy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages