ProgTypeAbstract.newOpGenChance

Шанс сгененрировать новую подлинию при генерации

interface ProgTypeAbstract
@property
float
newOpGenChance
(
)
in { assert (abs(newOpGenChance() + newScopeGenChance() + newLeafGenChance() - 1) < 0.01, "Generation summed chance isn't 1!"); }
out (result) { assert (0 <= result && result <= 1, "Return value isn't a probability!"); }

Meta