pub struct GraphExportConfig {
pub enabled: bool,
pub graph_types: Vec<GraphTypeConfig>,
pub formats: Vec<GraphExportFormat>,
pub train_ratio: f64,
pub validation_ratio: f64,
pub split_seed: Option<u64>,
pub output_subdirectory: String,
}Expand description
Graph export configuration for accounting network and ML training exports.
This section enables exporting generated data as graphs for:
- Network reconstruction algorithms
- Graph neural network training
- Neo4j graph database import
Fields§
§enabled: boolEnable graph export.
graph_types: Vec<GraphTypeConfig>Graph types to generate.
formats: Vec<GraphExportFormat>Export formats to generate.
train_ratio: f64Train split ratio for ML datasets.
validation_ratio: f64Validation split ratio for ML datasets.
split_seed: Option<u64>Random seed for train/val/test splits.
output_subdirectory: StringOutput subdirectory for graph exports (relative to output directory).
Trait Implementations§
Source§impl Clone for GraphExportConfig
impl Clone for GraphExportConfig
Source§fn clone(&self) -> GraphExportConfig
fn clone(&self) -> GraphExportConfig
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 GraphExportConfig
impl Debug for GraphExportConfig
Source§impl Default for GraphExportConfig
impl Default for GraphExportConfig
Source§impl<'de> Deserialize<'de> for GraphExportConfig
impl<'de> Deserialize<'de> for GraphExportConfig
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 GraphExportConfig
impl RefUnwindSafe for GraphExportConfig
impl Send for GraphExportConfig
impl Sync for GraphExportConfig
impl Unpin for GraphExportConfig
impl UnwindSafe for GraphExportConfig
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