Georepublic / pg_scheduleserv

RESTful API Server for scheduling VRP tasks using vrpRouting and VROOM, written in Go. Demo Application
GNU Affero General Public License v3.0
8 stars 0 forks source link

Structure of the final schedule? #11

Open krashish8 opened 2 years ago

krashish8 commented 2 years ago

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

dkastl commented 2 years ago

I think iCal documents become better when they also include some context that the VRP algorithm alone doesn't provide. The additional context could be added through the optional data field, but it's unknown how this data will look like.

How about some kind of iCal "template" support, which will be filled with the scheduler result, enriched with the optional data.

dkastl commented 2 years ago

To add some more questions, schedules can have different perspectives, for example:

krashish8 commented 2 years ago

Does "template" mean that a user will provide the template of how an ical file should look?

I think how to use the optional data field is the main question, otherwise, we can adjust the ical contents according to how we want.

dkastl commented 2 years ago

Yes, a template provided by the user. Not sure how to do this, but in this case the iCal file would be filled the way a user needs it, and custom data can be taken from the data field.

Thinking about this, if we allow users to fill a template document, it could be also something else than iCal, for example an electronic ticket format or a PDF with the schedule.