全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Randomised algorithm, Las Vegas, Monte Carlo?

又称: randomised algorithm · Las Vegas algorithm · Monte Carlo algorithm

Definition 27.1 University Computer Science — Year 2 · 第 27 章 — Randomised Algorithms

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.

在原文中阅读 →