Abstract
Randomised algorithms use a degree of randomness in their logic. Such algorithms provide a solution which may not always be optimal, but is often produced faster than a brute force process. This paper explores the two classes of randomised algorithms: Las Vegas and Monte Carlo. A Las Vegas algorithm always produces the correct result, but its running time is based on a random value. A Monte Carlo algorithm has a deterministic running time and produces an answer that has a probability of ≥ 1/3 of being correct. By means of this paper, we develop algorithms that predict the winning probabilities of the betting options in the casino table card game of Baccarat. Both classes of algorithms have been implemented in two ways each, varying in space and time complexities. We also propose and implement a novel approach to reduce the time complexity of a typical Las Vegas algorithm through the use of multithreading. A comparative study for the algorithms has also been done.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.