pub fn unreachable_vertices(&self, index: usize) -> Result<FxHashSet<usize>> {
        let reachable_vertices = self.reachable_vertices(index)?;
        Ok(self
            .vertices
            .keys()
            .filter(|index| !reachable_vertices.contains(index))
            .cloned()
            .collect())
    }
/// Computes the set of vertices unreachable from the given index.
Computes the set of vertices unreachable from the given index.
Computes the set of vertices unreachable from the given index .
pub fn unreachable_vertices(&self, index: usize) -> Result<FxHashSet<usize>> {
        let reachable_vertices = self.reachable_vertices(index)?;
        Ok(self
            .vertices
            .keys()
            .filter(|index| !reachable_vertices.contains(index))
            .cloned()
            .collect())
    }
pub fn unreachable_vertices ( & self , index : usize ) -> Result < FxHashSet < usize > > { let reachable_vertices = self . reachable_vertices ( index ) ? ; Ok ( self . vertices . keys ( ) . filter ( | index | ! reachable_vertices . contains ( index ) ) . cloned ( ) . collect ( ) ) }
Computes the set of vertices unreachable from the given index.
Computes the set of vertices unreachable from the given index .
&self
index
usize
&self
index
usize