pub struct NetworkGenerationConfig {Show 13 fields
pub amount_tolerance: f64,
pub max_lines_method_b: usize,
pub max_lines_method_c: usize,
pub max_partition_depth: usize,
pub enable_aggregation: bool,
pub enable_decomposition: bool,
pub suspense_account: String,
pub strict_balance: bool,
pub enable_pattern_matching: bool,
pub enable_vat_detection: bool,
pub apply_confidence_boost: bool,
pub annotate_account_classes: bool,
pub custom_vat_rates: Vec<f64>,
}Expand description
Configuration for network generation.
Fields§
§amount_tolerance: f64Tolerance for amount matching (default: 0.01).
max_lines_method_b: usizeMaximum lines for Method B (bijective matching).
max_lines_method_c: usizeMaximum lines for Method C (partition matching).
max_partition_depth: usizeMaximum partition search depth for Method C.
enable_aggregation: boolEnable Method D (aggregation).
enable_decomposition: boolEnable Method E (decomposition).
suspense_account: StringSuspense account code for unsolvable entries.
strict_balance: boolWhether to fail on unbalanced entries.
enable_pattern_matching: boolEnable pattern-based matching and confidence boosting.
enable_vat_detection: boolEnable VAT detection and flow splitting.
apply_confidence_boost: boolApply confidence boost from pattern recognition.
annotate_account_classes: boolAnnotate flows with account classes.
custom_vat_rates: Vec<f64>Custom VAT rates (in addition to built-in rates).
Trait Implementations§
Source§impl Clone for NetworkGenerationConfig
impl Clone for NetworkGenerationConfig
Source§fn clone(&self) -> NetworkGenerationConfig
fn clone(&self) -> NetworkGenerationConfig
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 NetworkGenerationConfig
impl Debug for NetworkGenerationConfig
Source§impl Default for NetworkGenerationConfig
impl Default for NetworkGenerationConfig
Source§impl<'de> Deserialize<'de> for NetworkGenerationConfig
impl<'de> Deserialize<'de> for NetworkGenerationConfig
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
Auto Trait Implementations§
impl Freeze for NetworkGenerationConfig
impl RefUnwindSafe for NetworkGenerationConfig
impl Send for NetworkGenerationConfig
impl Sync for NetworkGenerationConfig
impl Unpin for NetworkGenerationConfig
impl UnwindSafe for NetworkGenerationConfig
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.