projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved the writing of the tracker.dat to main().
[mtp.git]
/
mtp_tracker.cc
diff --git
a/mtp_tracker.cc
b/mtp_tracker.cc
index
02541a6
..
8cc4517
100644
(file)
--- a/
mtp_tracker.cc
+++ b/
mtp_tracker.cc
@@
-108,7
+108,7
@@
void MTPTracker::write(ostream *os) {
}
void MTPTracker::read(istream *is) {
}
void MTPTracker::read(istream *is) {
- int l
, t
;
+ int l
= 0, t = 0
;
(*is) >> l >> t;
(*is) >> l >> t;
@@
-168,12
+168,7
@@
MTPTracker::MTPTracker() {
}
MTPTracker::~MTPTracker() {
}
MTPTracker::~MTPTracker() {
- delete[] _edge_lengths;
- delete _graph;
- deallocate_array<scalar_t>(detection_scores);
- deallocate_array<int>(allowed_motions);
- deallocate_array<int>(entrances);
- deallocate_array<int>(exits);
+ free();
}
int MTPTracker::early_pair_node(int t, int l) {
}
int MTPTracker::early_pair_node(int t, int l) {