Conversation
Codecov Report
@@ Coverage Diff @@
## main #34 +/- ##
==========================================
+ Coverage 92.47% 92.80% +0.32%
==========================================
Files 30 32 +2
Lines 718 764 +46
==========================================
+ Hits 664 709 +45
- Misses 54 55 +1
|
|
@funkey I am wondering what would be a nice way to generalize the |
|
I think you could introduce an integer variable for each edge that counts the number of edges since appear (a constraint needs to ensure that each edge's length integer has to be one more than the incoming one). Then you can add a constraint that only allows for disappear events to happen if the integer is greater equal a threshold. That should do it. |
92dded9 to
f38bf9d
Compare
f125d21 to
f1d157f
Compare
Adds two modular constraints necessary for a network flow formulation, useful for example for single particle tracking: - Symmetry: # incoming edges = # outgoing edges - Minimum track length: Each starting track needs to contain at least the given number of edges. Currently only implemented for length 1, i.e. each node with a set appear indicator needs to have at least one outgoing edge. Each constraint includes a functional test.
f1d157f to
53553f4
Compare
Adds two modular constraints necessary for a network flow formulation, useful for example for single particle tracking:
Each constraint includes a functional test.