/// <summary> /// Adds a new <see cref="EdgeToNeighbor"/> instance to the AdjacencyList. /// </summary> /// <param name="e">The <see cref="EdgeToNeighbor"/> instance to add.</param> protected internal virtual void Add(EdgeToNeighbor e) { base.InnerList.Add(e); }
/// <summary> /// Adds an edge based on the data in the passed-in EdgeToNeighbor instance. /// </summary> protected internal virtual void AddDirected(EdgeToNeighbor e) { neighbors.Add(e); }