debrief / mda

Working location for development of Debrief Manoeuvre Detection Algorithms
Eclipse Public License 1.0
0 stars 0 forks source link

Create VBA list where we can insert entries whilst looping through #18

Closed IanMayo closed 7 years ago

IanMayo commented 7 years ago

In our processing we loop through a set of candidate legs.

But, on occasion we replace a leg with two child legs.

We need some kind of method of handling this, since the list will be affected by the change.

Get on it, Ian

IanMayo commented 7 years ago

Ok, we didn't do it via a dedicated list. We did it as follows:

So, when we replace the current leg with two others, we drop out of the current set of looping and re-start. We restart at the first newly inserted leg: https://github.com/debrief/mda/commit/f07beca664752948bbffc76bf670dcafab54ba52#diff-32b71f26c4af94b974a9562a46c6ffebR206