Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ScaDCOP
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maxime MORGE
ScaDCOP
Commits
06e4c792
Commit
06e4c792
authored
5 years ago
by
Alex
Browse files
Options
Downloads
Patches
Plain Diff
update to supervisor
parent
39646e76
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/fsm/cmd.txt
+2
-0
2 additions, 0 deletions
doc/fsm/cmd.txt
doc/fsm/offerer.png
+0
-0
0 additions, 0 deletions
doc/fsm/offerer.png
doc/fsm/supervisor.png
+0
-0
0 additions, 0 deletions
doc/fsm/supervisor.png
doc/fsm/supervisor_mgm2.gv
+8
-5
8 additions, 5 deletions
doc/fsm/supervisor_mgm2.gv
with
10 additions
and
5 deletions
doc/fsm/cmd.txt
+
2
−
0
View file @
06e4c792
...
@@ -8,6 +8,8 @@ dot -Tpng agentBeginning.gv -o agentBeginning.png
...
@@ -8,6 +8,8 @@ dot -Tpng agentBeginning.gv -o agentBeginning.png
dot -Tpng offerer.gv -o offerer.png
dot -Tpng offerer.gv -o offerer.png
dot -Tpng receiver.gv -o receiver.png
dot -Tpng uncommited.gv -o uncommited.png
dot -Tpng uncommited.gv -o uncommited.png
dot -Tpng committed.gv -o committed.png
dot -Tpng committed.gv -o committed.png
This diff is collapsed.
Click to expand it.
doc/fsm/offerer.png
+
0
−
0
View replaced file @
39646e76
View file @
06e4c792
190 KiB
|
W:
|
H:
197 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
doc/fsm/supervisor.png
+
0
−
0
View replaced file @
39646e76
View file @
06e4c792
102 KiB
|
W:
|
H:
128 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
doc/fsm/supervisor_mgm2.gv
+
8
−
5
View file @
06e4c792
...
@@ -10,7 +10,7 @@ digraph finite_state_machine {
...
@@ -10,7 +10,7 @@ digraph finite_state_machine {
start -> WaitingForAgentValues [label = " broadcast(agents) ! Trigger
start -> WaitingForAgentValues [label = " broadcast(agents) ! Trigger
"];
"];
start -> start
[label = " agent : KickStartMe =>
WaitingForAgentValues -> WaitingForAgentValues
[label = " agent : KickStartMe =>
agent ! ContinueAlgo
agent ! ContinueAlgo
"];
"];
...
@@ -20,9 +20,12 @@ digraph finite_state_machine {
...
@@ -20,9 +20,12 @@ digraph finite_state_machine {
WaitingForAgentValues -> DecidingToContinueOrStop [label = " sender : InformValue(val) && (#currentContext == #agents - 1) =>
WaitingForAgentValues -> DecidingToContinueOrStop [label = " sender : InformValue(val) && (#currentContext == #agents - 1) =>
currentContext.put(sender, val)
currentContext.put(sender, val)
stopOrContinue = shouldAlgoKeepOn()
self.shouldAlgoKeepOn() match {
broadcast(agents) ! WhatToDo(stopOrContinue)
case true => broadcast ! ContinueAlgo
self ! WhatToDo(stopOrContinue)
self ! ContinueAlgo
case false => broadcast ! StopAlgo
self ! StopAlgo
}
"];
"];
WaitingForAgentValues -> WaitingForAgentValues [label = " agent : Trigger =>
WaitingForAgentValues -> WaitingForAgentValues [label = " agent : Trigger =>
...
@@ -30,7 +33,7 @@ digraph finite_state_machine {
...
@@ -30,7 +33,7 @@ digraph finite_state_machine {
"];
"];
DecidingToContinueOrStop -> WaitingForAgentValues [label = " self ! ContinueAlgo =>
DecidingToContinueOrStop -> WaitingForAgentValues [label = " self ! ContinueAlgo =>
currentContext
= ∅
;
currentContext
.reset()
;
unstashall
unstashall
"];
"];
...
...
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