pub enum JeNetworkMethod {
Cartesian,
A,
}Expand description
Method used to construct edges from journal entries when writing
graphs/je_network.csv (v5.8.0+).
Reference: Ivertowski (2024), Hardware Accelerated Method for Accounting Network Generation, Methods A through E.
Variants§
Cartesian
Method B (full Cartesian product) for every JE — bijective on
2-line entries (Method A) and n × m Cartesian for multi-line
entries with proportional amount allocation. Default for
backward compatibility with v5.8.0 datasets that already
consumed the Cartesian-product output, but produces O(n × m)
edges per JE — a 50-debit / 50-credit period-close
consolidation alone yields 2 500 edges, and a typical
HF-scale 1 M-line config can blow up to 200 M+ edges.
A
Method A only — emit a single edge per 2-line journal entry
(1 debit + 1 credit) and skip multi-line entries entirely.
Edge count = number of 2-line JEs (≈ 60 % of entries per the
2024 paper); per-edge confidence is exactly 1.0. Recommended
for published reference datasets where size and exactness
matter more than recall on multi-line consolidations.
Trait Implementations§
Source§impl Clone for JeNetworkMethod
impl Clone for JeNetworkMethod
Source§fn clone(&self) -> JeNetworkMethod
fn clone(&self) -> JeNetworkMethod
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for JeNetworkMethod
impl Debug for JeNetworkMethod
Source§impl Default for JeNetworkMethod
impl Default for JeNetworkMethod
Source§fn default() -> JeNetworkMethod
fn default() -> JeNetworkMethod
Source§impl<'de> Deserialize<'de> for JeNetworkMethod
impl<'de> Deserialize<'de> for JeNetworkMethod
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>,
Source§impl PartialEq for JeNetworkMethod
impl PartialEq for JeNetworkMethod
Source§fn eq(&self, other: &JeNetworkMethod) -> bool
fn eq(&self, other: &JeNetworkMethod) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for JeNetworkMethod
impl Serialize for JeNetworkMethod
impl Copy for JeNetworkMethod
impl Eq for JeNetworkMethod
impl StructuralPartialEq for JeNetworkMethod
Auto Trait Implementations§
impl Freeze for JeNetworkMethod
impl RefUnwindSafe for JeNetworkMethod
impl Send for JeNetworkMethod
impl Sync for JeNetworkMethod
impl Unpin for JeNetworkMethod
impl UnsafeUnpin for JeNetworkMethod
impl UnwindSafe for JeNetworkMethod
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
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
key and return true if they are equal.