Return-Path: william@bourbon.usc.edu Delivery-Date: Sun Sep 28 20:09:15 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m8T39Fr7007437 for ; Sun, 28 Sep 2008 20:09:15 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m8T3DEbP026227 for ; Sun, 28 Sep 2008 20:13:14 -0700 Message-Id: <200809290313.m8T3DEbP026227@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: cs551 part1 Date: Sun, 28 Sep 2008 20:13:13 -0700 From: Bill Cheng Someone wrote: > MinNeighbors gives the number of neighbors a node must have . Now , > if one of the node's(Already part of SERVANT) neighbors count goes below > the MinNeighbors count(because Neighbors can die) what should it do? > 1) should it shut down and delete the Init_Neighbor_list file . > 2) OR it should send "check" messages and continue as normal if its still > in the SERVANT network. The definition of MinNeighbors is: The minimum number of neighbors a node needs to establish connections with *when it comes up*. So, you should only check the number of neighbors a node can connect to when it comes up. The answer to your question is (2). -- Bill Cheng // bill.cheng@usc.edu