private void OnEdgeNotRelaxed([NotNull] TEdge edge) { Debug.Assert(edge != null); EdgeNotRelaxed?.Invoke(edge); }
private void OnEdgeNotRelaxed([NotNull] TEdge edge, bool reversed) { Debug.Assert(edge != null); EdgeNotRelaxed?.Invoke(this, new UndirectedEdgeEventArgs <TVertex, TEdge>(edge, reversed)); }