issues
search
jmshahen
/
ECE358_Projects
0
stars
0
forks
source link
Computer Functions
#16
Closed
jmshahen
closed
11 years ago
jmshahen
commented
11 years ago
Computer - class with functions:
init(A, L, W, LAN)
gen_packet(float64 A)
generate a packet in accordance to A packets per seconds (Poisson distribution)
Send to queue (channel)
CSMA_protocol(Packet *p)
follows the CSMA/CD protocol for the LAN
Wait on the packet channel
Computer - class with functions: