package bap-primus-wandering-scheduler

  1. Overview
  2. Docs
Evaluates all machines while

Install

Dune Dependency

Authors

Maintainers

Sources

v2.4.0.tar.gz
sha256=63ada71fa4f602bd679174dc6bf780d54aeded40ad4ec20d256df15886e3d2d5
md5=b8b1aff8c6846f2213eafc54de07b304

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

Module Primus_wandering_main.Make

Parameters

module Random : sig ... end

Signature

module Generate : sig ... end
val attempts : int

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

type 'a m = 'a Machine.t
val drop : Core_kernel.Int.Map.Key.t -> t -> t
val 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.

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

Innovation. Community. Security.