pub struct CollapseFeatures {
pub fiedler_u: f64,
pub fiedler_v: f64,
pub edge_weight: f64,
pub current_lambda2: f64,
pub spectral_gap: f64,
pub graph_density: f64,
pub node_count: f64,
pub degree_u: f64,
pub degree_v: f64,
}Expand description
Feature vector for the causal collapse correction model.
Fields§
§fiedler_u: f64Fiedler vector component for the source node.
fiedler_v: f64Fiedler vector component for the target node.
edge_weight: f64Edge weight.
current_lambda2: f64Current algebraic connectivity.
spectral_gap: f64Spectral gap (lambda_3 - lambda_2).
graph_density: f64Graph edge density.
node_count: f64Number of nodes in the graph.
degree_u: f64Degree of the source node.
degree_v: f64Degree of the target node.
Trait Implementations§
Source§impl Clone for CollapseFeatures
impl Clone for CollapseFeatures
Auto Trait Implementations§
impl Freeze for CollapseFeatures
impl RefUnwindSafe for CollapseFeatures
impl Send for CollapseFeatures
impl Sync for CollapseFeatures
impl Unpin for CollapseFeatures
impl UnsafeUnpin for CollapseFeatures
impl UnwindSafe for CollapseFeatures
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more