struct Buckets {
sinks_or_isolated: LinkedList<FasNode, FasNodeContainer, FasNodeIndex>,
sources: LinkedList<FasNode, FasNodeContainer, FasNodeIndex>,
bidirectional_pve_dd: Vec<LinkedList<FasNode, FasNodeContainer, FasNodeIndex>>,
bidirectional_nve_dd: Vec<LinkedList<FasNode, FasNodeContainer, FasNodeIndex>>,
}Fields§
§sinks_or_isolated: LinkedList<FasNode, FasNodeContainer, FasNodeIndex>§sources: LinkedList<FasNode, FasNodeContainer, FasNodeIndex>§bidirectional_pve_dd: Vec<LinkedList<FasNode, FasNodeContainer, FasNodeIndex>>Bidirectional nodes with positive-or-0 delta degree
bidirectional_nve_dd: Vec<LinkedList<FasNode, FasNodeContainer, FasNodeIndex>>Bidirectional nodes with negative delta degree (index 0 is -1 dd, 1 is -2 etc)
Implementations§
Source§impl Buckets
impl Buckets
fn suitable_bucket( &mut self, ix: FasNodeIndex, nodes: &mut FasNodeContainer, ) -> &mut LinkedList<FasNode, FasNodeContainer, FasNodeIndex>
fn update_neighbour_node_buckets( &mut self, ix: FasNodeIndex, nodes: &mut FasNodeContainer, )
fn trim_bucket_list( list: &mut Vec<LinkedList<FasNode, FasNodeContainer, FasNodeIndex>>, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Buckets
impl RefUnwindSafe for Buckets
impl Send for Buckets
impl Sync for Buckets
impl Unpin for Buckets
impl UnsafeUnpin for Buckets
impl UnwindSafe for Buckets
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