}
void MTPTracker::read(istream *is) {
- int l, t;
+ int l = 0, t = 0;
(*is) >> l >> t;
}
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) {