pub struct Graph { /* private fields */ }
Expand description
Simple Graph implementation as adjacency lists
Implementations§
Trait Implementations§
Source§impl Canonize for Graph
impl Canonize for Graph
Source§fn apply_morphism(&self, perm: &[usize]) -> Self
fn apply_morphism(&self, perm: &[usize]) -> Self
Return the result of the action of a permuation
p
on the object. Read moreSource§fn invariant_neighborhood(&self, u: usize) -> Vec<Vec<usize>>
fn invariant_neighborhood(&self, u: usize) -> Vec<Vec<usize>>
Return lists of vertices that are invariant isomorphism. Read more
Source§fn invariant_coloring(&self) -> Option<Vec<u64>>
fn invariant_coloring(&self) -> Option<Vec<u64>>
Optionally returns a value for each node that is invariant by isomorphism. Read more
Source§fn canonical_typed(&self, sigma: usize) -> Self
fn canonical_typed(&self, sigma: usize) -> Self
The “typed” objects refers to the case where only
the action of permutations that are constant
on
0..sigma
are considered. Read moreSource§fn morphism_to_canonical(&self) -> Vec<usize>
fn morphism_to_canonical(&self) -> Vec<usize>
Source§fn automorphisms(&self) -> AutomorphismIterator<Self> ⓘ
fn automorphisms(&self) -> AutomorphismIterator<Self> ⓘ
Iterator on the automorphism group of
g
. Read moreSource§fn stabilizer(&self, sigma: usize) -> AutomorphismIterator<Self> ⓘ
fn stabilizer(&self, sigma: usize) -> AutomorphismIterator<Self> ⓘ
Source§impl Ord for Graph
impl Ord for Graph
Source§impl PartialOrd for Graph
impl PartialOrd for Graph
impl Eq for Graph
impl StructuralPartialEq for Graph
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnwindSafe for Graph
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