Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simulation of K-Clustering in a Wireless Ad-Hoc Network using a decentralized Local Search Supervised by: Dr. Rachel Ben- Eliyahu Kirill Kazatsker Daniel.

Similar presentations


Presentation on theme: "Simulation of K-Clustering in a Wireless Ad-Hoc Network using a decentralized Local Search Supervised by: Dr. Rachel Ben- Eliyahu Kirill Kazatsker Daniel."— Presentation transcript:

1 Simulation of K-Clustering in a Wireless Ad-Hoc Network using a decentralized Local Search Supervised by: Dr. Rachel Ben- Eliyahu Kirill Kazatsker Daniel Witkin Communication Systems Engineering Department Ben - Gurion University, Israel

2 Motivation K – Clustering Algorithm using Local Search technique is known. The Algorithm gave the network good partition results when compared with other similar algorithms. To make the algorithm suitable for Ad-Hoc Wireless networks it must be decentralized.

3 Project’s Goal To make a decentralized form of an existing K – Clustering Algorithm. To perform a simulation of this algorithm (in Omnet++ environment), while comparing it to the centralized one.

4 Project’s Steps Initial Studying –Learning given K-cluster algorithm –Learning Omnet++ environment Decentralized algorithm design –Designing an initial solution –Designing a neighboring solution Implementation (Omnet++) –Implementation of an Initial Partition –Improving the Initial Partition –Performing statistics and comparison of the simulation outcome

5 Background Wireless Ad-Hoc networks are made up of end- points that communicate, in a dynamic environment. Networks of this kind contain end-points with a short battery life, limited bandwidth and a relative large number of errors.

6 Why Clusters? Improve performance. Divide these networks into groups called Clusters Each end-point will hold only some of the information regarding the network topology (only information regarding the Cluster). We can reduce the number of transmitted packets in the network. Thus prolonging the battery life.

7 Ad-Hoc Network without clustering

8 Ad-Hoc Network with clustering B J C I O Denote Cluster-heads

9 Problem Definition Given: A graph G(v,e) and a natural number K, Find: A minimal number C so that it is possible to divide V into clusters. When for every cluster V1; :::; Vc DIAM(G[Vi]) is equal to K.

10 The Algorithm Two primary stages: 1.Generating an Initial Partition 2.Improving the Current Partition

11 Centralized Algorithm Example Initial state K = 2 -> 8 Clusters; We got the initial solution (some division, not optimal). All the next stages are stages of improvement. Now cluster 6 was chosen randomly to perform rearrangement.

12 Centralized Algorithm Example (cont) After first improvement K = 2 -> 8 Clusters We got the same number of clusters, but the clusters were changed. Now we go to the second cycle of rearrangement and choose cluster number 2.

13 Centralized Algorithm Example (cont 2) After second improvement K = 2 >> 7 Clusters We got 7 clusters. So, the network was improved: the number of clusters was decreased by one. From now on the network can be improved in the same way, by using the rearrangement local search technique, over and over again.

14 Distributed Algorithm: Definitions n – The number of nodes in the network. ClusterID – Each node will hold the ID of its Cluster head (CH). A node can be in one a four states –IDLE ; ANSW ; REAR ; WAIT Commands used in the algorithm –REARRANGE ; CONFIRM ; INIT ; TERMINATE ; APPROVED ; LEADER

15 Distributed Algorithm: State Machine IDLE WAIT REAR ANSW Got rearrange invitation Sent rearrange message (Stage 1) Got Timeout and All Confirm messages Got first message from its cluster head (stage 2) ClusterHead waked up Sent rearrange messages to the neighbor cluster heads Rearrangement finished

16 Distributed Algorithm: Network Message 1.Source – ID of the station that sends the message. 2.Destination – ID of the destination station. 3.HopCount – number of hops that message passed until now. 4.Command – instruction for the destination station. 5.Leader – the ID of the CH (if it exists). 6.ClusterPath – clusters, the message passed through. 7.NodesPath – nodes, the message passed through (for routing). Source Destination HopCountCommandLeader NodesPathClusterPath

17 Distributed Algorithm: Implementation We are using Omnet++ environment in order to implement our algorithm. Each node will consist of two layers: –Physical layer – In charge of sending and receiving messages. –Mobile layer –In charge of mobility and self messaging.

18 Distributed Algorithm: Omnet Simulation

19 What Next? Up until now we have implemented the initial state in omnet++. Next we will implement the neighboring state and compare it to the centralized algorithm.

20 Questions?


Download ppt "Simulation of K-Clustering in a Wireless Ad-Hoc Network using a decentralized Local Search Supervised by: Dr. Rachel Ben- Eliyahu Kirill Kazatsker Daniel."

Similar presentations


Ads by Google