Trait GraphAlgorithm

Source
pub trait GraphAlgorithm {
    // Required methods
    fn execute(
        &self,
        graph: &ArrowGraph,
        params: &AlgorithmParams,
    ) -> Result<RecordBatch>;
    fn name(&self) -> &'static str;

    // Provided method
    fn description(&self) -> &'static str { ... }
}

Required Methods§

Source

fn execute( &self, graph: &ArrowGraph, params: &AlgorithmParams, ) -> Result<RecordBatch>

Source

fn name(&self) -> &'static str

Provided Methods§

Source

fn description(&self) -> &'static str

Implementors§