Ejemplo n.º 1
0
 public Repeat(int minCount_0, int maxCount, int[] itemWeights, Pick item) : base(item)
 {
     this.minCount = 0;
     weightedIndex = new Pick.WeightedIndex(minCount_0).Add(maxCount - minCount_0
                                                            + 1, itemWeights);
 }
Ejemplo n.º 2
0
 // keep private
 public Alternation()
 {
     this.weightedIndex = new Pick.WeightedIndex(0);
 }