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_example.cc
diff --git
a/mtp_example.cc
b/mtp_example.cc
index
0627b81
..
0db6054
100644
(file)
--- a/
mtp_example.cc
+++ b/
mtp_example.cc
@@
-22,8
+22,6
@@
*
*/
*
*/
-// Multi-Tracked Path
-
#include <iostream>
#include <fstream>
#include <iostream>
#include <fstream>
@@
-82,7
+80,7
@@
int main(int argc, char **argv) {
for(int t = 0; t < nb_time_steps; t++) {
for(int l = 0; l < nb_locations; l++) {
for(int t = 0; t < nb_time_steps; t++) {
for(int l = 0; l < nb_locations; l++) {
- tracker->
noisy
_scores[t][l] = noisy_score(-1.0, 1.0, score_noise, flip_noise);
+ tracker->
detection
_scores[t][l] = noisy_score(-1.0, 1.0, score_noise, flip_noise);
}
}
}
}
@@
-114,8
+112,8
@@
int main(int argc, char **argv) {
if(la > nb_locations/2 - 1) la = nb_locations/2 - 1;
if(lb < nb_locations/2 + 1) lb = nb_locations/2 + 1;
if(la > nb_locations/2 - 1) la = nb_locations/2 - 1;
if(lb < nb_locations/2 + 1) lb = nb_locations/2 + 1;
- tracker->
noisy
_scores[t][la] = sa;
- tracker->
noisy
_scores[t][lb] = sb;
+ tracker->
detection
_scores[t][la] = sa;
+ tracker->
detection
_scores[t][lb] = sb;
}
{ // Write down the tracker setting
}
{ // Write down the tracker setting