protected void SetConditions() { RangeItems = RzrDataService.Service.GetHandValueRangeItems(SelectedConditionSet, Round, HandRange, COLUMNS); Range = new HandValueRange(RangeItems.Select(x => x.Mask).ToArray()); if (ConditionsChanged != null) ConditionsChanged(this, new DependencyPropertyChangedEventArgs()); }
protected void UpdateRange() { if (Range == null) Range = new HandValueRange(RangeItems.Select(x => x.Mask).ToArray()); Range.Probability = RangeItems.OrderBy(x => x.ID).Select(x => (int)x.Weight).ToArray(); }
public PostflopEvaluator(int playerIndex, HandValueRange range) { PlayerIndex = playerIndex; Range = range; }