package bap-primus-wandering-scheduler

  1. Overview
  2. Docs
Evaluates all machines while

Install

Dune Dependency

Authors

Maintainers

Sources

v2.5.0.tar.gz
sha256=9c126781385d2fa9b8edab22e62b25c70bf2f99f6ec78abb7e5e36d63cfa4174
md5=5abd9b3628b43f797326034f31ca574f

doc/bap-plugin-primus_wandering/Primus_wandering_main/Make/index.html

Module Primus_wandering_main.MakeSource

Parameters

module Random : sig ... end

Signature

Sourcemodule Generate : sig ... end
Sourceval attempts : int

a number of attempts to pick a live state before the next draw.

Sourcetype 'a m = 'a Machine.t
Sourceval reschedule : int -> t -> t Machine.t

reschedule n s performs n attempts to choose a live clone, from the contestants. If nothing was chosen, then draws a new party of contestants and starts again.

The algorithm is guaranteed to terminate since it is guaranteed that there is at least one live state, called the global state.

Note, a winner - the clone that was chosen, is removed from the draw.

Sourceval schedule : t -> t Machine.t
Sourceval step : 'a -> unit Machine.t
Sourceval init : unit -> unit Machine.t
OCaml

Innovation. Community. Security.