I want to modify the Needleman Wunsch algorithm (pseudo-code here:
http://en.wikipedia.org/wiki/Needleman-Wunsch_algorithm) so that it
produces more than the optimal solution.
What I want is the optimal solution, second optimal solution, third
and so on do the chain.
Problem is though I don't know how to do this. Can anyone help
please? Any comments/suggestions/code-sample would be most