code:run_swarm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| code:run_swarm [2015/01/20 20:59] – code:swarm renamed to code:run_swarm oschuett | code:run_swarm [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Flow Chart of SWARM ====== | + | < |
| - | + | ||
| - | < | + | |
| digraph swarm { | digraph swarm { | ||
| - | | + | |
| split_comm[shape=box, | split_comm[shape=box, | ||
| if_master [shape=diamond, | if_master [shape=diamond, | ||
| - | | + | |
| - | + | ||
| - | if_master -> m1 [label=" | + | node [shape=box, width=3.5]; |
| - | if_master -> w1 [label=" | + | if_master -> m1 [label=" |
| - | + | if_master -> w1 [label=" | |
| - | node [shape=box, width=3.5]; | + | |
| - | | + | |
| subgraph cluster_m { | subgraph cluster_m { | ||
| color = blue; | color = blue; | ||
| - | label = "Master"; | + | label = << |
| m1[label=" | m1[label=" | ||
| m2[label=" | m2[label=" | ||
| m3[label=" | m3[label=" | ||
| m1 -> m2 -> m3; | m1 -> m2 -> m3; | ||
| - | m3 -> m1 [weight=0]; | + | m3:w -> m1:w [weight=0]; |
| } | } | ||
| subgraph cluster_w { | subgraph cluster_w { | ||
| - | label = "Worker"; | + | label = << |
| color = blue; | color = blue; | ||
| w1[label=" | w1[label=" | ||
| w2[label=" | w2[label=" | ||
| w3[label=" | w3[label=" | ||
| - | w1 -> w2 -> w3; | + | w1 -> w2 -> w3 [dir=back]; |
| - | w3 -> w1 [weight=0]; | + | w3:e -> w1:e [dir=back, |
| } | } | ||
| - | subgraph hidden1 { | + | w1 -> m1 [label=" |
| - | rank=" | + | m3 -> w3 [label=" |
| - | | + | |
| - | } | + | |
| - | + | ||
| - | subgraph hidden2 { | + | |
| - | color=blue; | + | |
| - | label=" | + | |
| - | rank=" | + | |
| - | w3 -> m3 [label=" | + | |
| - | } | + | |
| } | } | ||
| </ | </ | ||
code/run_swarm.1421787584.txt.gz · Last modified: (external edit)
