Blyx Nest Blyx language
Registry / Library
library · v0.1.1

Burst Backlog

Compute the peak queued work across synchronized arrivals followed by service at each time step. Return minus one for invalid counts.

Source repository · Package JSON

Use Burst Backlog

use vendor::burst_backlog::burst_backlog;

Run the example

nest demo burst_backlog@0.1.1
blyxc native-run burst_backlog-demo/main.blyx
Example source and expected output
use vendor::burst_backlog::burst_backlog;

fn main() {
    println!(burst_backlog([4,4],[1,9]));
}

Expected output

7

Published versions

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse filesaae0aead1263ff9b454679d973c4423ab0ebd930270435d9e4839f6285fefed20a9e299320
0.1.0Download ZIP · Browse files6349f237843e22a3bcb0a7ed9514695429d3dcca54dee5496b3275f0d4e8f80adc5295cd56