Skip to main content

Module je_network

Module je_network 

Source
Expand description

Shared Method-A / Method-B/C edge-list builder for the JE network export.

v5.10: extracted from output_writer::write_je_network_csv so the same logic can be reused by the datasynth-group aggregate emitter, which builds both per-entity and consolidated edge lists from many per-entity JE batches.

The builder is pure — no I/O — and returns a Vec<JeNetworkEdge>. Single-entity callers feed the result into the existing CSV writer (preserving v5.8.0 byte-identical output); group callers serialise the same struct with extra contextual columns (entity_code, is_eliminated, eliminates_ic_pair_id) added at write time.

Structs§

JeNetworkEdge
One row of the je_network output.

Functions§

build_je_network_edges
Build the Method-A / Method-B/C edge list for a batch of JEs.