In [1], Murata et al introduced an elegant representation of block placement called sequence pair. All block placement algorithms which are based on sequence pairs use simulated annealing where the generation and evaluation of a large number of sequence pairs is required. Therefore, a fast algorithm is needed to evaluate each generated sequence pair, i.e. to translate the sequence pair to its corresponding block placement. This paper presents a new approach to evaluate a sequence pair based on computing longest common subsequence in a pair of weighted sequences. We present a very simple and efficient Ç´Ò¾µ algorithm to solve the sequence pair evaluation problem. We also show that using a more sophisticated data structure, the algorithm can be implemented to run in Ç´ÒÐÓ Òµ time. Both implementations of our algorithm are significantly faster than the previous Ç´Ò¾µ graph-based algorithm in [1]. For example, we achieve 60X speedup over the previous algorithm when inpu...
Xiaoping Tang, D. F. Wong, Ruiqi Tian