pub struct ClusterOrder {
pub si: usize,
pub classes: Vec<u32>,
pub run_tiles: Vec<usize>,
}Expand description
The class clusters of one subject-leading order (0x07, flag
F_CLUSTERED): a permutation of the default graph (si 0 to 5, SPO or
SOP) or the quad index’s SPOG (si QUAD_SPOG). Its tiles are k + 1 consecutive runs: run 0 holds the
subjects of no listed class, run i (1-based) those whose primary class is
classes[i - 1]. Within a run the tiles are in (s, p, o) order like an
unclustered permutation; no tile and no directory leaf spans two runs.
Fields§
§si: usizeSection index of the permutation (IndexPermutation::section_index), or
QUAD_SPOG for the quad index’s SPOG (its quad slot).
classes: Vec<u32>The class of runs 1..=k, as object ids, rarest last.
run_tiles: Vec<usize>Tiles of each run, run 0 first (classes.len() + 1 entries).
Trait Implementations§
Source§impl Clone for ClusterOrder
impl Clone for ClusterOrder
Source§fn clone(&self) -> ClusterOrder
fn clone(&self) -> ClusterOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClusterOrder
impl Debug for ClusterOrder
Source§impl Default for ClusterOrder
impl Default for ClusterOrder
Source§fn default() -> ClusterOrder
fn default() -> ClusterOrder
Returns the “default value” for a type. Read more
impl Eq for ClusterOrder
Source§impl PartialEq for ClusterOrder
impl PartialEq for ClusterOrder
impl StructuralPartialEq for ClusterOrder
Auto Trait Implementations§
impl Forget for ClusterOrder
impl Freeze for ClusterOrder
impl Move for ClusterOrder
impl RefUnwindSafe for ClusterOrder
impl Send for ClusterOrder
impl Sync for ClusterOrder
impl Unpin for ClusterOrder
impl UnsafeUnpin for ClusterOrder
impl UnwindSafe for ClusterOrder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.