/// <summary> /// Initializes a new instance of the <see cref="T:CS201GraphAlgorithms.WeightedGraph`1"/> class. /// </summary> /// <param name="updateEdgePolicy">Edge policy.</param> public WeightedGraph(UpdateEdgePolicy updateEdgePolicy) : base() { Debug.Assert(null != updateEdgePolicy); this.updateEdgePolicy = updateEdgePolicy; }
public AmortizedGraph(UpdateEdgePolicy updateEdgePolicy) : base(updateEdgePolicy) { }
public WeightedGraph() : base() { this.updateEdgePolicy = null; }