Closed recursion-ninja closed 7 years ago
After the FFI binding is stable, replace recalculating medians and cost with memoized TCM reference in DO code.
On the cost structure with f(i,j) = if i /= j then 1 else 0
the C code imported from POY and the Haskell implementation using the memoized TCM return the same results.
On the cost structure with f(i,j) = max i j - min i j
the C code imported from POY and the Haskell implementation using the memoized TCM return the same costs but not the same medians.
What we need to do:
dynamicCharacterOperations
and other C/C++ fromsequentialAlign
folder to a shared location.Data.TCM.Memoized.FFI
.do-comparison
binary.