Skip to main content

GeneratePolarizations

Trait GeneratePolarizations 

Source
pub trait GeneratePolarizations {
    // Required methods
    fn generate_polarizations_of<S: SubSetLike>(&self, subgraph: &S) -> Atom;
    fn generate_polarization_parameters_of<S: SubSetLike>(
        &self,
        subgraph: &S,
    ) -> Vec<Atom>;
}

Required Methods§

Source

fn generate_polarizations_of<S: SubSetLike>(&self, subgraph: &S) -> Atom

Returns the polarizations of the given subgraph. One polarization per half-edge. If you only want those that are dangling first get the crown of the subgraph.

Source

fn generate_polarization_parameters_of<S: SubSetLike>( &self, subgraph: &S, ) -> Vec<Atom>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<V, E> GeneratePolarizations for HedgeGraph<E, V, HedgeData>
where for<'a> EdgeData<&'a E>: ReversibleEdge,

Source§

fn generate_polarizations_of<S: SubSetLike>(&self, subgraph: &S) -> Atom

Source§

fn generate_polarization_parameters_of<S: SubSetLike>( &self, subgraph: &S, ) -> Vec<Atom>

Implementors§