pub struct PatternMatch {
pub event_type_counts: HashMap<u8, usize>,
pub edge_type_counts: HashMap<u8, usize>,
pub causal_chain_depth: u32,
pub branching_factor: f32,
}Expand description
A structural fingerprint of a subgraph for comparison.
Fields§
§event_type_counts: HashMap<u8, usize>Count of each EventType in the subgraph.
edge_type_counts: HashMap<u8, usize>Count of each EdgeType in the subgraph.
causal_chain_depth: u32Maximum depth of causal chains (CausedBy edges).
branching_factor: f32Average branching factor (outgoing edges per node).
Trait Implementations§
Source§impl Clone for PatternMatch
impl Clone for PatternMatch
Source§fn clone(&self) -> PatternMatch
fn clone(&self) -> PatternMatch
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 PatternMatch
impl RefUnwindSafe for PatternMatch
impl Send for PatternMatch
impl Sync for PatternMatch
impl Unpin for PatternMatch
impl UnsafeUnpin for PatternMatch
impl UnwindSafe for PatternMatch
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