Skip to content

dmitrysimkin/DSMonteCarloTreeSearch

Repository files navigation

DSMonteCarloTreeSearch Carthage compatible

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

Installation

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 update

Tested with pod --version: 1.5.3

# Podfile
target 'YOUR_TARGET' do
  use_frameworks!
  pod 'DSMonteCarloTreeSearch'
end

Replace YOUR_TARGET_NAME and then, in the Podfile directory, type:

$ pod install

Manually using git submodules

  • Add DSMonteCarloTreeSearch as a submodule
$ git submodule add https://github.com/dmitrysimkin/DSMonteCarloTreeSearch.git
  • Drag DSMonteCarloTreeSearch.xcodeproj into Project Navigator
  • Go to Project > Targets > Build Phases > Link Binary With Libraries, click + and select DSMonteCarloTreeSearch.framework

About

Monter Carlo Tree Search algorithm swift implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published