Introduction - If you have any usage issues, please Google them yourself
Las Vegas algorithm is expected to run times analysis: LV10 algorithm: the first kind of model to compare two s, there are three types of output as a result, the when I declined to 0 (reject) (output), it s time to accept may accept (output 1 (accept), also may be uncertain situation, output ? (unknow)).
LV10 algorithm: the second model on the basis of the model based on the first, in the event of a ? Conditions, repeatedly run the first model, until the correct results ( 0 or 1 ).
In this experiment, using the program to realize the second model to the first kind of model transformation, to the number of the first model to the circulation as the efficiency of the data, the experiment many times and get the average, the expected time to verify the improved LV10 algorithm theoretically is originally LV10 algorithm of 6 times, is expected to run six times.