code: func (ds *distanceSet) Delete(index int) bool {
  	delete(ds.Distances, index)
  	if index == ds.MinIndex {
  		ds.reset()
  		return true
  	}
  
  	return false
  }
docs: // Delete removes a values for an index and resets denormalized minimum.
  // Returns true if the minimum has been updated.