[Csci551-talk] problem with the number of messages sent/received?
johnh at ISI.EDU
Wed Mar 17 18:40:51 PST 2004
On Wed, 17 Mar 2004 17:45:28 PST, min wrote:
>Hi, dear all
> I have some problems with the number of messages sent/received. My message
>number is always half of the sample output/input when loss rate=0
> For example, in test case 2, node 1 send 14 messages to reach the final
>state. however, my implementation only used 7 messages, including acks.
> here is what happened, test case 2 is the following topology: 1-2-3,
>which means 1connects to 2, and 2 connects to 3, and no connection between 1
> for every node, if there is a change in its links, it will send a message.
>on receiving that message, the receiver will ack it.
> so for test case 2, node 1 will send 2 messages to node 2,(link=0, link=
>1). For node 2, it will send 3 messages to node 1,(link=0, link=1, link=2),
>and node 1 will ack all of them. Same thing, node 1 will ack 2 messages from
> so the total message send by node 1 is 7, but sample test cases output say
>it is 14.
> Could anyone help me with this?
> samething happened for test case 4
You are not required to get exactly the same message counts as our
However, we will look at message counts to make sure they're
More information about the Csci551-talk