Professional Documents
Culture Documents
Sensor Networks
Theofanis Kontos1, George S. Alyfantis1, Yiannis Angelopoulos2, Stathes Hadjiefthymiades1
1
National and Kapodistrian University of Athens; 2Athens University of Economics and Business
I. INTRODUCTION
000479
(1 )
Note that, in fact there is no need for initial knowledge of the node count,
S. The proposed algorithm may readjust (expand) the size of vector mk every
time a node appears for the first time in a measurement. Section IV describes
how the algorithm handles this issue. Here, S is used for notational simplicity.
U NC
=V
(2 )
iI
li =
Li
NCi
(3 )
, i I.
000480
1.
2.
3.
4.
5.
Pa ,b =
0,
otherwise
relation between and NCi and NCj, we may finally take one of
the following actions:
Action b., if both 2. and 3. hold true.
Action c., if both 1. and 4. hold true.
Action d., if both 1. and 3 hold true, or in case 5. is true.
Action b. (or c., or a.), if both 2. and 4. hold true.
Action a., in case of relation 6.
The process of merging and reordering is formulated in
Listing 2. Examples of the aforementioned actions are
depicted in Fig. 2.
000481
Fig. 2. Merging and reordering of NCs. (a) initial topology (b) the rightmost
NC becomes child of its leftmost sibling NC (c) the leftmost NC becomes
child of its rightmost sibling NC (d) the two sibling NCs are merged into a
single NC.
p i := arg min d
j F i
Finish
000482
Ai =
U NC
(5 )
j Pi
Bi = {b V Pab = 0, NCi }
(6 )
Ai = Bi , NCi = 1, i I
( 7)
V. SIMULATIONS
We evaluated our algorithm with a custom made simulator.
We used the popular JGraph library for J2SE to handle the
evolving network graph throughout the topology discovery
process.
The set of sensor nodes V and the set of link loss
probabilities Q which is used to create test data are the input
parameters for the algorithm. A topology T is generated
randomly according to V and additionally for every iteration i
a measurement mi is generated according to Q. Note that our
model does not assume that link loss probability is the same
for all links. However, in the simulations we follow the
simplifying assumption that Q = (q1,q2,,qS) = (q,q,,q) to
serve our proof of concept. In our experiments we try to infer
topology T based solely on the measurements generated and
we test the convergence of the algorithm by comparing it to
the true topology of the network, T that was initially
randomly generated.
Let Ci denote the percentage of the topology that is inferred
in epoch i. Ci is calculated according to (8).
Ci =
PNF i
PNC i
(8 )
where
NC i#
S
(9 )
NFi #
=
S
(10)
PNC i =
and
PNF i
000483
sink not only obtains the global topology, but also the network
status such as residual energy or link SNR. The result can be
conceived as a graph with an energy or SNR value tag
associated to each vertex. Such awareness of the global
network status would leverage network management
operations.
REFERENCES
[1]
[2]
[3]
[4]
(a)
[5]
[6]
[7]
[8]
(b)
Fig. 5. (a) Percentage of topology discovery according to the number of
measurements for constant values of q and S. (b) Number of epochs required
for topology inference against number of nodes S for different link loss
[9]
[10]
probabilities q
[11]
[12]
[13]
[14]
[15]
[16]
000484