/// Helper function for computing the filler that fills gaps and completing trees
Helper function for computing the filler that fills gaps and completing trees
Helper function for computing the filler that fills gaps and completing trees
fn filler(&self) -> PathFiller {
        PathFiller {
            queue: match &self.current_subtree {
                Some(subtree) => self
                    .filled_subtree_roots
                    .iter()
                    .cloned()
                    .chain(iter::once(subtree.root()))
                    .collect(),
                None => self.filled_subtree_roots.iter().cloned().collect(),
            },
        }
    }
fn filler ( & self ) -> PathFiller { PathFiller { queue : match & self . current_subtree { Some ( subtree ) => self . filled_subtree_roots . iter ( ) . cloned ( ) . chain ( iter :: once ( subtree . root ( ) ) ) . collect ( ) , None => self . filled_subtree_roots . iter ( ) . cloned ( ) . collect ( ) , } , } }
Helper function for computing the filler that fills gaps and completing trees
Helper function for computing the filler that fills gaps and completing trees
&self