*Function* **Topology Maintenance Algorithm** at node (*v*): |

(1) Broadcast beacon message to neighbor |

(2) Receive beacon message from each neighbor |

(3) |

(4) If is miss |

(5) Trigger *Topology Construction Algorithm * |

(6) End If |

(7) If |

(8) Trigger *Topology Construction Algorithm * |

(9) End If |

(10) If < |

(11) Trigger *Topology Construction Algorithm * |

(12) End If |