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