code:run_swarm
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
code:swarm [2015/01/20 19:44] – created oschuett | code:run_swarm [2015/01/25 18:27] – oschuett | ||
---|---|---|---|
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: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:e -> w1:e [dir=back, weight=0]; | ||
} | } | ||
- | subgraph hidden1 { | + | w1 -> m1 [label=" |
- | rank=" | + | m3 -> w3 [label=" |
- | | + | |
- | } | + | |
- | + | ||
- | subgraph hidden2 { | + | |
- | color=blue; | + | |
- | label=" | + | |
- | rank=" | + | |
- | w3 -> m3 [label=" | + | |
- | } | + | |
} | } | ||
</ | </ |
code/run_swarm.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1