private List <WeightProbability> Zones() { List <WeightProbability> zones = new List <WeightProbability>(); for (int i = 1; i <= this.numberOfFileSegments; i++) { double value = this.GetValue(i); WeightProbability probability = new WeightProbability(i, value); zones.Add(probability); } return(zones); }
private List<WeightProbability> Zones() { List<WeightProbability> zones = new List<WeightProbability>(); for (int i = 1; i <= this.numberOfFileSegments; i++) { double value = this.GetValue(i); WeightProbability probability = new WeightProbability(i, value); zones.Add(probability); } return zones; }