Question: solve the following; no need for code; just written solution & answers with clarification For illustration purposes. we use the following network: edges = [
solve the following; no need for code; just written solution & answers with clarification
For illustration purposes. we use the following network:
edges
s
ssssss
s
Centralized approaches:
In the data Warehouse approach all sensor readings are first sent individually to the sink. Then, the latter performs data analytics on the received readings. In the innetwork processing, rather sending all the readings to the sink, intermediary nodes in the spanning tree can perform data processing locallyieselecting the max, min, etc.before forwarding the result upper node. In both approaches, it is necessary to construct a spanning tree.
Construct one possible spanning tree to be used for this examplefor consider Node S as the sink
Calculate the corresponding cost in term of number of communications
We consider the following request: select mintempfrom sensors
Give the average cost in term of number of hops for the evaluation of this request using warehouse approach
Same evaluation using innetwork processing approach
What are the main drawbacks of centralized approaches?
Serial approach:
In the serial approaches, the processing usually starts from one node, called starting nodeieNodeSin our exampleEach node receiving the message will, at its turn, process the received message and select the next hop. This is why we called them serial approaches.
GBT Algorithm if composed of tow rules, greedy RuleGRand boundary Traversal RuleBTRused by each node holding the query message. The query starts from the sink.
Greedy Rule GR: This rule is applied first by the current node and states that among unvisited neighbors, the next hop is the closest one to the SINK. In other words, based on the coordinates of the SINK, available in the message, the current node computes the distances between the SINK and all its unvisited neighbors and chooses the one with the smallest distance. It sends then the message next hop. When a node is not able to apply the greedy rule ie all its neighbors have been it applies the second rule, known as the Boundary Traversal Rule BTR
Boundary Traversal Rule BTR:The objective behind this rule is to allow the message to travel along of the visted region to nodes or regions of the network that have not yet been visited. iggers the boundary traversal process initiates the curved stick outside until a neighbor is hit
This neighbor is then selected as the next hop. Before sending to it the message, the current node updates the flag RF in order to indicate that the current rule is the boundary traversal rule. This kind of message, which does not change the current query value, is known as the Boundary Traversal Rule BTR message. The next hop will apply the same rule whenever the greedy rule is not possible.
Provide the sequence of visited nodes by GBT on the example as well as their nature GR or BTR
How can GBT stops?
Provide an evaluation of GBT in term of number of communications on the example above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
