SlideShare a Scribd company logo
Distributed computation and recon
f
iguration
in actively dynamic networks
Peter Kos | CSCI 761 | 4.25.22
Overview
• Recon
f
igurable networks
• Cost measurement
• 3 Transformation algorithms
• Overview, Analysis, Runtime
• Impact
• Summary
Recon
f
igurable Networks
Asynchronous LOCAL, but with two 💖 fun 💖 features:
Asynchronous LOCAL, but with two 💖 fun 💖 features:
1. Nodes can activate connections to new neighbors locally
2. Nodes can eliminate some of their existing connections
What is our goal?
What is our goal?
Solve the depth-d tree problem!
What is our goal?
What is are our goals?
Gs → Gf
Solve the depth-d tree problem!
where is a rooted tree of depth
Gf d
is of (poly)log diameter
Gf
& via (poly)log time algorithms
What is are our goals?
Gs → Gf
Elect a unique leader
1)
2)
What is our goal?
where is a rooted tree of depth
Gf d
What is are our goals?
Gs → Gf
Elect a unique leader
where is a rooted tree of depth
Gf d
What is are our goals?
Gs → Gf
Elect a unique leader
R
where is a rooted tree of depth
Gf d
=“wreath” = ring + spanning binary tree
Gs
What is are our goals?
Gs → Gf
Elect a unique leader
R
=“wreath” = ring + spanning binary tree
Gs
R
more than one total !
where is a rooted tree of depth
Gf d
Gs → Gf
Elect a unique leader
R
where is a rooted tree of depth
Gf d
R
R
R
What is are our goals?
Gs → Gf
Elect a unique leader
R
=“wreath” = ring + spanning binary tree
Gs
R
more than one total !
where is a rooted tree of depth
Gf d
What is are our goals?
Gs → Gf
Elect a unique leader
R
where is a rooted tree of depth
Gf d
=“wreath” = ring + spanning binary tree
Gs
R
more than one total !
What is are our goals?
Gs → Gf
Elect a unique leader
1)
2)
What is our goal?
where is a rooted tree of depth
Gf d
Cost Measurement
(not necessarily runtime & message complexity…)
separate analysis for later
separate analysis for later
(polylog runtime & polylog diameter…)
(not necessarily runtime & message complexity…)
separate analysis for later
separate analysis for later
(polylog runtime & polylog diameter…)
(not necessarily runtime & message complexity…)
separate analysis for later
(deterministic & bounded-degree runtime…)
separate analysis for later
We have problems?
1. Nodes can activate connections to new neighbors locally
2. Nodes can eliminate some of their existing connections
We have problems?
1. Nodes can activate connections to new neighbors locally
2. Nodes can eliminate some of their existing connections
This is expensive…
We have problems?
1. Nodes can activate connections
2. Nodes can eliminate some of the
This is expensive…
Assume a cost of 1
for each connection
Θ(n2
) cost for clique formation
We have problems?
1. Nodes can activate connections to new neighbors locally
2. Nodes can eliminate some of their existing connections
This is expensive…
3 cost measures
Total number of
edge activations
Max number of
activated edges
in any round
Max activated
degree of a node
in any around
1
1
1 3
0
Total number of
edge activations
Max number of
activated edges
in any round
Max activated
degree of a node
in any around
1
1
1 3
0
T
∑
i=1
|Eac(i)|
T is runtime
max
i∈[T]
|E(i)  E(1)| max
i∈[T]
Δ(D(i)  D(1))
Graph di
ff
erence is de
f
ined as the
di
ff
erence of their edge sets
is max degree of
Δ(G) G
Total number of
edge activations
Max number of
activated edges
in any round
Max activated
degree of a node
in any around
1
1
1 3
0
Trying to optimize the worst-case
number of activations per round
3 cost measures
Total number of
edge activations
Max number of
activated edges
in any round
Max activated
degree of a node
in any around
1
1
1 3
0
3 Transformation Algorithms
De
f
initions
De
f
initions
Gs → Gf
De
f
initions
gadget network - something close to and that is helpful in reaching
Gf Gf
Gs → Gf
De
f
initions
star graph (gadget) spanning star ( )
Gf
gadget network - something close to and that is helpful in reaching
Gf Gf
Gs → Gf
De
f
initions
Gs → Gf
De
f
initions
committee - subgraph that makes up Gs
Gs → Gf
means activated with in the previous round
C(u) ↔ C(v) u v
is a committee led by node
C(u) u
(this is my notation)
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Runtime: ………………………
o(log2
n)
graph
g star
ct:
er: 2
logn)
O(n logn)
ar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Runtime: ………………………….
o(log2
n) O
(
log2
n
loglogkn)
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Runtime: ………………………
o(log2
n)
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Runtime: ………………………
o(log2
n)
maintains bounded max degree
throughout runtime
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Algo 1
GraphToStar
Each committee is a star graph with leader
C(u) u
Leader of each committee is node with greatest UID
in committee
uC
UID of is the UID of
C(u) u
Winning committee is C(umax)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Every node starts as leader, forms committee
n = 1
In every phase, executes in one of the following
modes, starting with selection mode
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Algo 1
GraphToStar
Selection
If and are neighboring s.t. ,
and is not in pulling mode,
C(u) C(z) UIDz > UIDu
C(z)
Merging Pulling Waiting Termination
selects by doing the following:
C(u) C(z)
Activate with potential neighbor in
E(u, e1) C(v)
Activate , and deactivate
E(u, v) E(u, e1)
If did not select, then and form a pair and
enters merging mode.
C(v) C(u) C(v) C(u)
no diagram
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Now, the leader of has an edge
with the leader of
C(u)
C(v)
Each follower x in activates edge
and deactivates
C(u) xv
xu
and are now merged into ,
where is a star rooted at spanning all nodes
C(u) C(v) C(v)
C(v) v
V(C(u)) ∪ V(C(v))
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Now, the leader of has an edge
with the leader of
C(u)
C(v)
Each follower x in activates edge
and deactivates
C(u) xv
xu
and are now merged into ,
where is a star rooted at spanning all nodes
C(u) C(v) C(v)
C(v) v
V(C(u)) ∪ V(C(v))
u v
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Now, the leader of has an edge
with the leader of
C(u)
C(v)
Each follower x in activates edge
and deactivates
C(u) xv
xu
and are now merged into ,
where is a star rooted at spanning all nodes
C(u) C(v) C(v)
C(v) v
V(C(u)) ∪ V(C(v))
u v
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Now, the leader of has an edge
with the leader of
C(u)
C(v)
Each follower x in activates edge
and deactivates
C(u) xv
xu
and are now merged into ,
where is a star rooted at spanning all nodes
C(u) C(v) C(v)
C(v) v
V(C(u)) ∪ V(C(v))
u v
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Now, the leader of has an edge
with the leader of
C(u)
C(v)
Each follower x in activates edge
and deactivates
C(u) xv
xu
and are now merged into ,
where is a star rooted at spanning all nodes
C(u) C(v) C(v)
C(v) v
V(C(u)) ∪ V(C(v))
u v
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
u
w
v
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
u
w
v
umerge
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
u
w
v
BREAK
umerge
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
u
w
v
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
u
w
v
umerge
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
u
w
v
umerge
BREAK
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
u
w
v
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
Given and
C(u) ↔ C(v) C(v) ↔ C(w)
u
w
v
If leader of did not activate in previous phase {
enters merging mode
} else if and is now empty {
activates
enters merging mode
} else {
activates , deactivates
remains in pulling mode
}
C(v)
C(u)
C(u) ↔ C(v) C(v)
u uw
C(u)
u uw uv
C(u)
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
if has no neighboring committees {
enters termination mode
} else if in prev phase, no committee activated edge with {
enters selection mode
} else {
remains in waiting mode
}
C(u)
C(u)
u
C(u)
C(u)
no diagram
Algo 1
GraphToStar
Selection Merging Pulling Waiting Termination
deactivates every edge in
C(u) E(Gs  E(C(u))
Each follower in deactivates all incident active edges
except .
x C(u)
xu
no diagram
Algo 1
GraphToStar
Proof of
Correctness
Does it solve the tree problem?
Depth − 1
One committee eventually enters termination,
and this can only* be . (proved on next slide)
C(umax)
Then by de
f
inition, must be a unique leader
of the spanning star rooted at
umax
umax
This satis
f
ies all requirements of the tree problem.
Depth − 1
Algo 1
GraphToStar
Proof of
Correctness
Further conjecture:
How do we ensure is the only committee left alive?
(i.e., all other committees die or grow)
C(umax)
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
? ? ?
Algo 1
GraphToStar
Proof of
Correctness
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
? ? ?
Algo 1
GraphToStar
Proof of
Correctness
Set of committees in pulling mode are Cpull
These form a forest such that belongs to a pulling
tree of
F C(u) ∈ Cpull
T F
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
? ? ?
Any pulling tree mimics TreeToStar algorithm on the leaders of
committees C(u)
Set of committees in pulling mode are Cpull
These form a forest such that belongs to a pulling
tree of
F C(u) ∈ Cpull
T F
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
? ? ?
😠
Any pulling tree mimics TreeToStar algorithm on the leaders of
committees C(u)
Algo 1
GraphToStar
Proof of
Correctness
Set of committees in pulling mode are Cpull
These form a forest such that belongs to a pulling
tree of
F C(u) ∈ Cpull
T F
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
? ? ?
Any pulling tree mimics TreeToStar algorithm on the leaders of
committees C(u)
All non-root committees in will eventually merge with
T Cr
Invariant: ’s root committee, is always in waiting mode,
and ’s children are always in merging mode
C(u) Cr
Cr
These eventually “telescope in” as ’s children merge with
Cr Cr
Algo 1
GraphToStar
Proof of
Correctness
Set of committees in pulling mode are Cpull
These form a forest such that belongs to a pulling
tree of
F C(u) ∈ Cpull
T F
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
✔ ? ?
Any pulling tree mimics TreeToStar algorithm on the leaders of
committees C(u)
All non-root committees in will eventually merge with
T Cr
Invariant: ’s root committee, is always in waiting mode,
and ’s children are always in merging mode
C(u) Cr
Cr
These eventually “telescope in” as ’s children merge with
Cr Cr
Algo 1
GraphToStar
Proof of
Correctness
Committee can enter either mode above
C(u)
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
✔ ? ?
If it enters merging or pulling, will eventually die
C(u)
If it enters waiting, will eventually grow
What if we stay in section mode inde
f
initely?
Can only happen if all current & neighboring committees
have a smaller than
UID UIDu
Contradicts inde
f
inite local maximality of in
neighbor selection process for some neighbor such that
UIDu
C(w)
UIDw > UIDu
Algo 1
GraphToStar
Proof of
Correctness
Committee can enter either mode above
C(u)
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
✔ ?
If it enters merging or pulling, will eventually die
C(u)
If it enters waiting, will eventually grow
What if we stay in section mode inde
f
initely?
Can only happen if all current & neighboring committees
have a smaller than
UID UIDu
Contradicts inde
f
inite local maximality of in
neighbor selection process for some neighbor such that
UIDu
C(w)
UIDw > UIDu
✔
Algo 1
GraphToStar
Proof of
Correctness
Any committee is either a root of a pulling tree in forest ,
or a root of star of committees in which all leaf-committees
are merging with
C(u) F
C(u)
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
✔ ?
✔
Either way, eventually enters selection mode
as soon as all other committees in its pulling tree or star
have merged to it.
C(u)
Algo 1
GraphToStar
Proof of
Correctness
Any committee is either a root of a pulling tree in forest ,
or a root of star of committees in which all leaf-committees
are merging with
C(u) F
C(u)
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
✔ ✔
Either way, eventually enters selection mode
as soon as all other committees in its pulling tree or star
have merged to it.
C(u)
✔
Algo 1
GraphToStar
Proof of
Correctness
We need to prove that this occurs for any of the following modes:
Pulling Selection Waiting
✔ ✔ ✔
QED.
Algo 1
GraphToStar
Proof of
Time Complexity
Algo 1
GraphToStar
Proof of
Time Complexity
For now, focus on number of phases before
a single committee is left.
is the size of committee in round
|C(u)s | C(u) s
Algo 1
GraphToStar
Proof of
Time Complexity
Lemma 2
Committee between phases and
If , then in selection mode
(i.e., in two following phases, the size is at least )
C(u)waiting s s + j
|C(u)s | > 2k
|C(u)s+j+1 | > 2k+j−2
2k+j−2
Any is a root of either:
(i) a pulling tree T in the forest F
(ii) a star of committees which all leaf-committees
are merging with
C(u)waiting
C(u)
Algo 1
GraphToStar
Proof of
Time Complexity
Lemma 2
Committee between phases and
If , then in selection mode
(i.e., in two following phases, the size is at least )
C(u)waiting s s + j
|C(u)s | > 2k
|C(u)s+j+1 | > 2k+j−2
2k+j−2
Any is a root of either:
(i) a pulling tree T in the forest F
C(u)waiting
, so any other committee in is either in
pulling or merging mode
C(u)waiting T
All non-root committees in will eventually merge in
in some phase
T C(u)
s + j
Algo 1
GraphToStar
Proof of
Time Complexity
Lemma 2
Committee between phases and
If , then in selection mode
(i.e., in two following phases, the size is at least )
C(u)waiting s s + j
|C(u)s | > 2k
|C(u)s+j+1 | > 2k+j−2
2k+j−2
Any is a root of either:
(i) a pulling tree T in the forest F
C(u)waiting
W.l.o.g. assume every committee
(i) entered pulling or merging mode in phase
(ii) will have merged with by phase
C(v) ∈ T
s
C(v) s + j
Algo 1
GraphToStar
Proof of
Time Complexity
Lemma 2
Committee between phases and
If , then in selection mode
(i.e., in two following phases, the size is at least )
C(u)waiting s s + j
|C(u)s | > 2k
|C(u)s+j+1 | > 2k+j−2
2k+j−2
Any is a root of either:
(i) a pulling tree T in the forest F
C(u)waiting
W.l.o.g. assume every committee
(i) entered pulling or merging mode in phase
(ii) will have merged with by phase
C(v) ∈ T
s
C(v) s + j
(Left here)
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Algo 2
GraphToWreath
Algo 2
GraphToWreath
Each committee is a wreath graph with leader
C(u) u
Proceeds in phases, always start in selection mode.
Selection Ring merging Tree Merging Termination
Algo 2
GraphToWreath
Selection Ring merging Tree Merging Termination
deactivates every edge in
C(u) E(Gs  E(C(u))
Each follower in deactivates all incident active edges
except .
x C(u)
xu
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Algo 1
Gadget: star graph
: spanning star
Runtime:
Total edge act:
Final diameter: 2
Gf
O(logn)
O(n logn)
GraphToStar
Algo 2
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
O(log2
n)
O(n log2
n)
O(logn)
GraphToWreath
Algo 3
GraphToThinWreath
Gadget: wreath
: binary spanning tree
Runtime:
Total edge act:
Final diameter:
Gf
o(log2
n)
O(n log2
n)
O(logn)
Impact
separate analysis for later
(polylog runtime & polylog diameter…)
(not necessarily runtime & message complexity…)
separate analysis for later
(deterministic & bounded-degree runtime…)
separate analysis for later
Summary
Overview
• Recon
f
igurable networks
• Cost measurement
• 3 Transformation algorithms
• Overview, Analysis, Runtime
• Impact
• Summary
Distributed computation and recon
f
iguration
in actively dynamic networks
Peter Kos | CSCI 761 | 6.25.22

More Related Content

PDF
Graph Analysis Beyond Linear Algebra
PDF
Unit ii divide and conquer -2
PPTX
Basic Graph Algorithms Vertex (Node): lk
PDF
Topological Sort
PPTX
Lec 15-graph Searching in data structure and lgorithm.pptx
PPTX
Graph theory
PPTX
Graph Representation, DFS and BFS Presentation.pptx
Graph Analysis Beyond Linear Algebra
Unit ii divide and conquer -2
Basic Graph Algorithms Vertex (Node): lk
Topological Sort
Lec 15-graph Searching in data structure and lgorithm.pptx
Graph theory
Graph Representation, DFS and BFS Presentation.pptx

Similar to Distributed computation and reconfiguration in actively dynamic networks (20)

PPTX
UNIT III.pptx
PDF
04 greedyalgorithmsii
PPT
Data structure computer graphs
PPTX
Unit 4 dsuc
PPTX
Design and Analysis of Algorithms
PPTX
Algorithms and data Chapter 3 V Graph.pptx
PPTX
Graph Traversing and Seaching - Data Structure- AIUB.pptx
PPT
artificial intelligence
PPTX
Ram minimum spanning tree
PPTX
UNIT IV NON LINEAR DATA STRUCTURES - GRAPH.pptx
PPT
14. GRAPH in data structures and algorithm.ppt
PPT
cs201-tree-graph as a data structure.ppt
PPT
Graphs
PPTX
Data structure note
PPTX
D9-Tree and Graph-Data-Structures information.pptx
PPTX
UNIT IV NON LINEAR DATA STRUCTURES - GRAPH
PPTX
Spanning Tree in data structure and .pptx
PPTX
UNIT III.pptx
04 greedyalgorithmsii
Data structure computer graphs
Unit 4 dsuc
Design and Analysis of Algorithms
Algorithms and data Chapter 3 V Graph.pptx
Graph Traversing and Seaching - Data Structure- AIUB.pptx
artificial intelligence
Ram minimum spanning tree
UNIT IV NON LINEAR DATA STRUCTURES - GRAPH.pptx
14. GRAPH in data structures and algorithm.ppt
cs201-tree-graph as a data structure.ppt
Graphs
Data structure note
D9-Tree and Graph-Data-Structures information.pptx
UNIT IV NON LINEAR DATA STRUCTURES - GRAPH
Spanning Tree in data structure and .pptx
Ad

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PPTX
Introduction to Artificial Intelligence
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
history of c programming in notes for students .pptx
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPT
Introduction Database Management System for Course Database
PDF
medical staffing services at VALiNTRY
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
System and Network Administration Chapter 2
PDF
Digital Strategies for Manufacturing Companies
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Introduction to Artificial Intelligence
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Softaken Excel to vCard Converter Software.pdf
history of c programming in notes for students .pptx
How to Choose the Right IT Partner for Your Business in Malaysia
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Introduction Database Management System for Course Database
medical staffing services at VALiNTRY
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
System and Network Administration Chapter 2
Digital Strategies for Manufacturing Companies
Odoo Companies in India – Driving Business Transformation.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Which alternative to Crystal Reports is best for small or large businesses.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
2025 Textile ERP Trends: SAP, Odoo & Oracle
Ad

Distributed computation and reconfiguration in actively dynamic networks

  • 1. Distributed computation and recon f iguration in actively dynamic networks Peter Kos | CSCI 761 | 4.25.22
  • 2. Overview • Recon f igurable networks • Cost measurement • 3 Transformation algorithms • Overview, Analysis, Runtime • Impact • Summary
  • 4. Asynchronous LOCAL, but with two 💖 fun 💖 features:
  • 5. Asynchronous LOCAL, but with two 💖 fun 💖 features: 1. Nodes can activate connections to new neighbors locally 2. Nodes can eliminate some of their existing connections
  • 6. What is our goal?
  • 7. What is our goal? Solve the depth-d tree problem!
  • 8. What is our goal? What is are our goals? Gs → Gf Solve the depth-d tree problem! where is a rooted tree of depth Gf d is of (poly)log diameter Gf & via (poly)log time algorithms
  • 9. What is are our goals? Gs → Gf Elect a unique leader 1) 2) What is our goal? where is a rooted tree of depth Gf d
  • 10. What is are our goals? Gs → Gf Elect a unique leader where is a rooted tree of depth Gf d
  • 11. What is are our goals? Gs → Gf Elect a unique leader R where is a rooted tree of depth Gf d =“wreath” = ring + spanning binary tree Gs
  • 12. What is are our goals? Gs → Gf Elect a unique leader R =“wreath” = ring + spanning binary tree Gs R more than one total ! where is a rooted tree of depth Gf d
  • 13. Gs → Gf Elect a unique leader R where is a rooted tree of depth Gf d R R R
  • 14. What is are our goals? Gs → Gf Elect a unique leader R =“wreath” = ring + spanning binary tree Gs R more than one total ! where is a rooted tree of depth Gf d
  • 15. What is are our goals? Gs → Gf Elect a unique leader R where is a rooted tree of depth Gf d =“wreath” = ring + spanning binary tree Gs R more than one total !
  • 16. What is are our goals? Gs → Gf Elect a unique leader 1) 2) What is our goal? where is a rooted tree of depth Gf d
  • 18. (not necessarily runtime & message complexity…) separate analysis for later
  • 19. separate analysis for later (polylog runtime & polylog diameter…) (not necessarily runtime & message complexity…) separate analysis for later
  • 20. separate analysis for later (polylog runtime & polylog diameter…) (not necessarily runtime & message complexity…) separate analysis for later (deterministic & bounded-degree runtime…) separate analysis for later
  • 21. We have problems? 1. Nodes can activate connections to new neighbors locally 2. Nodes can eliminate some of their existing connections
  • 22. We have problems? 1. Nodes can activate connections to new neighbors locally 2. Nodes can eliminate some of their existing connections This is expensive…
  • 23. We have problems? 1. Nodes can activate connections 2. Nodes can eliminate some of the This is expensive… Assume a cost of 1 for each connection Θ(n2 ) cost for clique formation
  • 24. We have problems? 1. Nodes can activate connections to new neighbors locally 2. Nodes can eliminate some of their existing connections This is expensive…
  • 25. 3 cost measures Total number of edge activations Max number of activated edges in any round Max activated degree of a node in any around 1 1 1 3 0
  • 26. Total number of edge activations Max number of activated edges in any round Max activated degree of a node in any around 1 1 1 3 0 T ∑ i=1 |Eac(i)| T is runtime max i∈[T] |E(i) E(1)| max i∈[T] Δ(D(i) D(1)) Graph di ff erence is de f ined as the di ff erence of their edge sets is max degree of Δ(G) G
  • 27. Total number of edge activations Max number of activated edges in any round Max activated degree of a node in any around 1 1 1 3 0 Trying to optimize the worst-case number of activations per round
  • 28. 3 cost measures Total number of edge activations Max number of activated edges in any round Max activated degree of a node in any around 1 1 1 3 0
  • 32. De f initions gadget network - something close to and that is helpful in reaching Gf Gf Gs → Gf
  • 33. De f initions star graph (gadget) spanning star ( ) Gf gadget network - something close to and that is helpful in reaching Gf Gf Gs → Gf
  • 35. De f initions committee - subgraph that makes up Gs Gs → Gf means activated with in the previous round C(u) ↔ C(v) u v is a committee led by node C(u) u (this is my notation)
  • 36. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn) Runtime: ……………………… o(log2 n)
  • 37. graph g star ct: er: 2 logn) O(n logn) ar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn) Runtime: …………………………. o(log2 n) O ( log2 n loglogkn)
  • 38. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn) Runtime: ……………………… o(log2 n)
  • 39. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn) Runtime: ……………………… o(log2 n) maintains bounded max degree throughout runtime
  • 40. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn)
  • 41. Algo 1 GraphToStar Each committee is a star graph with leader C(u) u Leader of each committee is node with greatest UID in committee uC UID of is the UID of C(u) u Winning committee is C(umax)
  • 42. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Every node starts as leader, forms committee n = 1 In every phase, executes in one of the following modes, starting with selection mode C(u)
  • 43. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination
  • 44. Algo 1 GraphToStar Selection If and are neighboring s.t. , and is not in pulling mode, C(u) C(z) UIDz > UIDu C(z) Merging Pulling Waiting Termination selects by doing the following: C(u) C(z) Activate with potential neighbor in E(u, e1) C(v) Activate , and deactivate E(u, v) E(u, e1) If did not select, then and form a pair and enters merging mode. C(v) C(u) C(v) C(u) no diagram
  • 45. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Now, the leader of has an edge with the leader of C(u) C(v) Each follower x in activates edge and deactivates C(u) xv xu and are now merged into , where is a star rooted at spanning all nodes C(u) C(v) C(v) C(v) v V(C(u)) ∪ V(C(v))
  • 46. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Now, the leader of has an edge with the leader of C(u) C(v) Each follower x in activates edge and deactivates C(u) xv xu and are now merged into , where is a star rooted at spanning all nodes C(u) C(v) C(v) C(v) v V(C(u)) ∪ V(C(v)) u v
  • 47. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Now, the leader of has an edge with the leader of C(u) C(v) Each follower x in activates edge and deactivates C(u) xv xu and are now merged into , where is a star rooted at spanning all nodes C(u) C(v) C(v) C(v) v V(C(u)) ∪ V(C(v)) u v
  • 48. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Now, the leader of has an edge with the leader of C(u) C(v) Each follower x in activates edge and deactivates C(u) xv xu and are now merged into , where is a star rooted at spanning all nodes C(u) C(v) C(v) C(v) v V(C(u)) ∪ V(C(v)) u v
  • 49. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Now, the leader of has an edge with the leader of C(u) C(v) Each follower x in activates edge and deactivates C(u) xv xu and are now merged into , where is a star rooted at spanning all nodes C(u) C(v) C(v) C(v) v V(C(u)) ∪ V(C(v)) u v
  • 50. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u) u w v
  • 51. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) u w v umerge If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u)
  • 52. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) u w v BREAK umerge If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u)
  • 53. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) u w v If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u)
  • 54. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) u w v umerge If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u)
  • 55. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) u w v umerge BREAK If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u)
  • 56. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) u w v If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u)
  • 57. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination Given and C(u) ↔ C(v) C(v) ↔ C(w) u w v If leader of did not activate in previous phase { enters merging mode } else if and is now empty { activates enters merging mode } else { activates , deactivates remains in pulling mode } C(v) C(u) C(u) ↔ C(v) C(v) u uw C(u) u uw uv C(u)
  • 58. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination if has no neighboring committees { enters termination mode } else if in prev phase, no committee activated edge with { enters selection mode } else { remains in waiting mode } C(u) C(u) u C(u) C(u) no diagram
  • 59. Algo 1 GraphToStar Selection Merging Pulling Waiting Termination deactivates every edge in C(u) E(Gs E(C(u)) Each follower in deactivates all incident active edges except . x C(u) xu no diagram
  • 60. Algo 1 GraphToStar Proof of Correctness Does it solve the tree problem? Depth − 1 One committee eventually enters termination, and this can only* be . (proved on next slide) C(umax) Then by de f inition, must be a unique leader of the spanning star rooted at umax umax This satis f ies all requirements of the tree problem. Depth − 1
  • 61. Algo 1 GraphToStar Proof of Correctness Further conjecture: How do we ensure is the only committee left alive? (i.e., all other committees die or grow) C(umax) We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ? ? ?
  • 62. Algo 1 GraphToStar Proof of Correctness We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ? ? ?
  • 63. Algo 1 GraphToStar Proof of Correctness Set of committees in pulling mode are Cpull These form a forest such that belongs to a pulling tree of F C(u) ∈ Cpull T F We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ? ? ? Any pulling tree mimics TreeToStar algorithm on the leaders of committees C(u)
  • 64. Set of committees in pulling mode are Cpull These form a forest such that belongs to a pulling tree of F C(u) ∈ Cpull T F We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ? ? ? 😠 Any pulling tree mimics TreeToStar algorithm on the leaders of committees C(u)
  • 65. Algo 1 GraphToStar Proof of Correctness Set of committees in pulling mode are Cpull These form a forest such that belongs to a pulling tree of F C(u) ∈ Cpull T F We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ? ? ? Any pulling tree mimics TreeToStar algorithm on the leaders of committees C(u) All non-root committees in will eventually merge with T Cr Invariant: ’s root committee, is always in waiting mode, and ’s children are always in merging mode C(u) Cr Cr These eventually “telescope in” as ’s children merge with Cr Cr
  • 66. Algo 1 GraphToStar Proof of Correctness Set of committees in pulling mode are Cpull These form a forest such that belongs to a pulling tree of F C(u) ∈ Cpull T F We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ✔ ? ? Any pulling tree mimics TreeToStar algorithm on the leaders of committees C(u) All non-root committees in will eventually merge with T Cr Invariant: ’s root committee, is always in waiting mode, and ’s children are always in merging mode C(u) Cr Cr These eventually “telescope in” as ’s children merge with Cr Cr
  • 67. Algo 1 GraphToStar Proof of Correctness Committee can enter either mode above C(u) We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ✔ ? ? If it enters merging or pulling, will eventually die C(u) If it enters waiting, will eventually grow What if we stay in section mode inde f initely? Can only happen if all current & neighboring committees have a smaller than UID UIDu Contradicts inde f inite local maximality of in neighbor selection process for some neighbor such that UIDu C(w) UIDw > UIDu
  • 68. Algo 1 GraphToStar Proof of Correctness Committee can enter either mode above C(u) We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ✔ ? If it enters merging or pulling, will eventually die C(u) If it enters waiting, will eventually grow What if we stay in section mode inde f initely? Can only happen if all current & neighboring committees have a smaller than UID UIDu Contradicts inde f inite local maximality of in neighbor selection process for some neighbor such that UIDu C(w) UIDw > UIDu ✔
  • 69. Algo 1 GraphToStar Proof of Correctness Any committee is either a root of a pulling tree in forest , or a root of star of committees in which all leaf-committees are merging with C(u) F C(u) We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ✔ ? ✔ Either way, eventually enters selection mode as soon as all other committees in its pulling tree or star have merged to it. C(u)
  • 70. Algo 1 GraphToStar Proof of Correctness Any committee is either a root of a pulling tree in forest , or a root of star of committees in which all leaf-committees are merging with C(u) F C(u) We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ✔ ✔ Either way, eventually enters selection mode as soon as all other committees in its pulling tree or star have merged to it. C(u) ✔
  • 71. Algo 1 GraphToStar Proof of Correctness We need to prove that this occurs for any of the following modes: Pulling Selection Waiting ✔ ✔ ✔ QED.
  • 73. Algo 1 GraphToStar Proof of Time Complexity For now, focus on number of phases before a single committee is left. is the size of committee in round |C(u)s | C(u) s
  • 74. Algo 1 GraphToStar Proof of Time Complexity Lemma 2 Committee between phases and If , then in selection mode (i.e., in two following phases, the size is at least ) C(u)waiting s s + j |C(u)s | > 2k |C(u)s+j+1 | > 2k+j−2 2k+j−2 Any is a root of either: (i) a pulling tree T in the forest F (ii) a star of committees which all leaf-committees are merging with C(u)waiting C(u)
  • 75. Algo 1 GraphToStar Proof of Time Complexity Lemma 2 Committee between phases and If , then in selection mode (i.e., in two following phases, the size is at least ) C(u)waiting s s + j |C(u)s | > 2k |C(u)s+j+1 | > 2k+j−2 2k+j−2 Any is a root of either: (i) a pulling tree T in the forest F C(u)waiting , so any other committee in is either in pulling or merging mode C(u)waiting T All non-root committees in will eventually merge in in some phase T C(u) s + j
  • 76. Algo 1 GraphToStar Proof of Time Complexity Lemma 2 Committee between phases and If , then in selection mode (i.e., in two following phases, the size is at least ) C(u)waiting s s + j |C(u)s | > 2k |C(u)s+j+1 | > 2k+j−2 2k+j−2 Any is a root of either: (i) a pulling tree T in the forest F C(u)waiting W.l.o.g. assume every committee (i) entered pulling or merging mode in phase (ii) will have merged with by phase C(v) ∈ T s C(v) s + j
  • 77. Algo 1 GraphToStar Proof of Time Complexity Lemma 2 Committee between phases and If , then in selection mode (i.e., in two following phases, the size is at least ) C(u)waiting s s + j |C(u)s | > 2k |C(u)s+j+1 | > 2k+j−2 2k+j−2 Any is a root of either: (i) a pulling tree T in the forest F C(u)waiting W.l.o.g. assume every committee (i) entered pulling or merging mode in phase (ii) will have merged with by phase C(v) ∈ T s C(v) s + j (Left here)
  • 78. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn)
  • 79. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn)
  • 81. Algo 2 GraphToWreath Each committee is a wreath graph with leader C(u) u Proceeds in phases, always start in selection mode. Selection Ring merging Tree Merging Termination
  • 82. Algo 2 GraphToWreath Selection Ring merging Tree Merging Termination deactivates every edge in C(u) E(Gs E(C(u)) Each follower in deactivates all incident active edges except . x C(u) xu
  • 83. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn)
  • 84. Algo 1 Gadget: star graph : spanning star Runtime: Total edge act: Final diameter: 2 Gf O(logn) O(n logn) GraphToStar Algo 2 Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf O(log2 n) O(n log2 n) O(logn) GraphToWreath Algo 3 GraphToThinWreath Gadget: wreath : binary spanning tree Runtime: Total edge act: Final diameter: Gf o(log2 n) O(n log2 n) O(logn)
  • 86. separate analysis for later (polylog runtime & polylog diameter…) (not necessarily runtime & message complexity…) separate analysis for later (deterministic & bounded-degree runtime…) separate analysis for later
  • 88. Overview • Recon f igurable networks • Cost measurement • 3 Transformation algorithms • Overview, Analysis, Runtime • Impact • Summary
  • 89. Distributed computation and recon f iguration in actively dynamic networks Peter Kos | CSCI 761 | 6.25.22