pub struct BridgeItem {
pub item_index: usize,
pub source_category: usize,
pub target_category: usize,
pub affinity_to_source: f64,
pub affinity_to_target: f64,
pub bridge_strength: f64,
}Expand description
An item that semantically spans two categories.
Bridge items are closer to a foreign category’s centroid than to the median distance within their own category. They are the conceptual connectors that make cross-domain paths meaningful.
Fields§
§item_index: usizeIndex of this item in the pipeline’s item list.
source_category: usizeThe item’s own category index.
target_category: usizeThe foreign category this item bridges toward.
affinity_to_source: f64Cosine similarity to own category centroid (in high-D space).
affinity_to_target: f64Cosine similarity to foreign category centroid (in high-D space).
bridge_strength: f64Bridge strength: harmonic mean of the two affinities. Higher = equally strong connection to both domains.
Trait Implementations§
Source§impl Clone for BridgeItem
impl Clone for BridgeItem
Source§fn clone(&self) -> BridgeItem
fn clone(&self) -> BridgeItem
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 BridgeItem
impl RefUnwindSafe for BridgeItem
impl Send for BridgeItem
impl Sync for BridgeItem
impl Unpin for BridgeItem
impl UnsafeUnpin for BridgeItem
impl UnwindSafe for BridgeItem
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