causal-hub 0.0.5

A library for causal models, inference and discovery.
Documentation
mod datasets;
pub use datasets::*;

mod models;
pub use models::*;

/// A trait for random generators.
pub trait Random {
    /// The output type of the random generator.
    type Output;

    /// Returns a random instance of the output type.
    fn random(&mut self) -> Self::Output;
}

/// A trait for parallel random generators.
pub trait ParRandom {
    /// The output type of the parallel random generator.
    type Output;

    /// Returns a random instance of the output type in parallel.
    fn par_random(&mut self) -> Self::Output;
}