haar_
lib
0.1.0
In haar_
lib::
graph::
detect_
cycle
haar_lib
::
graph
::
detect_cycle
Function
detect_cycle
Copy item path
Source
pub fn detect_cycle<D:
Direction
, E:
EdgeTrait
>( g: &
Graph
<D, E>, ) ->
Option
<
Vec
<
&E
>>
Expand description
有向グラフの閉路検出