package libzipperposition

  1. Overview
  2. Docs
On This Page
  1. Weight functions
Legend:
Library
Module
Module type
Parameter
Class
Class type
Weight functions
type t = Stm.t -> int

attribute a weight to a stream. The smaller, the better (lightweight streams will be favored). A weight must always be positive.

val penalty : t

Returns the penalty of the stream

val combine : (t * int) list -> t

Combine a list of pairs w, coeff where w is a weight function, and coeff a strictly positive number. This is a weighted sum of weights.

OCaml

Innovation. Community. Security.