Skip to content

Commit

Permalink
Add code documentation's preliminaries
Browse files Browse the repository at this point in the history
  • Loading branch information
SamanEN committed Jun 16, 2023
1 parent 69f7961 commit e647e00
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions CA4 - Congestion Control Algorithms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,51 @@

### NewReno Class

#### Public Methods

##### The Constructor

##### `void sendData()`

##### `void onPacketLoss(int)`

##### `void onRTTUpdate(int)`

##### `void onSelectiveAck(int)`

##### `void log(std::ofstream&) const`

##### `void retransmit()`

##### `void run()`

#### Private Methods:

##### `double lossProbability()`

### Reno Class

#### Public Methods

##### The Constructor

##### `void sendData()`

##### `void onPacketLoss(int)`

##### `void onRTTUpdate(int)`

##### `void log(std::ofstream&) const`

##### `void retransmit()`

##### `void run()`


#### Private Methods

##### `double lossProbability()`

## Questions

### Q1. "What's the difference between congestion control and the flow control?"
Expand Down

0 comments on commit e647e00

Please sign in to comment.