Hotel room occupancy

Job ID: 32056334

Budget: $30 – $250 USD

I am looking for an algorithm to be created/developed for a PHP application that manage and control the room occupancy based on some rules and conditions. That rules for example the maximum number of persons per room based on the room type, the age of the guests related to the room type and capacity, age condition is important.
We are not looking or If/Else but real algorithm using PHP OOP - Classes, Partition algorithm in data mining that pass to function.
Please if you have not done that before or will still need time to think about how that can be done, do not submit a proposal as we do not have the time and it is urgent to be done ASAP.
Thank you
Related categories: PHP JavaScript AJAX Software Architecture MySQL