Skip to main content

write_hlcis

Function write_hlcis 

Source
pub fn write_hlcis(
    layout: &StartposLayout,
    plan: &CaiPlan,
    map_regions: &[MapRegion],
    nodes: &HashMap<usize, Vec<PathfinderNode>>,
) -> Result<RecordNode>
Expand description

Writes the HLCIs list: each region’s HLCIs, region by region.

§Arguments

  • layout - Record layouts.
  • plan - Component ids.
  • map_regions - Regions of the map, in map order.
  • nodes - Pathfinder nodes, by region index.

§Errors

Returns an error if the layout lacks the records.