Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
7d95097e
Commit
7d95097e
authored
Sep 02, 2014
by
Jean-Christophe Filliâtre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some examples documented for the gallery
parent
2cf9906f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
3 deletions
+21
-3
examples/all_distinct.mlw
examples/all_distinct.mlw
+5
-1
examples/coincidence_count.mlw
examples/coincidence_count.mlw
+3
-0
examples/linear_probing.mlw
examples/linear_probing.mlw
+2
-2
examples/skew_heaps.mlw
examples/skew_heaps.mlw
+5
-0
examples/topological_sorting.mlw
examples/topological_sorting.mlw
+6
-0
No files found.
examples/all_distinct.mlw
View file @
7d95097e
(** Check an array of integers for duplicate values,
using the fact that values are in interval [0,m-1]. *)
using the fact that values are in interval [0,m-1].
Authors: Jean-Christophe Filliâtre (CNRS)
Martin Clochard (École Normale Supérieure)
*)
module AllDistinct
...
...
examples/coincidence_count.mlw
View file @
7d95097e
...
...
@@ -7,6 +7,9 @@
order and without duplicate elements, and you count the number of
elements that appear in both sequences (in linear time and constant
space).
Authors: Jean-Christophe Filliâtre (CNRS)
Andrei Paskevich (Université Paris Sud)
*)
module CoincidenceCount
...
...
examples/linear_probing.mlw
View file @
7d95097e
(** Hash tables using linear probing
Authors:
Martin Clochard (École Normale Supérieure
)
Jean-Christophe Filliâtre (CNRS
)
Authors:
Jean-Christophe Filliâtre (CNRS
)
Martin Clochard (École Normale Supérieure
)
*)
module HashedTypeWithDummy
...
...
examples/skew_heaps.mlw
View file @
7d95097e
(** Skew heaps
Author: Jean-Christophe Filliâtre (CNRS)
*)
module Heap
use import int.Int
...
...
examples/topological_sorting.mlw
View file @
7d95097e
(** Topological sorting
Author: François Bobot (CEA)
*)
theory Graph
use export 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