funkelab / motile

Multi-Object Tracker using Integer Linear Equations
https://funkelab.github.io/motile/
MIT License
22 stars 4 forks source link

Adapt obtaining selected subgraph #94

Closed lmanan closed 2 months ago

lmanan commented 2 months ago

Minor change to existing code.

Select nodes and edges for which the value of the [node/edge] selected indicator variable > 0.5, instead of checking for them being equal to 1, since the latter can skip nodes and edges for which the value of the indicator variable is 1.0000002 etc.

Referred here.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.71%. Comparing base (5415cd4) to head (06608fe).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #94 +/- ## ======================================= Coverage 93.71% 93.71% ======================================= Files 33 33 Lines 812 812 ======================================= Hits 761 761 Misses 51 51 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.