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

Slot Conflict Count

Count half-open reservations overlapping a proposed half-open time slot. Ignore empty reservations.

Source repository · Package JSON

Use Slot Conflict Count

use vendor::slot_conflict_count::slot_conflict_count;

Run the example

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

fn main() {
    println!(slot_conflict_count([0,5,8],[5,7,9],5.0,8.0));
}

Expected output

1

Published versions

VersionPackageSource commitSHA-256
0.1.1Download ZIP · Browse files53580216f7d3fc209afea6e9ad8958610bf730d6686faf0eca6652ab6408799e8e7f523616
0.1.0Download ZIP · Browse files6349f2378459af84dd6a5a86483d2bb8266a46291a3810263d43f9f51bc10acd1a8e944a4c