Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/94555
標題: 基於遺傳程式設計在純函數程式設計規範下進行線性遞迴函數之程式合成
Genetic Programming-based Program Synthesis with the Linear Recursive Function under the Pure Functional Programming Paradigm
作者: 徐梓豪
Tzu-Hao Hsu
指導教授: 于天立
Tian-Li Yu
關鍵字: 程式合成,遺傳程式設計,
Program synthesis,Genetic programming,
出版年 : 2024
學位: 碩士
摘要: 程式合成是一個致力於從高階規範自動生成電腦程式的領域,遺傳程式設計是實現程式合成的一種常用方法。Push遺傳程式設計 (PushGP)合成堆疊語言,被認為是遺傳程式設計中最先進的程式合成器之一。然而,另一類研究趨勢則專注於合成基於語法的語言,因為其具有可讀性和易於維護的優勢。在本論文中,我們提出了循環結構遺傳程式設計(RSGP),一個生成純函數式程式的新型語法基程式合成器。RSGP定義了一個線性遞迴函數來模擬單層迴圈行為。此外,RSGP使用皮爾森相關係數當作fitness,並利用最小冗餘最大相關性來促進問題分解。實驗結果顯示,RSGP在CountOdds和LastIndexofZero(來自PSB1)、Luhn(來自PSB2)以及4個自行設計問題中的3個問題上成功次數上超越了PushGP、CBGP和HOTGP。此外,實驗結果亦表明,使用皮爾森相關係數和最小冗餘最大相關性特徵選擇雖然能夠鼓勵適當的問題分解,但是代價是降低了在相似鄰域內的搜索能力,因此RSGP利用一種適應機制調整最大相關性特徵選擇的參數來平衡這一取捨,以自動適應不同問題的需求。
Program synthesis (PS) focuses on the automatic generation of computer programs based on high-level specifications, with genetic programming (GP) being a commonly-used method to accomplish this task. PushGP, which operates on a stack-based language, is recognized as a state-of-the-art program synthesizer within the field of GP. Conversely, another area of research emphasizes grammar-based languages for their readability and ease of maintenance. In this thesis, we propose repetitive structure genetic programming (RSGP), a novel grammar-based program synthesizer under the pure functional programming paradigm. RSGP defines a linear recursive function to emulate the behavior of a single-layer loop. Moreover, RSGP uses the Pearson correlation coefficient (PCC) in the fitness and leverages the minimum redundancy maximum relevance (mRMR) feature selection technique to enhance problem decomposition. The experiment results indicate that RSGP outperforms PushGP, CBGP, and HOTGP in terms of the number of successful programs on CountOdds and LastIndexofZero from PSB1, Luhn from PSB2, and 3 out of 4 designed problems. Furthermore, the experiment results also show that employing PCC and mRMR encourages proper problem decomposition, though it comes at the cost of diminishing the search ability within a similar neighborhood. RSGP incorporates an adaptation mechanism to balance this trade-off, automatically adjusting a parameter in the mRMR selection to meet the needs of different problems.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/94555
DOI: 10.6342/NTU202402589
全文授權: 同意授權(限校園內公開)
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-112-2.pdf
授權僅限NTU校內IP使用(校園外請利用VPN校外連線服務)
1.14 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved