Created
November 17, 2020 08:00
-
-
Save ochilab/f4d2a92ed1f9cba3aad78e82ecbaa58c to your computer and use it in GitHub Desktop.
オープンアドレス法のおいて再ハッシュ時に調べるバケット数
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
def f(a): | |
return ((1-a/2)/(1-a)) | |
x = np.arange(0.0, 0.9, 0.01) | |
y=f(x) | |
plt.plot(x, y); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment