-
Notifications
You must be signed in to change notification settings - Fork 183
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
How to get route time? #136
Comments
1.) The parameter time represents the time cost (travel time) for the route. This is usually not calculated and stored by default but after it's calculated once it is buffered in that variable, see: barefoot/src/main/java/com/bmwcarit/barefoot/roadmap/Route.java Lines 100 to 107 in 1faaea4
2.) The size of the sequence in the k-state depends on your policy for matching samples. That means, if samples are temporal out-of-order or you configured a minimal distance or minimum time interval, it will omit samples to improve robustness such that the sequence is not the same size as your sample set, see parameters minDistance and minInterval here:barefoot/src/main/java/com/bmwcarit/barefoot/matcher/Matcher.java Lines 353 to 366 in 1faaea4
|
Hello!Why the function time() returns NULL in class Route when I run the MatcherExample .offline() ?
I check the function toDebugJSON() to solve the above problem.
I found that you use "for" to get samples' time,but
why the size of samples() is not equal to sequence() sometimes?
Then how to get time in object route?
The text was updated successfully, but these errors were encountered: