/** * The `DoublingRatio` class provides a client for measuring * the running time of a method using a doubling ratio test. *

* For additional documentation, see Section 1.4 * of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne. */ export default class DoublingRatio { static MAXIMUM_INTEGER: number; /** * Returns the amount of time to call `ThreeSum.count()` with n * random 6-digit integers. * @param n the number of integers * @return amount of time (in seconds) to call `ThreeSum.count()` * with n random 6-digit integers */ static timeTrial(n: number): number; /** * 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. * * @param args the command-line arguments */ static main(): void; }