package tiny_libs

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

Module ZobristSource

Sourcetype t
Sourceval make : pieces:int -> squares:int -> seed:int -> t
Sourceval number : t -> piece:int -> square:int -> int64
Sourceval side : t -> int64
Sourceval of_board : t -> (int * int) list -> int64
Sourcetype bound =
  1. | Exact
  2. | Lower
  3. | Upper
Sourcetype 'move entry = {
  1. value : float;
  2. depth : int;
  3. bound : bound;
  4. best : 'move option;
}
Sourcetype 'move table
Sourceval table : unit -> 'move table
Sourceval find : 'move table -> int64 -> 'move entry option
Sourceval remember : 'move table -> int64 -> 'move entry -> unit
Sourceval size : 'move table -> int
Sourceval hits : 'move table -> int
Sourceval forget : 'move table -> unit