TY - JOUR
T1 - A short cut to optimal sequences
AU - Morihata, Akimasa
PY - 2011/1
Y1 - 2011/1
N2 - We propose a method of developing efficient programs for finding the optimal sequence, such as the maximum valued one among those that are acceptable. We introduce a method of deriving efficient algorithms from naive enumerate-and-choose-style ones. Our method is based on shortcut fusion, which is a program transformation for eliminating intermediate data structures passed between functions, and a set of auxiliary transformations. As an implementation of our method, we introduce a library for finding optimal sequences. The library consists of proposed transformations, together with functions useful to describe desirable sequences, so that naive enumerate-and-choose-style programs will be automatically improved.
AB - We propose a method of developing efficient programs for finding the optimal sequence, such as the maximum valued one among those that are acceptable. We introduce a method of deriving efficient algorithms from naive enumerate-and-choose-style ones. Our method is based on shortcut fusion, which is a program transformation for eliminating intermediate data structures passed between functions, and a set of auxiliary transformations. As an implementation of our method, we introduce a library for finding optimal sequences. The library consists of proposed transformations, together with functions useful to describe desirable sequences, so that naive enumerate-and-choose-style programs will be automatically improved.
KW - Dynamic Programming
KW - Functional Programming
KW - Program Transformation
KW - Shortcut Fusion
UR - http://www.scopus.com/inward/record.url?scp=79953019957&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=79953019957&partnerID=8YFLogxK
U2 - 10.1007/s00354-010-0098-4
DO - 10.1007/s00354-010-0098-4
M3 - Article
AN - SCOPUS:79953019957
SN - 0288-3635
VL - 29
SP - 31
EP - 59
JO - New Generation Computing
JF - New Generation Computing
IS - 1
ER -