#[derive(Debug, Clone, Default)]
pub struct EdgeValue {
    pub upper: f64,
    pub lower: f64,
    pub center: f64,
}

impl EdgeValue {
    pub fn update_value(&mut self, new_val: &EdgeValue) {
        self.upper = new_val.upper;
        self.lower = new_val.lower;
        self.center = new_val.center;
    }
}
