Marek Kwiatkowski
Marek Kwiatkowski
Define a typeclass that can encompass all football data formats. Then make the implemented formats instances of that. Then make sure that the core N-W relies on the typeclass definition...
Algebraic Dynamic Programming is a thing: * https://link.springer.com/chapter/10.1007/3-540-45719-4_24 * https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4686793/ * https://hackage.haskell.org/package/ADPfusion * https://bibiserv.cebitec.uni-bielefeld.de/adp/welcome.html
_In theory_, the ball must be near the active player during an event, and so penalising the player-ball gap harshly should result in near-perfect alignments.
**Working in `feature/whole-game`**, perform alignment of the two periods simultaneously (using the `par` combinator?)
The RAM requirement of aligning a single period is now ~4GB, which is acceptable, but can almost certainly be reduced further. Perform memory profiling and pick all low-hanging fruit RAM-wise....
Some events come in pairs, and should be aligned to the same frame. For example: paired aerial challenges. Make an exception for fouls committed/free kicks taken?