/// <summary> /// Builds a priorithzied vertex buffer and fills a vertex distance map. /// </summary> /// <param name="distances">vertex distance map</param> public PriorithizedVertexBuffer(VertexDoubleDictionary distances) : base() { if ( distances == null) throw new ArgumentNullException("Distance map is null"); m_Distances = distances; m_Comparer = new DistanceComparer(m_Distances); }
/// <summary> /// Builds a priorithzied vertex buffer and fills a vertex distance map. /// </summary> /// <param name="distances">vertex distance map</param> public PriorithizedVertexBuffer(VertexDoubleDictionary distances) : base() { if (distances == null) { throw new ArgumentNullException("Distance map is null"); } this.distances = distances; this.comparer = new DistanceComparer(this.distances); }