I am trying to use random/3
random(+L:int, +U:int, -R:int)
Is there any thing that can be used for representing infinity?
For Example:
random(0, Infinity, Random_Number).
Is it possible to achieve this with random? Or is there any other simple alternative?
P.S. I have made clpfd programs where I have used sup ( Supremum ), but I am not working with clpfd.
Aucun commentaire:
Enregistrer un commentaire