Skip to content

Structure of the final schedule? #11

@krashish8

Description

@krashish8

Currently, the schedule on a calendar looks like this:
image

It has 2 vehicles with ID 325741509659767145 and 5052215502167391764. Haven't added any location info yet (it is TODO)

Schedule description is like this:
image

Questions

  • What shall be the title of a schedule? - Currently, it is <Type> - VehicleID
  • Separate schedule for each vehicle, or a single schedule containing all vehicles? - Currently, it shows a single schedule.
    • Or maybe one API endpoint for complete schedules and another endpoint for a separate schedule of each vehicle.
  • How shall the final structure look like?
    • Method 1 (better):
      • Start and End schedule can be of 0 duration (as a reminder): [StartTime, StartTime]
      • Job/Pickup/Delivery/Break can be from [StartTime, StartTime + WaitingTime + ServiceTime]
      • Any empty slot between these schedules can denote the travel of the vehicle.
      • Easy to denote the location on the calendar because every job/pickup/delivery/break has a single location.
    • Method 2:
      • Similar to what is shown currently - duration is from [StartTime, NextTaskStartTime - 1], keeping the entire calendar occupied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions