Mantis 2055

P1800-2008/D4, 18.5.2

Coverage bin distribution should be as even as possible

In Section 18.5

CHANGE

If a fixed number of bins is specified and that number is smaller than the specified number of values, then the possible bin values are uniformly distributed among the specified bins. The first ‘n’ specified values are assigned to the first bin, the next ‘n’ specified values are assigned to the next bin, etc. Duplicate values are retained; thus the same value can be assigned to multiple bins. If the number of values is not divisible by the number of bins, then the last bin will include the remaining items. For example:

 

bins fixed [4] = {1:10, 1, 4, 7};

 

The 13 possible values are distributed as follows: <1,2,3>, <4,5,6>, <7,8,9>, <10,1,4,7>. If the number of bins exceeds the number of values, then some of the bins will be empty.

TO

If a fixed number of bins is specified and that number is smaller than the specified number of values, then the possible bin values are shall be uniformly distributed among the specified bins. The first ‘n’ specified values are assigned to the first bin, the next ‘n’ specified values are assigned to the next bin, etc. Duplicate values are retained; thus the same value can be assigned to multiple bins. If the number of values M is not divisible by the number of bins N, then the last (M modulo N) bins shall include an additional value then the last bin will include the remaining items. For example:

 

bins fixed [4] = {1:10, 1, 4, 7, 11};

 

The 13 14 possible values are distributed as follows: <1,2,3>, <4,5,6>, <7,8,9>, <10,1,4,7> <7,8,9,10>, <1,4,7,11>. If the number of bins exceeds the number of values, then some of the bins will be empty.

 

In Section 18.5.2

CHANGE

If the number of automatic bins is smaller than the number of possible values (N < 2M ), then the 2M values are uniformly distributed in the N bins. If the number of values, 2 M, is not divisible by N, then the last bin will include the additional (up to N – 1) remaining items. For example, if M is 3 and N is 3, then the eight possible values are distributed as follows: <0:1>, <2:3>, <4,5,6,7>.

TO

If the number of automatic bins is smaller than the number of possible values (N < 2M ), then the 2M values are shall be uniformly distributed in the N bins. If the number of values, 2M, is not divisible by N, then the last (2M  modulo N) bins shall include an additional value then the last bin will include the additional (up to N – 1) remaining items. For example, if M is 3 and N is 3, then the eight possible values are distributed as follows: <0:1>, <2:4>, <5:7> <2:3>, <4,5,6,7>.