projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[mtp.git]
/
tracker.cc
diff --git
a/tracker.cc
b/tracker.cc
index
ad68c28
..
37fbfe2
100644
(file)
--- a/
tracker.cc
+++ b/
tracker.cc
@@
-191,6
+191,10
@@
int Tracker::nb_trajectories() {
return _graph->nb_paths;
}
return _graph->nb_paths;
}
+int Tracker::trajectory_entrance_time(int k) {
+ return (_graph->paths[k]->nodes[1] - 1) / (2 * _nb_locations);
+}
+
int Tracker::trajectory_duration(int k) {
return (_graph->paths[k]->length - 2) / 2;
}
int Tracker::trajectory_duration(int k) {
return (_graph->paths[k]->length - 2) / 2;
}