Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Boards
Labels
Milestones
Merge Requests
10
Merge Requests
10
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
a93ac99a
Commit
a93ac99a
authored
Aug 31, 2016
by
Mario Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Leftist|Pairing)_heaps: added some comments
parent
b571760d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
+27
-0
examples/leftist_heap.mlw
examples/leftist_heap.mlw
+9
-0
examples/pairing_heap.mlw
examples/pairing_heap.mlw
+9
-0
examples/pairing_heap_bin.mlw
examples/pairing_heap_bin.mlw
+9
-0
No files found.
examples/leftist_heap.mlw
View file @
a93ac99a
(** Leftist heaps (Clark Allan Crane, 1972 && Donald E. Knuth, 1973).
Purely applicative implementation, following Okasaki's implementation
in his book "Purely Functional Data Structures" (Section 3.1).
Author: Mário Pereira (Université Paris Sud)
*)
module Heap
use import int.Int
...
...
examples/pairing_heap.mlw
View file @
a93ac99a
(** Pairing heaps (M. Fredman, R. Sedgewick, D. Sleator, R. Tarjan, 1986).
Purely applicative implementation, following Okasaki's implementation
in his book "Purely Functional Data Structures" (Section 5.5).
Author: Mário Pereira (Université Paris Sud)
*)
module Heap
use import int.Int
...
...
examples/pairing_heap_bin.mlw
View file @
a93ac99a
(** Pairing heaps (M. Fredman, R. Sedgewick, D. Sleator, R. Tarjan, 1986).
Author: Mário Pereira (Université Paris Sud)
This is a re-implementation of pairing heaps as binary trees.
See also pairing_heap.mlw in the gallery.
*)
module Heap
use import int.Int
...
...
Write
Preview
Markdown
is supported
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