Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#238 closed defect (done)

UniformRandomizer has incorrect distribution for integer values

Reported by: gkronber Owned by: gkronber
Priority: highest Milestone: HeuristicLab 3.3.0
Component: Random Version: 3.1
Keywords: Cc:

Description

Math.Round(rand_d * (max-min) + min) means that the probability of the values max and min is only half the probability of the values in the range.

Also review all other randomization operators.

Change History (5)

comment:1 Changed 13 years ago by gkronber

  • Status changed from new to assigned

comment:2 Changed 13 years ago by gkronber

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed with r469. using floor instead of round when we use a uniform-distribution in combination with integer variables.

comment:3 Changed 12 years ago by swagner

  • Milestone changed from 3.1 to Iteration 0

Milestone 3.1 deleted

comment:4 Changed 10 years ago by swagner

  • Milestone changed from Iteration 0 to Current

Milestone Iteration 0 deleted

comment:11 Changed 10 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.