Hello Ayush, my opinion is that either approach may be suitable, and it depends on the amount of code reuse. My guess in this case is that, because ns-3 TcpLedbat is defined as a TcpCongestionOps class (and not a full TCP implementation) and because there are several changes to those congestion control operations, it may be cleaner to implement it as a separate class because you may not have a lot of code reuse, and because you probably have different attributes that only pertain to one or the other variant. I might suggest to try to implement it as TcpLedbatPlusPlus and then, once you are finished, consider whether there is a significant code reuse potential.
- Tom
Ayush Nigam --
You received this message because you are subscribed to the Google Groups "ns-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-developer...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-developers/5127f70c-a6d5-46f2-8130-0c732f9f1828n%40googlegroups.com.
Hello Tom,
Thank you for your guidance. I will proceed with implementing it as TcpLedbatPlusPlus and evaluate code reuse potential after completion.
Thanks & Regards,
Ayush