use crate::{ProbabilisticType, SampledValue, UncertainError, UncertainNodeContent};
use deep_causality_ast::ConstTree;
pub trait Sampler<T: ProbabilisticType> {
fn sample(
&self,
root_node: &ConstTree<UncertainNodeContent>,
) -> Result<SampledValue, UncertainError>;
}