A randomised algorithm may draw random numbers as it runs; its running time and its answer are then random variables, for each input. It is a Las Vegas algorithm if its answer is always correct and only its running time is random, and a Monte Carlo algorithm if its running time is bounded but its answer may be wrong with some probability.
Computer Science · المسرد
ما معنى Randomised algorithm, Las Vegas, Monte Carlo؟
يُعرف أيضًا باسم: randomised algorithm · Las Vegas algorithm · Monte Carlo algorithm