Skip to main content

to_gridfm_record_batches_single

Function to_gridfm_record_batches_single 

Source
pub fn to_gridfm_record_batches_single(
    net: &BalancedNetwork,
    scenario: i64,
    opts: &GridfmOptions,
) -> Result<GridfmTables>
Expand description

Build the four gridfm tables for one network, stamping scenario into the id columns. Pure (no I/O). A thin wrapper over to_gridfm_record_batches for one snapshot.

ยงErrors

As to_gridfm_record_batches, minus the batch-only shape errors a single snapshot cannot trigger.