Monter Carlo Tree Search algorithm swift implementation.
Features:
- Domain independant
- Search can be limited by time frame, number of iterations or can be stopped manually
- Previous search tree can be reused for next searches
- You can configure the select node policy depending on your needs
Framework doesn't contain any external dependencies.
These are currently the supported options:
Tested with carthage version: 0.30.1
Add this to Cartfile
github "dmitrysimkin/DSMonteCarloTreeSearch"
$ carthage updateTested with pod --version: 1.5.3
# Podfile
target 'YOUR_TARGET' do
use_frameworks!
pod 'DSMonteCarloTreeSearch'
endReplace YOUR_TARGET_NAME and then, in the Podfile directory, type:
$ pod install- Add DSMonteCarloTreeSearch as a submodule
$ git submodule add https://github.com/dmitrysimkin/DSMonteCarloTreeSearch.git- Drag
DSMonteCarloTreeSearch.xcodeprojinto Project Navigator - Go to
Project > Targets > Build Phases > Link Binary With Libraries, click+and selectDSMonteCarloTreeSearch.framework