somil_congestioncontrolalgorithm
In this example, we have a CongestionControlAlgorithm class that represents the congestion control logic. It maintains the current window size and threshold values. The handlePacketAcknowledgment method is called when a packet is acknowledged, and it adju