pub struct Lowlink {
pub size: usize,
pub ord: Vec<usize>,
pub low: Vec<usize>,
pub par: Vec<Option<usize>>,
pub ch: Vec<Vec<usize>>,
pub back: Vec<Vec<usize>>,
}
Expand description
Lowlink
Fields§
§size: usize
グラフの頂点数
ord: Vec<usize>
DFSで頂点を訪れた順番
low: Vec<usize>
DFS木を葉方向に0回以上、後退辺を1回以下辿って到達可能な頂点のord
の最小値
par: Vec<Option<usize>>
DFS木での親ノード
ch: Vec<Vec<usize>>
DFS木での子ノード
back: Vec<Vec<usize>>
par, chのどちらにも属さないノード
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lowlink
impl RefUnwindSafe for Lowlink
impl Send for Lowlink
impl Sync for Lowlink
impl Unpin for Lowlink
impl UnwindSafe for Lowlink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more