public string GetP2pConnectionsPainSignal(Peer considerThisNeighborAsRemoved, Action <string> needMoreDetailsIfAllGood) { var p2pcvc = new P2pConnectionValueCalculator(this.VectorValues, Neighbors.Values.Where(x => x != considerThisNeighborAsRemoved).Select(x => x.VectorValues), needMoreDetailsIfAllGood); return(p2pcvc.GetP2pConnectionsPainSignal(needMoreDetailsIfAllGood != null)); }
void OnNeighborsChanged() { _p2pcvc = null; }