pub struct State {
pub degrees: Vec<isize>,
pub next_sigma: Vec<usize>,
pub next_on_path: Vec<usize>,
pub visited: Vec<bool>,
pub pre: Vec<usize>,
pub lowpt: Vec<usize>,
pub count: usize,
pub num_descendants: Vec<usize>,
pub path_u: usize,
pub sigma: Vec<Vec<usize>>,
}Fields§
§degrees: Vec<isize>§next_sigma: Vec<usize>§next_on_path: Vec<usize>§visited: Vec<bool>§pre: Vec<usize>§lowpt: Vec<usize>§count: usize§num_descendants: Vec<usize>§path_u: usize§sigma: Vec<Vec<usize>>Implementations§
Source§impl State
impl State
pub fn initialize(graph: &FxMapGraph) -> State
pub fn mut_recur(&mut self, w: usize)
pub fn components(&self) -> &Vec<Vec<usize>>
pub fn is_back_edge(&self, u: usize, v: usize) -> bool
pub fn is_null_path(&self, u: usize) -> bool
pub fn absorb_path(&mut self, root: usize, path: usize, end: Option<usize>)
pub fn sigma_iter(&self, start: usize) -> SigmaIter<'_> ⓘ
pub fn add_component(&mut self, start: usize)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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