A language is said to be solvable in Zero-error Probabilistic Polynomial Time (ZPP) if there is some machine that is:
- Sound:
- Complete:
- Expected Polynomial-time:
This class corresponds to Las Vegas Algorithms, these are randomised algorithms that are always sound and complete, but their runtime may vary due to their probabilistic nature.
Always correct and probably fast.