clustering in ad hoc networks

Upload: riyas-tk

Post on 04-Jun-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Clustering in Ad Hoc Networks

    1/45

    Algorithms For Clustering In Ad Hoc Networks

    Presented For Your Enjoyment By Team 4Jim KileDon Little

    Samir Shah

  • 8/13/2019 Clustering in Ad Hoc Networks

    2/45

    2

    What Is An Ad Hoc Network?

    Wireless computer networkNo central control

    Computers talking to each otherSuitable for

    Conference rooms

    ClassroomsBattlefieldsWearable computing

  • 8/13/2019 Clustering in Ad Hoc Networks

    3/45

    3

    What Is Clustering In Ad-hocNetworks?

    Partitioning wireless device nodesinto groups

    Each group has clusterheadOversee channel allocationMessage routing within clusterMessage routing between clusters

    Ordinary nodes within theclusterhead's transmission range

  • 8/13/2019 Clustering in Ad Hoc Networks

    4/45

    4

    What Are Benefits Of Clustering?

    Controlling spatial reuse of sharedchannelBuilding/maintaining cluster-based virtualnetwork architectures

  • 8/13/2019 Clustering in Ad Hoc Networks

    5/45

    5

    What Are Benefits Of Clustering?Routing

    Minimizing amount of data exchangedfor routing

    Lower cost fewer routes

    Simplify routing tables/structure Abstract network structure

    Higher level structure unaffected by localtopology changes

  • 8/13/2019 Clustering in Ad Hoc Networks

    6/45

    6

    What Are Goals Of Clustering?

    1) At least 1 neighboring clusterhead Allows fast communications between nodes

    2) Nodes connected to best" clusterhead 3) Clusterheads well scattered throughout

    the network

  • 8/13/2019 Clustering in Ad Hoc Networks

    7/45

    7

    Why Is Clustering Important?Infrastructure

    WiredWell defined infrastructureNetwork structure is staticLink failure is infrequent

    WirelessInfrastructure-less

    Rapid topology changeFrequent link failures

    Routes calculated frequently

  • 8/13/2019 Clustering in Ad Hoc Networks

    8/45

    8

    Why Is Clustering Important?Range

    WiredTransmission range is largeEach node responsible for

    Its own communicationsWireless

    Transmission range is small relative to network sizeEach node responsible for:

    Its own communicationsForwarding communication from others ( multihop )

  • 8/13/2019 Clustering in Ad Hoc Networks

    9/45

    9

    Why Is Clustering Important?Power

    WiredVirtually unlimited power

    WirelessVery limited power

  • 8/13/2019 Clustering in Ad Hoc Networks

    10/45

    10

    Why Is Clustering Important?Routing Algorithm

    WiredPre-calculated routing algorithmDesigned for relatively stable networks

    WirelessNew algorithmDesigned for

    Mobile unitsTopology continuously changing

  • 8/13/2019 Clustering in Ad Hoc Networks

    11/45

    11

    How are Clusters Represented?

    Graph G = (V E)Vertices (V) represent individual nodesEdge (E) connection between two verticeswithin range

  • 8/13/2019 Clustering in Ad Hoc Networks

    12/45

    12

    Abstracting Network Topology

    BLUE = network structure

    BLACK VERTICES = clusterheads

    BLACK EDGES = virtual connectionsbetween clusters

  • 8/13/2019 Clustering in Ad Hoc Networks

    13/45

    13

    How Are Clusterheads Chosen?

    Approximating Minimum Size Weakly-Connected Dominating Sets For ClusteringMobil Ad Hoc Networks

    Criterion: domination in graphs

    Distributed Clustering For Ad Hoc NetworksCriterion: generic weight

  • 8/13/2019 Clustering in Ad Hoc Networks

    14/45

    FIRST PAPER

    Approximating Minimum SizeWeakly-Connected Dominating

    Sets For Clustering Mobil Ad HocNetworks

  • 8/13/2019 Clustering in Ad Hoc Networks

    15/45

    Papers Main Contribution

    Finding a completely distributedalgorithm for identifying small weaklyconnected dominating sets

  • 8/13/2019 Clustering in Ad Hoc Networks

    16/45

    16

    Algorithms Presented

    Presented 5 algorithms Analyzed 2 algorithms

    Their most important algorithm coveredhere Algorithm V Distributed Asynchronous Approach

  • 8/13/2019 Clustering in Ad Hoc Networks

    17/45

    17

    Dominating Set Of A Graph

    S

    V vV S

    over aoadjacentorineitheris

    exevery vertsuch that,subsetvertexais

    E(VGgraphaof setdominatingA

  • 8/13/2019 Clustering in Ad Hoc Networks

    18/45

    18

    Black Vertices Form Dominating Set

  • 8/13/2019 Clustering in Ad Hoc Networks

    19/45

    19

    Black Vertices Form Dominating Set

    Vertices of dominating set =clusterheads

    Assign each vertex to clustercorresponding to dominating vertexOptimize smallest dominating set

    Simplify the network structureFind ing a m in imu m s ize dom inat ing se tin a general g raph i s np -co m ple te

  • 8/13/2019 Clustering in Ad Hoc Networks

    20/45

    20

    Connected Dominating Set (CDS)

    Dominating set whose induced subgraphis connectedInduced subgraph used for routingmessages between clustersConnectivity requirement causes largenumber of clustersFind ing m in imu m s ize co nnec teddo m inat ing se t is NP-co m ple te

  • 8/13/2019 Clustering in Ad Hoc Networks

    21/45

    21

    Connected Dominating Set

    BLUE = network structureBLACK VERTICES = clusterheads

    BLACK LINES = induced subgraph

  • 8/13/2019 Clustering in Ad Hoc Networks

    22/45

    22

    Weakly-Connected Dominating Set(WCDS)

    set vertetheas neighborstheirof alland Sinverticestheincludes

    .))(,(gthis)( byinduced eaklySubgraph w

    w

    w

    S

    xS S N E S N S

    V S S

  • 8/13/2019 Clustering in Ad Hoc Networks

    23/45

    23

    Weakly-Connected Dominating Set(WCDS)

    Remove edgesResulting in a sparser structure

    Can yield fewer clusters than CDS

  • 8/13/2019 Clustering in Ad Hoc Networks

    24/45

    24

    Desired Graph Properties

    Goal is to find a small weakly-connecteddominating set in order to abstract thenetwork structure as much as possibleSmaller values are preferredImprovement number of pieces thatwould be merged into a single cluster ifthat piece were clusterhead

  • 8/13/2019 Clustering in Ad Hoc Networks

    25/45

    25

    Assumptions

    We assume every node knows the roleand piece ID information of all itsneighborsEach device has own internal decisionmechanism to determine its own (local)best candidateMultiple clusterheads are grown inparallel

  • 8/13/2019 Clustering in Ad Hoc Networks

    26/45

    26

    How Are Node Roles Shown?

    Algorithms uses color to display role ofthe vertex

    White not assigned to any clusterGrey assigned to a cluster but notclusterheadBlack clusterhead

  • 8/13/2019 Clustering in Ad Hoc Networks

    27/45

    27

    Algorithm - Beginning

    Each node starts out NOTconnected to any other node

    Initially white-not connected to clusterChange color as the algorithm progresses

  • 8/13/2019 Clustering in Ad Hoc Networks

    28/45

    28

    Algorithm - Each Iteration

    Gray and white node calculate clustersize if they were the clusterheadNode with largest improvement in itsclosed neighborhood is new clusterheadChosen candidate node colored black

    Neighboring white verticesColored gray - member of clusterMerged into the cluster

  • 8/13/2019 Clustering in Ad Hoc Networks

    29/45

    29

    Algorithm - Termination

    Algorithm terminates when no pieceshows improvementBlack vertices constitute a Weakly-Connected Dominating Set

  • 8/13/2019 Clustering in Ad Hoc Networks

    30/45

    30

    Prior To First Iteration

  • 8/13/2019 Clustering in Ad Hoc Networks

    31/45

    31

    After First Iteration

  • 8/13/2019 Clustering in Ad Hoc Networks

    32/45

    32

    Authors Evaluation Methodology

    Generate random graphs repeatedlyRan this algorithm against test algorithmfrom othersCompute dominating set sizeSmallest dominating set is best

  • 8/13/2019 Clustering in Ad Hoc Networks

    33/45

    33

    Authors Evaluation Setup

    Place vertices randomly in a rectangular areain 2D-plane

    Two levels of density40 to 200 vertices

    Assign each node a transmission range According to a normal distributionCentered at a predefined expected value

    When two nodes are placed within range of

    each other An edge is added between the verticesSimulates a reliable link between them

  • 8/13/2019 Clustering in Ad Hoc Networks

    34/45

    34

    Authors Evaluation Conclusion

    For each randomly generated networkMeasure the dominating set size resultingfrom the algorithms

    Authors believe demonstrated that theiralgorithm generated smaller dominatingsets

  • 8/13/2019 Clustering in Ad Hoc Networks

    35/45

    35

    Why They Are Wrong*

    No reason to believe that algorithmachieved optimum placement

    Could be local optima

    No reason to believe that algorithm theytested against is idealEvaluated in 2D world

    Does this generalize to 3D world?

    *terminology per Dr Cha

  • 8/13/2019 Clustering in Ad Hoc Networks

    36/45

    SECOND PAPER

    Distributed Clustering For Ad HocNetworks

  • 8/13/2019 Clustering in Ad Hoc Networks

    37/45

    37

    Algorithm Presented

    Presented 2 algorithmsSelected the Distributed Clustering

    Algorithm (DCA)

  • 8/13/2019 Clustering in Ad Hoc Networks

    38/45

    38

    Clustering Based Upon Weight

    Each node has arbitrary weight assigned Allow designer to choose nodes that arebetter suited for clusterhead role

    Hand carried devices would have a lowerweight than vehicle carried devices

    Clusterhead has largest generic weightin the neighborhood

  • 8/13/2019 Clustering in Ad Hoc Networks

    39/45

    39

    Desired Graph Properties

    1) Every ordinary node has at least aclusterhead as neighbor (dominanceproperty)

    2) Every ordinary node affiliates with theneighboring clusterhead that has thebigger weight

    3) No two clusterheads can be neighbors(independence property)

  • 8/13/2019 Clustering in Ad Hoc Networks

    40/45

    40

    Assumptions

    Same as first paper Author emphasis that sole knowledge ofthe topology local to each node

  • 8/13/2019 Clustering in Ad Hoc Networks

    41/45

    41

    Algorithm

    At startup each node announces itsweightNodes with the highest weigh announcethat they are clusterheadsNodes with lower weights join clustersNode decides which role to assume onlywhen all its neighbors with biggerweights have decided their own roles

  • 8/13/2019 Clustering in Ad Hoc Networks

    42/45

    42

    Authors Evaluation

    Easy to implementTime complexity

    Changing topology of the ad hoc networkRather than size of the network

  • 8/13/2019 Clustering in Ad Hoc Networks

    43/45

    43

    Why They Are Wrong*

    Weights would be difficult to assign aprioriNo reason to believe that algorithmachieved optimum placement

    Could be local optima

    No demonstration that algorithm worked

    *terminology per Dr Cha

    P t Di i

  • 8/13/2019 Clustering in Ad Hoc Networks

    44/45

    44

    Presenters Discussion Same

    Node decides its own role (clusterhead orordinary node)

    Knowing its current one hop neighbors As opposed to the knowledge of one and two hopneighbors as required by previous algorithms

    Both algorithms are executed at each node Assumes nodes know identity of the one hopneighborsOrganizes network with same clusteringstructure

    P t Di i

  • 8/13/2019 Clustering in Ad Hoc Networks

    45/45

    Presenters Discussion Different

    Paper 1Metric is smallest number of clustersEvaluation based upon creating clusters withthe largest possible number of nodesMetric calculated by nodes

    Paper 2

    Uses arbitrary weight assigned to each nodeWeight represents its ability to be a clusterhead