Skip to content

Commit d4fdb8c

Browse files
feat: increase data points and sample sizes for complexity analysis
- Increased test sizes from 6 to 12 data points: [5, 10, 20, 30, 40, 50, 60, 80, 100, 120, 150, 200] - Doubled max size from 100x100 to 200x200 matrices - Increased iterations from 10 to 20 for more stable averages Co-authored-by: samueltardieu <44656+samueltardieu@users.noreply.github.com>
1 parent 694f614 commit d4fdb8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/kuhn_munkres_complexity.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ use rand_xorshift::XorShiftRng;
1111
use std::time::Instant;
1212

1313
/// Test sizes to use for complexity analysis
14-
const TEST_SIZES: &[usize] = &[5, 10, 20, 40, 80, 100];
14+
const TEST_SIZES: &[usize] = &[5, 10, 20, 30, 40, 50, 60, 80, 100, 120, 150, 200];
1515

1616
/// Number of iterations to average for each size
17-
const ITERATIONS: usize = 10;
17+
const ITERATIONS: usize = 20;
1818

1919
/// Structure to hold timing results for a specific size
2020
struct TimingResult {

0 commit comments

Comments
 (0)