Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
How do I ask a good question?
Displaying selected article
Showing 1 of 503 articles.
Currently 36 other people reading this forum.
Hi I have a few questions about Q1.
I had originally interpreted the question to be that we write the protocol that one node would follow (ie each node runs the code in a seperate process, i suppose like our project) and found that easy enough to write the pseudo-code.
Then I had difficulty thinking of how one would determine the channel utilisation. I assume the utilisation would be number_time_slots_in_use / total_number_time_slots_in_simulation. This wouldn't work in my original setup as each node only knows its time slots in use, unless the script returned the slots that node used and another shell script calculated the overall utilisation.
I'm a bit confused as to how we would simulate all N nodes from the same code without using some form of concurrency. I think I might be completely off-track though - any help would be greatly appreciated.
Also - for the activities of sensing if the channel is idle or transmitting the frame, do we just assume there is a relevant function in our language of choice that handles this?