dijkstra-suite 0.1.0-beta.1

A Dijkstra's algorithm implementation that aims to be simple to use and fast to run
Documentation
use crate::{
    graph::Graph,
    node::{NodeId, NodeWeight},
    path::Path,
    strategy::ImplementationStrategy,
};

#[derive(Debug)]
pub struct DijkstraAlgorithm {}

impl ImplementationStrategy for DijkstraAlgorithm {
    type Opts = ();

    fn run<I: NodeId, W: NodeWeight>(
        graph: &Graph<I, W>,
        from: I,
        to: I,
        options: Self::Opts,
    ) -> Result<Path<I, W>, String> {
        Ok(Path::default())
    }
}