pub struct Vf2Subisomorphism {
pub iso: bool,
pub map21: Vec<u32>,
pub map12: Vec<Option<u32>>,
}Expand description
Result of a VF2 subgraph-isomorphism test (subisomorphic_vf2).
Fields§
§iso: boolWhether the pattern (graph2) is a subgraph of the target (graph1).
map21: Vec<u32>The embedding of the pattern into the target: map21[j] is the vertex
of graph1 that pattern vertex j maps to. Empty when no embedding
exists.
map12: Vec<Option<u32>>The reverse view: map12[i] is Some(p) when target vertex i hosts
pattern vertex p, or None when it is unused by the embedding. Empty
when no embedding exists.
Trait Implementations§
Source§impl Clone for Vf2Subisomorphism
impl Clone for Vf2Subisomorphism
Source§fn clone(&self) -> Vf2Subisomorphism
fn clone(&self) -> Vf2Subisomorphism
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Vf2Subisomorphism
impl RefUnwindSafe for Vf2Subisomorphism
impl Send for Vf2Subisomorphism
impl Sync for Vf2Subisomorphism
impl Unpin for Vf2Subisomorphism
impl UnsafeUnpin for Vf2Subisomorphism
impl UnwindSafe for Vf2Subisomorphism
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