Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f(i) = max(
- // Karen after John
- kr(i) + jl(i - K),
- // Karen before John
- kl(i) + jr(i + K)
- )
- where kr is the best K-length
- window from the right;
- kl is the best K-length
- window from the left;
- similarly for jl, jr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement