pub fn dispatch_algorithm<E: Equation>( settings: Settings, equation: E, data: Data, ) -> Result<Box<dyn Algorithm<E>>, Error>