Ejemplo n.º 1
0
 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());
 }
Ejemplo n.º 2
0
 protected void RaiseOnVertexVisitedEvent(AlgorithmEventArgs e)
 {
     OnVertexVisited?.Invoke(this, e);
 }