pub struct BridgeDiversity;Expand description
Fraction of distinct category pairs connected by at least one
BridgeClassification::Genuine bridge.
High = the projection creates genuine cross-domain connectors across
many category boundaries. Low = genuine bridges are concentrated in
a few pairs or absent entirely. Returns 1.0 if there are fewer
than 2 categories (no pairs to connect).
This replaces BridgeCoherence in the default composite because
genuine / total converges to ~0.50 under the quantile-based
classification floor regardless of projection quality.
BridgeDiversity has real variance across projection configurations
and directly measures the breadth of cross-domain connectivity that
globetrot’s marble dynamics and reasoning traces depend on.
Trait Implementations§
Source§impl QualityMetric for BridgeDiversity
impl QualityMetric for BridgeDiversity
Source§fn score(&self, pipeline: &SphereQLPipeline) -> f64
fn score(&self, pipeline: &SphereQLPipeline) -> f64
Evaluate the pipeline. Must return a value in
[0, 1].Source§fn score_with_components(
&self,
pipeline: &SphereQLPipeline,
) -> (f64, Vec<(String, f64, f64)>)
fn score_with_components( &self, pipeline: &SphereQLPipeline, ) -> (f64, Vec<(String, f64, f64)>)
Evaluate the pipeline and report any per-component breakdown in
the same pass. Returns
(score, components) where each
component is (name, weight, component_score). Read moreAuto Trait Implementations§
impl Freeze for BridgeDiversity
impl RefUnwindSafe for BridgeDiversity
impl Send for BridgeDiversity
impl Sync for BridgeDiversity
impl Unpin for BridgeDiversity
impl UnsafeUnpin for BridgeDiversity
impl UnwindSafe for BridgeDiversity
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> 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