DoublingRatio Class |
Namespace: Algs4Net
public class DoublingRatio
The DoublingRatio type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | MainTest |
Prints table of running times to call ThreeSum.count()
for arrays of size 250, 500, 1000, 2000, and so forth, along
with ratios of running times between successive array sizes. |
![]() ![]() | TimeTrial | Returns the amount of time to call ThreeSum.count() with N
random 6-digit integers. |
For additional documentation, see Section 1.4 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.
This class is a C# port from the original Java class DoublingRatio implementation by the respective authors.