pub struct IsomorphismChecker;Expand description
图同构检测器
Implementations§
Source§impl IsomorphismChecker
impl IsomorphismChecker
Sourcepub fn is_isomorphic(g1: &DirectedGraph, g2: &DirectedGraph) -> bool
pub fn is_isomorphic(g1: &DirectedGraph, g2: &DirectedGraph) -> bool
检查两个图是否同构
两个图同构当且仅当存在节点的一一映射,保持边关系。
Auto Trait Implementations§
impl Freeze for IsomorphismChecker
impl RefUnwindSafe for IsomorphismChecker
impl Send for IsomorphismChecker
impl Sync for IsomorphismChecker
impl Unpin for IsomorphismChecker
impl UnsafeUnpin for IsomorphismChecker
impl UnwindSafe for IsomorphismChecker
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