Related Experiment Video
Updated: Aug 13, 2026

Operant Procedures for Assessing Behavioral Flexibility in Rats
Published on: February 15, 2015
Sorting by restricted-length-weighted reversals
Thach Cam Nguyen1, Hieu Trung Ngo, Nguyen Bao Nguyen
1Department of Mathematics, National University of Singapore. matnct@nus.edu.sg
Abstract:
Classical sorting by reversals uses the unit-cost model, that is, each reversal consumes an equal cost. This model limits the biological meaning of sorting by reversal. Bender and his colleagues extended it by assigning a cost function f(l) = l(alpha) for all alpha > or =0, where l is the length of the reversed subsequence. In this paper, we extend their results by considering a model in which long reversals are prohibited. Using the same cost function above for permitted reversals, we present tight or nearly tight bounds for the worst-case cost of sorting by reversals. Then we develop algorithms to approximate the optimal cost to sort a given 0/1 sequence as well as a given permutation. Our proposed problems are more biologically meaningful and more algorithmically general and challenging than the problem considered by Bender et al. Furthermore, our bounds are tight and nearly tight, whereas our algorithms provide good approximation ratios compared to the optimal cost to sort 0/1 sequences or permutations by reversals.
Related Concept Videos
Wilcoxon Signed-Ranks Test for Matched Pairs
Rationalizing Substitutions
Serial Position Effect
Sign Test for Matched Pairs
To conduct the sign test, we first calculate the differences in value between...

