13.07.2015 Views

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IDEA: An Iterative-Deepen<strong>in</strong>g Algorithm for Energy-Efficient Query<strong>in</strong>g 205query may term<strong>in</strong>ate before reach<strong>in</strong>g the maximum depth. Let R be the IDEArule (the iterative depths) which would be used for evaluation. The rules aredef<strong>in</strong>ed as a set of values, where the i th value, represents the number of hopsa message is forwarded <strong>in</strong> the i th iteration (this is for 1 < i < N − 1 , for aN-item set, s<strong>in</strong>ce the last value if the <strong>in</strong>ter-iteration <strong>in</strong>terval) or is halted. Let usassume d to be the item of the IDEA rule set i.e. we need to go d hops dur<strong>in</strong>gthe flood<strong>in</strong>g approach.So the energy consumption equation (1) would change to accommodate theIDEA algorithm. It would be a sum of the energy consumed to flood the query ton hops and receiv<strong>in</strong>g response messages from nodes at n hops. If the query endsbefore reach<strong>in</strong>g nodes which are n hops away, then it will not be sent to nodesthat are n hops away nor receive results from nodes which ar n hops away. Thiscondition can be mathematically represented as a constant A, which is multipliedto the naive energy consumption relation achieved above <strong>in</strong> eqn (1).A = 1 , if n is a rule <strong>in</strong> the IDEA-rule of iterationsand query Q does not end at nodes n hops away= 0 , otherwiseAnother important factor is the overhead caused <strong>by</strong> send<strong>in</strong>g the cont<strong>in</strong>uemessages. cont<strong>in</strong>ue messages are sent to nodes n hops away if:(a) depth k is <strong>in</strong> the IDEA-rule(b) query is not satisfied with<strong>in</strong> depth k before expiration(c) depth k < D (max depth i.e. highest value of IDEA-rule elements)5.3 Energy Model for T-IDEAEnergy consumption equation for token-based iterative deepen<strong>in</strong>g is similar toequation (1), for a classical flood<strong>in</strong>g approach. The only change that is <strong>in</strong>corporatedis the heuristic to decide whether a node would participate <strong>in</strong> the searchoperation <strong>in</strong> the ad hoc network, based on local decisions.6 Results6.1 Average Aggregate Energy ConsumptionFigure 1 shows the cost of each rule-item, for differnt values of <strong>in</strong>ter-iteration<strong>in</strong>terval, T, <strong>in</strong> terms of average aggregate energy consumption. Along the x-axis,we vary the rule, d i.e. number of hops. Immediately obvious <strong>in</strong> these figures arethe cost sav<strong>in</strong>gs. IDEA-Rule R 1 at T = 8 units uses just about 19% of theaggregate bandwidth per query used <strong>by</strong> classical flood<strong>in</strong>g, IDEA-Rule R 7 , andjust 41% of the aggregate process<strong>in</strong>g cost per query.To understand how such enormous sav<strong>in</strong>gs are possible, we must understandthe tradeoffs between the different rules and <strong>in</strong>ter-iteration <strong>in</strong>terval, T. Let usfocus on energy consumption per query message, <strong>in</strong> Figure 1. First, notice that

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!