pub fn is_dag(&self) -> bool {
        for (i, n) in self.nodes.iter().enumerate() {
            for &child in n.children() {
                if usize::from(child) >= i {
                    return false;
                }
            }
        }
        true
    }
/// Checks if this expr is a DAG, i.e. doesn't have any back edges
Checks if this expr is a DAG, i.e. doesn't have any back edges
Checks if this expr is a DAG i . e . doesn ' t have any back edges
pub fn is_dag(&self) -> bool {
        for (i, n) in self.nodes.iter().enumerate() {
            for &child in n.children() {
                if usize::from(child) >= i {
                    return false;
                }
            }
        }
        true
    }
pub fn is_dag ( & self ) -> bool { for ( i , n ) in self . nodes . iter ( ) . enumerate ( ) { for & child in n . children ( ) { if usize :: from ( child ) >= i { return false ; } } } true }
Checks if this expr is a DAG, i.e.
Checks if this expr is a DAG i . e .
&self
&self