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