package tiny_libs

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

Module PredictionSource

Sourcetype 'model t
Sourceval create : me:int -> players:int -> update:(string array -> 'model -> 'model) -> 'model -> 'model t
Sourceval step : 'model t -> seq:int -> string -> unit
Sourceval correct : 'model t -> world:'model -> acked:int -> latest:string array -> unit
Sourceval model : 'model t -> 'model
Sourceval mispredictions : 'model t -> int