private void ReInsertCentroid(double oldMean, Centroid c) { var ret = _centroids.Remove(oldMean); _centroids.Add(c.Mean, c); }
internal static void ClostTunnelSocket(TunnelSocket tunnelSocket) { tunnelSocket.Close(); sTunnels.Remove(tunnelSocket.Port); }