0xcuriousapple / LIFT-Scheduling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

LIFT SCHEDULING

A Rule and Destination based Grouping

  • Question 1 - WriteUp

  • Question 2
    1. Source Code
    2. Rule file for Guide 1 (Give priority to the disabled)
    3. Rule file for Guide 2 (Children should not be alone in the same lift as strangers)
    4. Instructions
    5. Design Considerations
    6. Design Decisions
    7. Installation Instructions

    Flow Diagram

    Rules :

    PriorityToDisabled

    1. If disabled people are waiting for a lift, once the lift arrives, they are boarded first.
    2. If disabled people are in the lift, they are served first. (If any passengers destination comes in-between, he is allowed to leave)
    3. If disabled people call a lift, they are responded on priority.

    SafeChildern

    Children only board the lift if a parent is present inside the lift, if not they wait and board solo.

    About


    Languages

    Language:JavaScript 79.0%Language:HCL 21.0%