public bool TryGetEdge( TVertex source, TVertex target, out SReversedEdge<TVertex, TEdge> edge) { TEdge oedge; if (this.OriginalGraph.TryGetEdge(target, source, out oedge)) { edge = new SReversedEdge<TVertex, TEdge>(oedge); return true; } else { edge = default(SReversedEdge<TVertex, TEdge>); return false; } }
public bool ContainsEdge(SReversedEdge<TVertex, TEdge> edge) { return this.OriginalGraph.ContainsEdge(edge.OriginalEdge); }
public bool Equals(SReversedEdge <TVertex, TEdge> other) { return(this.OriginalEdge.Equals(other.OriginalEdge)); }