Improvement of the Performance of the Alpha-beta Pruning Algorithm
- Author
- CaoSen
- Advisor
- SuGuiBin
- School
- Inner Mongolia Normal
- Major
- Applied Computer Technology
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 57
- Citations
- 0
Abstract
The alpha-beta pruning algorithm is the base of computer game algorithm,it is also an optimized game tree search algorithm, using the alpha-betapruning algorithm searches the game tree, you can cut some unnecessarybranches, thereby improving the search efficiency; while the alpha-betapruning algorithm pruning efficiency in turn depends on the game treebranching order; the ideal order game tree pruning efficiency is much betterthan the worst case. This paper presents the use of machine learningalgorithms to improve the order of the game tree branches, can greatlyimprove the efficiency of the pruning of the alpha-beta pruning algorithm.In the text, the author describes the pruning principle of the alpha-betapruning algorithm and various optimization algorithms that already exist,given the common methods and precautions of the build learning system forthe auxiliary alpha-beta pruning algorithm for pruning. In order to verify thatthe proposed improvement method, the author first designed and implementedtic-tac-toe chess game which based on the alpha-beta pruning algorithm, andthen by the man-machine game to get the training examples used to train thelearning system; Second, the author designed and implemented a BP neuralnetwork, the network consists of14hidden nodes,9output nodes, which cansort the game tree branches according to their best path probability, after atraining sample extracted earlier training, BP neural network can identify50%of the test samples, that is, trained neural network to the current chess gamestate as input to predict the next best move, the correct rate of50%; Finally,the author added the trained BP neural network to the game of tic-tac-toechess, the improved tic-tac-toe chess compared with the original tic-tac-toechess, to the case in the outcome of the game for a draw, the number of nodessearch can reduce about35%proven.After a series of trials and validation, the proposed method really can greatly improve the pruning efficiency of the alpha-beta pruning algorithm.
Table of contents
Chinese abstract 4-5
ABSTRACT 5-9
Chapter 1 Introduction 9-11
1.1 current research 9 the main work and chapters -10
1.2 topics arrangements 10-11
Chapter 2 α-β pruning algorithm and optimization principle 11-27
2.1 α-β pruning algorithm 11-22
2.1.1 Game Theory 11-14
2.1.2 Minimax algorithm 14-18
2.1.3 α-β pruning algorithm 18-22
2.2 has the α-β pruning algorithm optimizations 22-25
2.2.1 programming optimization of 22-23
2.2.2 history inspired 23
2.2.3 killer inspired 23
2.2.4 empty search 23
2.2.5 replacement table method 23-24
2.2.6 iterative deepening 24-25
2.2.7 negscout algorithm 25
2.2.8 other optimization algorithms 25
2.3 as used herein, α-β pruning algorithm optimizations 25-26
2.4 Summary 26-27
Chapter 3 How to use machine learning algorithm for sorting nodes choose 27-30
3.1 training examples of feature items 27
3.2 training sample acquisition 27-28
3.3 model selection 28
3.4 overfitting and less fit 28-29
3.5 Summary achieve 29-30
Chapter 4 for auxiliary α-β pruning algorithm learning system 30-56
4.1 of chess to achieve 30 - 35
4.1.1 status indicates 30
4.1.2 to determine the target state 30-31
4.1.3 static evaluation function 31-32
4.1.4 candidate moves produce 32-35
4.2 training examples selection feature item Get nbsp 35-36
4.3 training examples ; 36-39
4.4 model selection 39-51
4.4.1 BP neuron 39-41
4.4.2 BP network 41 - design and implementation of 44
4.4.3 BP neural network 44-50
4.4.4 analysis 50-51
4.5 combined with neural networks of chess game Design 51-55
4.5.1 network initialization 51
4.5.2 for sorting neural network 51-54
4.5. 3 Results 54-55
4.6 summary 55-56
Chapter 5 summary and Outlook 56-58
5.1 summarizes 56
5.2 Prospects 56-58
References 58-60
Appendix 1 improved generalization function code 60-63 <br / > Appendix 2 BP neural network training code 63-66
Appendix 3 initialization code for auxiliary pruning BP neural network 66-71
Appendix 4 BP neural network combined with the main function code BP neural network weights matrix after 71-74
Appendix 5 Training completed 74-80
Thanks 80
Related dissertations
- The Study on Risk-warning of Intellectual Property Pledge Loan for Commercial Bank
- Security Detection System Based on the Android Paltform
- Research on Synchronization Control for the Phase Center Robot
- A Structural Optimization of Spraying Robot Based on the Deformation Errors Control
- The Trajectory Prediction and Analysis of Rotary Table Tennis
- Parallel Hybrid PVS Algorithm Based on OpenMP and its Application
- Differentially Private Empirical Risk Minimization Algorithm for β-mixing Sequences
- Application and Research of Chinese Chess Computer Game Based on Android System
- Design and Implementation of Chinese Chess Man-machine Gambling System
- Research on Graph-based Semi-supervised Algorithms and Its Applications
- Embedding Machine Learning Algorithm into Weka
- Learning Mechanism Resrearch in Control and Identification Problems
- Research on Spam Filtering Based on Social Network
- Shared Subspace Learning for Multi-view Data Analysis
- Research on Sparse Kernel Regression Modelling Methods
- Design and Implementation of Machine Learning Platform Based on Spark
- Extracting Informative Semantic Contents from Web Pages
- Research on Technology of Encrypted Traffic Identification Based on Traffic Features
- Research on Video Semantic Extraction
- Research on Spam Filtering Technology Based on Social Network