package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module MctsSource

Sourcetype 'move result = {
  1. best : 'move option;
  2. tried : ('move * int * float) list;
  3. playouts : int;
  4. nodes : int;
}
Sourcetype ('state, 'move) thinking
Sourceval start : ?exploration:float -> ?seed:int -> ?playout:(Lehmer.state -> ('state, 'move) Minimax.game -> 'state -> 'state) -> ?prior:('state -> ('move * float) list) -> ?evaluate:('state -> float) -> ('state, 'move) Minimax.game -> 'state -> ('state, 'move) thinking
Sourceval think : playouts:int -> ('state, 'move) thinking -> ('state, 'move) thinking
Sourceval plan : ('state, 'move) thinking -> 'move result