pub struct CellGrid {
pub deg: f64,
pub sets: Array2<Vec<u16>>,
pub dominant: Array2<u16>,
pub tallies: Array2<Vec<(u16, u32)>>,
}Expand description
Cell arrays are [row, col]-indexed and iterate row-major, the same
order the primary table serializes in.
Fields§
§deg: f64§sets: Array2<Vec<u16>>The sorted candidate feature ids per cell, from the edge walk; an empty set means no ring passes through the cell.
dominant: Array2<u16>The dominant zone per cell from subcell ownership, or NO_ZONE if
nothing filled the cell.
tallies: Array2<Vec<(u16, u32)>>The per-cell subcell ownership tallies, mapping a candidate id to the number of subcells it owns.
Implementations§
Auto Trait Implementations§
impl Freeze for CellGrid
impl RefUnwindSafe for CellGrid
impl Send for CellGrid
impl Sync for CellGrid
impl Unpin for CellGrid
impl UnsafeUnpin for CellGrid
impl UnwindSafe for CellGrid
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more