Skip to main content

has_cycle

Function has_cycle 

Source
pub fn has_cycle<T>(graph: &Graph<T, impl Clone>) -> bool
Expand description

检测图中是否存在环