研究生: |
鄭延琮 Cheng, Yen-Tsung |
---|---|
論文名稱: |
An Integer Representation Problem with Application to Postage Stamp Problem 一個可應用於連續郵資問題的整數表示問題 |
指導教授: |
李端興
Lee, Duan-Shin |
口試委員: | |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 資訊工程學系 Computer Science |
論文出版年: | 2009 |
畢業學年度: | 97 |
語文別: | 英文 |
論文頁數: | 83 |
中文關鍵詞: | 連續整數 、演算法 |
外文關鍵詞: | integer representation |
相關次數: | 點閱:53 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
Postage stamp problem is a famous, classic, and old problem which appears on
many books related to algorithm and programming skill . Here is its' description:
There are N kinds of stamps whose value to be printed on them is still unknown;
the space on each envelope is limited, and there are only k stamps can be attached on
it. How to print the value on each kind of stamps to allow the widest choice of value
to be made up from $1?
Note that Postage stamp problem can be viewed as a maximum consecutive in-
teger representation problem. Except for brute force algorithm, there is no explicit
algorithm to solve Postage stamp problem so far. However, if we specify the or-
der of choosing stamps to be attached when we want to make up some value on
the envelope, this problem can be solve by a greedy algorithm whose complexity is
O((N + k)minfN;kg). We then proof it can actually nd the optimal solution. Besides
Postage stamp problem, this greedy algorithm also have some other applications in-
cluding building optical queues, node symmetric chordal ring
連續郵資問題是一個在許多介紹演算法與程式技巧中常出現有
名、經典、古老的問題。問題的敘述如下:
有N 種郵票,面額還尚待確定。又因為信封上的空位有限,每封
信封上只能貼最多k 張郵票,那麼如何去選定這N 張郵票的面額,使
得我們能夠在信封上從1 塊錢開始連續貼出來的金額能夠最大?
連續郵資問題可以被視為一個最大連續整數表現問題。目前除了
暴力演算法(brute force algorithm)並無明確的演算法可以解決該問題。
然而如果限定郵票被選取的順序,我們在這裡將會介紹一種時間複雜
度為O((M+k)min{M, k})的貪婪演算法(greedy algorithm)間以解決郵票問題。
我們也將會證明該演算法的正確性,並且說明一些其他的應用:如建
造某些光佇列(optical queue)、點對稱弦環(node symmetric chordal
ring)。
[1] W. Lunnon, \A postage stamp problem," in Comput. J., vol. 12, pp. 377{380,
1969.
[2] S. R. Ellis Horowitz, Sartaj Sahni in Computer algorithms, vol. 12, 2008.
[3] C.-C. Chou, C.-S. Chang, D.-S. Lee, and J. Cheng, \A necessary and sucient
condition for the construction of 2-to-1 optical fo multiplexers by a single cross-
bar switch and ber delay lines," Information Theory, IEEE Transactions on,
vol. 52, pp. 4519{4531, Oct. 2006.
[4] J. Cheng, \Constructions of fault tolerant optical 2-to-1 fo multiplexers,"
vol. 53, November 2007.
[5] J. Cheng, C.-S. Chang, T.-H. Chao, D.-S. Lee, and C.-M. Lien, \On constructions
of optical queues with a limited number of recirculations," in INFOCOM 2008.
The 27th Conference on Computer Communications. IEEE, pp. 664{672, April
2008.
[6] X. Wang, X. Jiang, and S. Horiguchi, \Maintaining packet order in reservation-
based shared-memory optical packet switch," in Advanced Information Net-
working and Applications, 2008. AINA 2008. 22nd International Conference on,
pp. 912{917, March 2008.
[7] C.-L. Lu, I. Sabido, D.J.M., P. Poggiolini, R. Hofmeister, and L. Kazovsky,
\Cord-a wdma optical network: subcarrier-based signaling and control scheme,"
Photonics Technology Letters, IEEE, vol. 7, pp. 555{557, May 1995.
[8] I. Chlamtac, A. Fumagalli, and C.-J. Suh, \Multibuer delay line architectures
for ecient contention resolution in optical switching nodes," Communications,
IEEE Transactions on, vol. 48, pp. 2089{2098, Dec 2000.
[9] J. T. Tsai, \Cod: architectures for high speed time-based multiplexers and
buered packet switches," Ph.D. Dissertation, University of California,San
Diego, La Jolla, CA, USA, 1995.
[10] R. Cruz and J.-T. Tsai, \Cod: alternative architectures for high speed packet
switching," Networking, IEEE/ACM Transactions on, vol. 4, pp. 11{21, Feb
1996.
[11] D. Hunter, D. Cotter, R. Ahmad, W. Cornwell, T. Gilfedder, P. Legg, and I. An-
donovic, \22 buered switch fabrics for trac routing, merging, and shaping in
photonic cell networks," Lightwave Technology, Journal of, vol. 15, pp. 86{101,
Jan 1997.
[12] D. Hunter, W. Cornwell, T. Gilfedder, A. Franzen, and I. Andonovic, \Slob: a
switch with large optical buers for packet switching," Lightwave Technology,
Journal of, vol. 16, pp. 1725{1736, Oct 1998.
[13] E. Varvarigos, \The packing and the scheduling packet switch architectures for
almost all-optical lossless networks," Lightwave Technology, Journal of, vol. 16,
pp. 1757{1767, Oct 1998.
[14] D. Hunter and I. Andonovic, \Approaches to optical internet packet switching,"
Communications Magazine, IEEE, vol. 38, pp. 116{122, Sep 2000.
[15] S. Yao, B. Mukherjee, and S. Dixit, \Advances in photonic packet switching: an
overview," Communications Magazine, IEEE, vol. 38, pp. 84{94, Feb 2000.
[16] C. S. Chang, D. S. Lee, and C. K. Tu, \Recursive construction of fo optical
multiplexers with switched delay lines," Information Theory, IEEE Transactions
on, vol. 50, pp. 3221{3233, Dec. 2004.
[17] C. S. Chang, D. S. Lee, and C. K. Tu, \Using switched delay lines for exact
emulation of fo multiplexers with variable length bursts," Selected Areas in
Communications, IEEE Journal on, vol. 24, no. 4, pp. 108{117, 2006.
[18] Y.-T. Chen, C.-S. Chang, J. Cheng, D.-S. Lee, and C.-C. Huang, \Feedfor-
ward sdl constructions of output-buered multiplexers and switches with vari-
able length bursts," in INFOCOM 2007. 26th IEEE International Conference on
Computer Communications. IEEE, pp. 679{687, May 2007.
[19] J. Cheng, \Constructions of optical 2-to-1 fo multiplexers with a limited number
of recirculations," Information Theory, IEEE Transactions on, vol. 54, pp. 4040{
4052, Sept. 2008.
[20] C.-S. Chang, Y.-T. Chen, and D.-S. Lee, \Constructions of optical fo queues,"
Information Theory, IEEE Transactions on, vol. 52, pp. 2838{2843, June 2006.
[21] A. Bouillard and C.-S. Chang, \An explicit control algorithm for optical fo
queues,"
[22] P.-K. Huang, C.-S. Chang, J. Cheng, and D.-S. Lee, \Recursive constructions
of parallel fo and lifo queues with switched delay lines," Information Theory,
IEEE Transactions on, vol. 53, pp. 1778{1798, May 2007.
[23] P.-K. Huang, C.-S. Chang, J. Cheng, and D.-S. Lee, \Exact emulation of a
priority queue with a switch and delay lines," Queueing Systems: Theory and
Applications, vol. 53, pp. 115{125, July 2006.
[24] J. C. H.-C. Chiu, C.-S. Chang and D.-S. Lee, \A simple proof for the construc-
tions of optical priority queues," Queueing Systems: Theory and Applications,
vol. 56, June 2007.
[25] H.-C. Chiu, C.-S. Chang, J. Cheng, and D.-S. Lee, \Using a single switch with
o(m) inputs/outputs for the construction of an optical priority queue with o(m)
buer," in INFOCOM 2007. 26th IEEE International Conference on Computer
Communications. IEEE, pp. 2501{2505, May 2007.
[26] C.-S. Chang, Y.-T. Chen, J. Cheng, and D.-S. Lee, \Multistage constructions of
linear compressors, non-overtaking delay lines, and
exible delay lines," in INFO-
COM 2006. 25th IEEE International Conference on Computer Communications.
Proceedings, pp. 1{11, April 2006.
[27] C.-S. Chang, T.-H. Chao, J. Cheng, and D.-S. Lee, \Constructions of fault tol-
erant linear compressors and linear decompressors," in INFOCOM 2007. 26th
IEEE International Conference on Computer Communications. IEEE, pp. 688{
696, May 2007.
[28] S.-Y. R. Li and X. J. Tan, \Fast control over ber memory," in Information
Theory, 2007. ISIT 2007. IEEE International Symposium on, pp. 2411{2415,
June 2007.
[29] E. Burmeister and J. Bowers, \Integrated gate matrix switch for optical packet
buering," Photonics Technology Letters, IEEE, vol. 18, pp. 103{105, 1, 2006.
[30] C. P. Larsen and M. Gustavsson, \Linear crosstalk in 4 x 4 semiconductor optical
amplier gate switch matrix," IEEE Journal of Lightwave Technology, vol. 15,
pp. 1865{1870, October 1997.
[31] C. P. Larsen and M. Gustavsson, \Multiple recirculations through crosspoint
switch fabric for recirculating optical buering," Electronics Letters, vol. 41,
pp. 1136{1137, September 2005.
[32] S. AKERS and B. KRISHNAMURTHY, \A group theoretic model for symmetric
interconnection networks," in Proc. 1986 Int.Cod. Parallel Processine, pp. 216{
223, April 1986.
[33] B. Arden and H. Lee, \Analysis of chordal ring network," Computers, IEEE
Transactions on, vol. C-30, pp. 291{295, April 1981.
[34] Y. Chen, H. Shen, and H. Zhang, \Embedding hypercube communications on
optical chordal ring networks," in Local Computer Networks, Proceedings 2006
31st IEEE Conference on, pp. 437{442, Nov. 2006.
[35] A. Zabludowski, B. Dubalski, S. Bujnowski, and T. Riaz, \Transport layers for
backbone and access ip networks," in ELMAR, 2008. 50th International Sympo-
sium, vol. 2, pp. 589{592, Sept. 2008.
[36] Y. Chen and H. Shen, \Rwa of hypercube communications embedded on a family
of optical double-loop networks," in Networks, 2007. ICON 2007. 15th IEEE
International Conference on, pp. 149{154, Nov. 2007.
[37] P. Wolkotte, G. Smit, and J. Becker, \Energy ecient noc for best eort com-
munication," in Field Programmable Logic and Applications, 2005. International
Conference on, pp. 197{202, Aug. 2005.
[38] J. Rodrigues, M. Freire, and P. Lorenz, \One-way resource reservation protocols
for ip over optical burst switched mesh networks," in Systems Communications,
2005. Proceedings, pp. 229{234, Aug. 2005.
[39] J. Rodrigues, M. Freire, and P. Lorenz, \Performance implications of con-
trol packet processing and optical switch conguration times for optical burst
switched mesh networks with degree-four topologies," in Computer Networks,
2006 International Symposium on, pp. 167{172, 0-0 2006.
[40] J. Rodrigues and M. Freire, \Performance assessment of enhanced just-in-time
protocol in obs networks taking into account control packet processing and op-
tical switch conguration times," in Advanced Information Networking and Ap-
plications - Workshops, 2008. AINAW 2008. 22nd International Conference on,
pp. 434{439, March 2008.
[41] K. Doty, \New designs for dense processor interconnection networks," Comput-
ers, IEEE Transactions on, vol. C-33, pp. 447{450, May 1984.
[42] L. Huisman and S. Kundu, \Highly reliable symmetric networks," Parallel and
Distributed Systems, IEEE Transactions on, vol. 5, pp. 94{97, Jan 1994.
[43] T. Kitani, N. Funabiki, and T. Higashino, \A proposal of hierarchical chordal
ring network topology for wdm networks," in Networks, 2004. (ICON 2004).
Proceedings. 12th IEEE International Conference on, vol. 2, pp. 605{609 vol.2,
Nov. 2004.