Develop Javascript Algorithm for Scheduling System

  • Статус: Closed
  • Награды: $150
  • Полученные заявки: 11
  • Победитель: yuriiherula

Краткое описание конкурса

Setup an algorithm to determine optimal appointment times.
I attached a very simple example of data you may receive

Here is the input you will have.

Appointments (Array of objects containing time and location of an appointment)
WorkingArea (Array of zipcodes, this tells you the entire region this user works in)
MaximumDistanceBetweenAppointments (Number of miles the user is willing to travel for an appointment. must be inside WorkingArea)
MinimumBufferTime (Number, minimum number of mininutes between ETA and start time of next appointment)
NewAppointmentZipcode(Number, the zipcode where a user is requesting a meeting)
UrgencyLevel (Scale of 0-4. 0 being get this person is asap and 4 being get the person in within 2 weeks)
LengthOfAppointment(Number of minutes)

UrgencyLevel will be used so that if we have an inconvenient appointment the same day but a convenient appointment in 1 day with an UrgencyLevel of 1 then we will not display the inconvenient one to the user. If the user had an UrgencyLevel of 0, as long as all requirements are met we will display the appointment

The overall goal is that with all this information we will call some function telling it the 'NewAppointmentZipcode' and using other appointments, the distance between the current appointment im working on and this new zipcode, the minimum factors I have in place and it will return all available appointments.

We need to make sure the following are accounted for

how far am I from the next appointment (use google maps api?)

how long will I be at the current appointment and how long will it take to get to the next

How do I try to favor 1 location throughout the course of a day without minimizing business. I want to try to group appointments tightly together but I dont want to force that to make someone not have availability if we have a higher urgency level.

Ensure the appointment is being scheduled within a working area

Ensure we remain within the max distance between appointments

Рекомендуемые навыки

Лучшие работы этого конкурса

Показать больше конкурсных работ

Панель общих вопросов

  • hironaga
    hironaga
    • 2 месяцев назад

    It is a very interesting problem. However, I have a question regarding the provided JSON format. Is 'urgencyLevel' and 'lengthOfAppointment' not given for each available appointment? At the beginning of the description, you mentioned that the level of urgency is from 0 to 4 and the length of the appointment should be considered, but I could not find these parameters for each appointment in the JSON format. This means that there is no other parameter to compare besides the appointment's date and zipcode. Pls confirm.

    • 2 месяцев назад
  • RSKushwah01
    RSKushwah01
    • 2 месяцев назад

    i have complete with the but i require a google map api key can anyone help me please

    • 2 месяцев назад
  • farhankha4548
    farhankha4548
    • 2 месяцев назад

    Kindly answer me

    • 2 месяцев назад
  • farhankha4548
    farhankha4548
    • 2 месяцев назад

    Implementation of OS Scheduling Algorithms using webpages.?

    • 2 месяцев назад
  • Debian15
    Debian15
    • 2 месяцев назад

    Hello, I have checked your project in detail. Almost clear about your requirement. I have one question. Location for the next appointment is not given ? Thank you.

    • 2 месяцев назад
    1. signal5687
      Организатор конкурса
      • 2 месяцев назад

      Yes its the NewLocationZipcode you'll use for comparison

      • 2 месяцев назад

Показать больше комментариев

Как организовать конкурс

  • Опубликуйте свой конкурс

    Опубликуйте ваш конкурс Быстро и легко

  • Получите массу заявок

    Получите массу заявок Со всего мира

  • Присудите приз лучшей заявке

    Присудите приз лучшей заявке Загрузите файлы – это просто!

Опубликуйте конкурс или присоединяйтесь к нам прямо сегодня!