public Cluster(IEnumerable <SmartCoin> coins) { Lock = new object(); Coins = coins.ToList(); CoinsSet = Coins.ToHashSet(); _labels = SmartLabel.Merge(Coins.Select(x => x.Label)); }
public Cluster(IEnumerable <SmartCoin> coins) { Lock = new object(); Coins = coins.ToList(); CoinsSet = Coins.ToHashSet(); _labels = SmartLabel.Merge(Coins.Select(x => x.Label)); }