pub enum GraphMotif {
CircularFlow {
length: usize,
},
StarPattern {
min_spokes: usize,
},
BackAndForth,
Clique {
size: usize,
},
Chain {
length: usize,
},
FunnelPattern {
sources: usize,
},
}Expand description
Types of graph motifs relevant for anomaly detection.
Variants§
CircularFlow
Circular transaction flow (A -> B -> C -> A).
StarPattern
Star pattern with central hub node.
BackAndForth
Back-and-forth transactions between two nodes.
Clique
Fully connected subgraph.
Chain
Linear chain of transactions.
FunnelPattern
Multiple sources flowing to single target (funnel/aggregation).
Implementations§
Trait Implementations§
Source§impl Clone for GraphMotif
impl Clone for GraphMotif
Source§fn clone(&self) -> GraphMotif
fn clone(&self) -> GraphMotif
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 moreSource§impl Debug for GraphMotif
impl Debug for GraphMotif
Source§impl<'de> Deserialize<'de> for GraphMotif
impl<'de> Deserialize<'de> for GraphMotif
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for GraphMotif
impl Hash for GraphMotif
Source§impl PartialEq for GraphMotif
impl PartialEq for GraphMotif
Source§impl Serialize for GraphMotif
impl Serialize for GraphMotif
impl Eq for GraphMotif
impl StructuralPartialEq for GraphMotif
Auto Trait Implementations§
impl Freeze for GraphMotif
impl RefUnwindSafe for GraphMotif
impl Send for GraphMotif
impl Sync for GraphMotif
impl Unpin for GraphMotif
impl UnwindSafe for GraphMotif
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.