public IGraphPath FindPath() { OnStarted?.Invoke(this, new AlgorithmEventArgs()); OnVertexVisited?.Invoke(this, new AlgorithmEventArgs()); OnVertexEnqueued?.Invoke(this, new AlgorithmEventArgs()); OnFinished?.Invoke(this, new AlgorithmEventArgs()); return(new NullGraphPath()); }
protected void RaiseOnVertexVisitedEvent(AlgorithmEventArgs e) { OnVertexVisited?.Invoke(this, e); }