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]
/
mtp.cc
diff --git
a/mtp.cc
b/mtp.cc
index
e330ce3
..
044fefa
100644
(file)
--- a/
mtp.cc
+++ b/
mtp.cc
@@
-49,8
+49,8
@@
void find_best_paths(int nb_vertices,
//////////////////////////////////////////////////////////////////////
int main(int argc, char **argv) {
//////////////////////////////////////////////////////////////////////
int main(int argc, char **argv) {
- int nb_locations =
4
;
- int nb_time_steps =
3
;
+ int nb_locations =
6
;
+ int nb_time_steps =
5
;
{
Tracker tracker(nb_time_steps, nb_locations);
{
Tracker tracker(nb_time_steps, nb_locations);
@@
-64,10
+64,10
@@
int main(int argc, char **argv) {
for(int t = 0; t < nb_time_steps; t++) {
for(int l = 0; l < nb_locations; l++) {
tracker.set_detection_score(t, l,
for(int t = 0; t < nb_time_steps; t++) {
for(int l = 0; l < nb_locations; l++) {
tracker.set_detection_score(t, l,
- (drand48() < 0.9
5
? -1.0 : 1.0) + drand48() * 0.1 - 0.05);
+ (drand48() < 0.9 ? -1.0 : 1.0) + drand48() * 0.1 - 0.05);
}
tracker.set_detection_score(t, 0,
}
tracker.set_detection_score(t, 0,
- (drand48() < 0.9
5
? 1.0 : -1.0) + drand48() * 0.1 - 0.05);
+ (drand48() < 0.9 ? 1.0 : -1.0) + drand48() * 0.1 - 0.05);
}
tracker.build_graph();
}
tracker.build_graph();