Remove main

This commit is contained in:
danielsanchezq 2023-06-23 11:05:15 +02:00
parent 3d0aa49b9e
commit 7528506b21
1 changed files with 0 additions and 12 deletions

View File

@ -52,15 +52,3 @@ def compute_optimal_number_of_committees_and_committee_size(
# return number of committees, K_1, committee size, n_1, number of committees
# with size n_1+1, r_1 and prob. of failure, Prob_1.
return previous_number_of_committees, previous_committee_size, previous_remainder, previous_probability
if __name__ == "__main__":
failure_threshold = 0.01
print(
compute_optimal_number_of_committees_and_committee_size(
600,
failure_threshold,
CARNOT_ADVERSARY_THRESHOLD_PER_COMMITTEE,
CARNOT_NETWORK_ADVERSARY_THRESHOLD
)
)