GraphicAlgorithm

Trait GraphicAlgorithm 

Source
pub trait GraphicAlgorithm<H> {
    type Output;

    // Required method
    fn process(self, graph: H) -> Result<Self::Output>;
}
Expand description

this trait is used to denote an algorithm that can be applied to a hypergraph

Required Associated Types§

Source

type Output

the type of output that this algorithm produces

Required Methods§

Source

fn process(self, graph: H) -> Result<Self::Output>

run the algorithm on the graph and return the output

Implementors§