Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sasa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
sasa
Commits
2da2f7d1
Commit
2da2f7d1
authored
4 years ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
Doc (API): minor aesthetic fix
parent
4247e31f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/algo/algo.mli
+6
-7
6 additions, 7 deletions
lib/algo/algo.mli
with
6 additions
and
7 deletions
lib/algo/algo.mli
+
6
−
7
View file @
2da2f7d1
(* Time-stamp: <modified the
13
/1
0
/2020 (at
15:30
) by Erwan Jahier> *)
(* Time-stamp: <modified the
04
/1
1
/2020 (at
08:15
) by Erwan Jahier> *)
(** {1 The Algorithm programming Interface}
A SASA process is an instance of an algorithm defined via this
...
...
@@ -120,8 +120,6 @@ val diameter : unit -> int
using graph attributes. This function allows one the get their
values. *)
val
get_graph_attribute
:
string
->
string
(** {2 Code Registration}
...
...
@@ -192,13 +190,14 @@ val register : 's to_register -> unit
{[
let potential_function = None (** Mandatory with --worst-daemon (-wd) *);
let legitimate_function = None (** if different from silent ones *);
let fault_function = None (** called when a legitimate configuration is reached *)
let fault_function = None (** called when a legitimate configuration is
reached *)
]}
(3) All the algos mentioned in the dot file should define the following functions:
{[
let (init_state: int -> string -> State.t) = finishme
let (enable_f: State.t neighbor list -> State.t -> action list) =
finishme
let (step_f : State.t neighbor list -> State.t -> action -> State.t
) =
finishme
let (init_state: int -> string -> State.t) =
xxx
finishme
let (enable_f: State.t neighbor list -> State.t -> action list) =
xxx
let (step_f : State.t neighbor list -> State.t -> action -> State.t) =
xxx
]}
*)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment