X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mtp_tracker.h;h=0a0c5d76840a94403e5fc1226a89e62c77255273;hb=fbdfcc88d59dac3ea8ee473f98dd95fc47655eb3;hp=e4124825c2b5f9d0f514c9b46caee15391c978d3;hpb=32139a0f7307a4a4b209e43d44abbed6cdc00c89;p=mtp.git diff --git a/mtp_tracker.h b/mtp_tracker.h index e412482..0a0c5d7 100644 --- a/mtp_tracker.h +++ b/mtp_tracker.h @@ -34,6 +34,12 @@ using namespace std; class MTPTracker { MTPGraph *_graph; + + // The edges will be order as follow: First the nb_locations * + // nb_time_steps inside the node pairs, which will have lengths + // equal to the opposite of the detection scores, then the ones + // between node pairs, and finally the ones from source and to + // sink. scalar_t *_edge_lengths; int early_pair_node(int t, int l);