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
a6a4d237
Commit
a6a4d237
authored
1 year ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
refactor: add some gospel comments
parent
91800ee9
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/sasacore/topology.mli
+10
-1
10 additions, 1 deletion
lib/sasacore/topology.mli
with
10 additions
and
1 deletion
lib/sasacore/topology.mli
+
10
−
1
View file @
a6a4d237
(* Time-stamp: <modified the 2
0
/0
6
/202
3
(at 1
5:07
) by Erwan Jahier> *)
(* Time-stamp: <modified the 2
4
/0
1
/202
4
(at 1
6:28
) by Erwan Jahier> *)
(** {1 Topology: internal representation of Graphs } *)
...
...
@@ -24,7 +24,12 @@ val read: string -> t
(** {1 Various eponymous util functions } *)
val
to_adjacency
:
t
->
bool
array
array
(*@ a = to_adjacency t
t.directed=false -> forall i, j. a.(i).(j) = a.(j).(i)
*)
val
to_distance
:
t
->
int
array
array
val
get_nb_link
:
t
->
int
val
get_mean_degree
:
t
->
float
...
...
@@ -38,7 +43,11 @@ val get_height : t -> string -> int
val
get_level
:
t
->
string
->
int
val
get_parent
:
t
->
string
->
int
option
val
get_subtree_size
:
t
->
string
->
int
val
get_degree
:
t
->
int
*
int
(*@ dmin, dmax = get_degree t
ensures 0 <= dmin <= dmax
*)
(** [reply g p p_neighbor] returns the channel number that let
[p_neighbor] access to the content of [p], if [p] is a neighbor of
...
...
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