pub struct BetaWeightedGabriel {
pub graph: Graph,
pub weights: Vec<f64>,
}Expand description
A Gabriel graph together with the per-edge β-threshold weights.
weights[e] is aligned with edge index e of graph (the edges are
emitted in increasing (min, max) endpoint order). Each weight is the β
value at which the edge leaves the lune-based β-skeleton, or
f64::INFINITY for an edge that persists beyond max_beta.
Fields§
§graph: GraphThe Gabriel graph on points.len() vertices.
weights: Vec<f64>Per-edge β-thresholds, aligned with graph’s edge indices.
Trait Implementations§
Source§impl Clone for BetaWeightedGabriel
impl Clone for BetaWeightedGabriel
Source§fn clone(&self) -> BetaWeightedGabriel
fn clone(&self) -> BetaWeightedGabriel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for BetaWeightedGabriel
impl !RefUnwindSafe for BetaWeightedGabriel
impl Send for BetaWeightedGabriel
impl !Sync for BetaWeightedGabriel
impl Unpin for BetaWeightedGabriel
impl UnsafeUnpin for BetaWeightedGabriel
impl UnwindSafe for BetaWeightedGabriel
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