1 2 3 4 5 6 7 8 9 10 11 12 13
//! Tree labels used by ranking algorithms. #[derive(Debug, Clone, Default, PartialEq)] pub struct TreeNodeLabel { pub low: i32, pub lim: i32, pub parent: Option<String>, } #[derive(Debug, Clone, Default, PartialEq)] pub struct TreeEdgeLabel { pub cutvalue: f64, }