Ejemplo n.º 1
0
        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());
        }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
 public PostflopEvaluator(int playerIndex, HandValueRange range)
 {
     PlayerIndex = playerIndex;
     Range = range;
 }