public override void init() { if (param % 1 < Utils.EPSILON) isIntegerType = true; else if (Math.Abs(param % 1 - 0.5) < Utils.EPSILON) { isHalfInteger = true; normalRandom = new RandomNormalValue(); } else { //TODO: доделать throw new CreateModelException("not implemented"); } }
public override void init() { if (param % 1 < Utils.EPSILON) { isIntegerType = true; } else if (Math.Abs(param % 1 - 0.5) < Utils.EPSILON) { isHalfInteger = true; normalRandom = new RandomNormalValue(); } else { //TODO: доделать throw new CreateModelException("not implemented"); } }