Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
fix
Commits
a9a3c0bb
Commit
a9a3c0bb
authored
Nov 25, 2021
by
POTTIER Francois
Browse files
DataFlow.mli: documentation comments.
parent
73485045
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/DataFlow.mli
View file @
a9a3c0bb
...
...
@@ -80,13 +80,19 @@ module ForIntSegment
with
type
variable
=
G
.
variable
and
type
property
=
P
.
property
option
(**An alternative interface, allowing specialized (more efficient) maps.
The [V] map should be initialized with bottom everywhere.
The [B] map should initialized with [false] everywhere.
The functor returns nothing: map [V] is mutated and contains the resulting
fixed point. *)
(**[ForCustomMaps] is a forward data flow analysis that is tuned for greater
performance. It internally relies on [CompactQueue], instead of [Queue].
Furthermore, instead of relying on a full-fledged implementation of maps
as described by [MINIMAL_IMPERATIVE_MAPS], it expects the user to create
and initialize two maps [V] and [B] that satisfy the signature [ARRAY].
This typically allows the user to choose an efficient, specialized data
representation.
The map [V] must be initialized with [bottom] everywhere.
The map [B] must be initialized with [false] everywhere.
The functor returns nothing: the map [V] is modified in place and can be
read by the user after the fixed point has been reached. *)
module
ForCustomMaps
(
P
:
MINIMAL_SEMI_LATTICE
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment