Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETA (Estimated Time of Arrival) calculation. #518

Open
umitkose opened this issue Apr 10, 2021 · 1 comment
Open

ETA (Estimated Time of Arrival) calculation. #518

umitkose opened this issue Apr 10, 2021 · 1 comment

Comments

@umitkose
Copy link

I am trying to calculate ETA for a list of delivery jobs.
After getting a solution by following the path Solution > Route> TourActivity we can access getArrTime and getEndTime methods.
Can we calculate the ETA of a delivery by startTime + getArrTime? I tried this formula but I guess getArrTime only respects to service durations assinged to delivery job.

If someone confirm my formula I will search my implementation to where I made a mistake.

Thanks in advance.

@bludginozzie
Copy link

Yes, I think your formula is correct. In essence the TourActivity.getArrTime() can be considered an ETA for an activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants