☰
In nekolib::graph::adjlist
?
Function
nekolib
::
graph
::
adjlist
::
from_root
source
·
[
−
]
pub fn from_root<T:
Clone
>( n:
usize
, es: &[(
usize
,
usize
, T)], r:
usize
) ->
Vec
<
Vec
<(
usize
, T)>>