use std::vec::IntoIter;
use crate::errors::UltraGraphError;
use crate::prelude::GraphLike;
pub trait GraphAlgorithms<T>: GraphLike<T> {
fn shortest_path(&self, start_index: usize, stop_index: usize) -> Option<Vec<usize>>;
fn outgoing_edges(&self, a: usize) -> Result<IntoIter<usize>, UltraGraphError>;
}