package lutin

  1. Overview
  2. Docs

Module ThicknessSource

Defines thickness data type. The thickness states how many test vectors are generated at each step.

Boolean thickness:
Sourcetype all_formula = bool

If true, all formula reachable from the current node should be tried. Otherwise, only one formula is drawn according to transition weigths.

Sourcetype formula_draw_nb = int

Number of draw to perform for each formula.

The Boolean thickness

Numeric thickness:
Sourcetype inside_nb = int

Number a draw to perform inside the convex hull of solutions for numeric variables.

Sourcetype edges_nb = int

Number a draw to perform at polyhedron edges.

Sourcetype vertices_nb =
  1. | All
  2. | AtMost of int

Number a draw to perform at polyhedron vertices. That number of draw can either be all of them, or at most a fiwed number.

The numeric thickness

Thickness:

It is made of a boolean and a numeric thickness.

Sourceval vertices_to_string : vertices_nb -> string
Sourceval numeric_to_string : (int * int * vertices_nb) -> string
Sourceval boolean_to_string : (bool * int) -> string
Sourceval to_string : ((bool * int) * (int * int * vertices_nb)) -> string
OCaml

Innovation. Community. Security.