{"id":87710,"date":"2020-05-14T16:26:49","date_gmt":"2020-05-14T08:26:49","guid":{"rendered":"http:\/\/4563.org\/?p=87710"},"modified":"2020-05-14T16:26:49","modified_gmt":"2020-05-14T08:26:49","slug":"%e4%bd%a0%e7%9c%9f%e7%9a%84%e4%ba%86%e8%a7%a3%e6%b5%b7%e9%87%8f%e6%95%b0%e6%8d%ae%e6%9c%80%e4%bc%98%e8%a7%a3%e6%b3%95%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=87710","title":{"rendered":"\u4f60\u771f\u7684\u4e86\u89e3\u6d77\u91cf\u6570\u636e\u6700\u4f18\u89e3\u6cd5\u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4f60\u771f\u7684\u4e86\u89e3\u6d77\u91cf\u6570\u636e\u6700\u4f18\u89e3\u6cd5\u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hakunamatata11 <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5927\u5bb6\u90fd\u77e5\u9053\u6d77\u91cf\u6570\u636e\u6709\u5f88\u591a\u7684\u89e3\u6cd5\uff0c\u65b9\u6cd5\u4e0d\u4e00\u5b9a\u6700\u4f18\uff0c\u4e0d\u540c\u7684\u89e3\u6cd5\u6709\u4e0d\u7528\u7684\u6700\u4f73\u9002\u7528\u573a\u666f\u3002\u4eca\u5929\u5728\u8fd9\u8fb9\u6211\u5148\u5206\u4eab\u5176\u4e2d\u4e00\u79cd\u89e3\u6cd5\uff1a<\/p>\n<p><strong>Hashing<\/strong><\/p>\n<p>\u9002\u7528\u8303\u56f4\uff1a\u5feb\u901f\u67e5\u627e\uff0c\u5220\u9664\u7684\u57fa\u672c\u6570\u636e\u7ed3\u6784\uff0c\u901a\u5e38\u9700\u8981\u603b\u6570\u636e\u91cf\u53ef\u4ee5\u653e\u5165\u5185\u5b58<\/p>\n<p><strong>\u57fa\u672c\u539f\u7406\u53ca\u8981\u70b9<\/strong>\uff1a<\/p>\n<p>hash \u51fd\u6570\u9009\u62e9\uff0c\u9488\u5bf9\u5b57\u7b26\u4e32\uff0c\u6574\u6570\uff0c\u6392\u5217\uff0c\u5177\u4f53\u76f8\u5e94\u7684 hash \u65b9\u6cd5\u3002<\/p>\n<p>\u78b0\u649e\u5904\u7406\uff0c\u4e00\u79cd\u662f open hashing\uff0c\u4e5f\u79f0\u4e3a\u62c9\u94fe\u6cd5\uff1b\u53e6\u4e00\u79cd\u5c31\u662f closed hashing\uff0c\u4e5f\u79f0\u5f00\u5730\u5740\u6cd5\uff0copened addressing \u3002<\/p>\n<p><strong>\u6269\u5c55<\/strong>\uff1a<\/p>\n<p>d-left hashing \u4e2d\u7684 d \u662f\u591a\u4e2a\u7684\u610f\u601d\uff0c\u6211\u4eec\u5148\u7b80\u5316\u8fd9\u4e2a\u95ee\u9898\uff0c\u770b\u4e00\u770b 2-left hashing \u30022-left hashing \u6307\u7684\u662f\u5c06\u4e00\u4e2a\u54c8\u5e0c\u8868\u5206\u6210\u957f\u5ea6\u76f8\u7b49\u7684\u4e24\u534a\uff0c\u5206\u522b\u53eb\u505a T1 \u548c T2\uff0c\u7ed9 T1 \u548c T2 \u5206\u522b\u914d\u5907\u4e00\u4e2a\u54c8\u5e0c\u51fd\u6570\uff0ch1 \u548c h2 \u3002\u5728\u5b58\u50a8\u4e00\u4e2a\u65b0\u7684 key \u65f6\uff0c\u540c\u65f6\u7528\u4e24\u4e2a\u54c8\u5e0c\u51fd\u6570\u8fdb\u884c\u8ba1\u7b97\uff0c\u5f97\u51fa\u4e24\u4e2a\u5730\u5740 h1[key]\u548c h2[key]\u3002\u8fd9\u65f6\u9700\u8981\u68c0\u67e5 T1 \u4e2d\u7684 h1[key]\u4f4d\u7f6e\u548c T2 \u4e2d\u7684 h2[key]\u4f4d\u7f6e\uff0c\u54ea\u4e00\u4e2a\u4f4d\u7f6e\u5df2\u7ecf\u5b58\u50a8\u7684\uff08\u6709\u78b0\u649e\u7684\uff09 key \u6bd4\u8f83\u591a\uff0c\u7136\u540e\u5c06\u65b0 key \u5b58\u50a8\u5728\u8d1f\u8f7d\u5c11\u7684\u4f4d\u7f6e\u3002\u5982\u679c\u4e24\u8fb9\u4e00\u6837\u591a\uff0c\u6bd4\u5982\u4e24\u4e2a\u4f4d\u7f6e\u90fd\u4e3a\u7a7a\u6216\u8005\u90fd\u5b58\u50a8\u4e86\u4e00\u4e2a key\uff0c\u5c31\u628a\u65b0 key \u5b58\u50a8\u5728\u5de6\u8fb9\u7684 T1 \u5b50\u8868\u4e2d\uff0c2-left \u4e5f\u7531\u6b64\u800c\u6765\u3002\u5728\u67e5\u627e\u4e00\u4e2a key \u65f6\uff0c\u5fc5\u987b\u8fdb\u884c\u4e24\u6b21 hash\uff0c\u540c\u65f6\u67e5\u627e\u4e24\u4e2a\u4f4d\u7f6e\u3002<\/p>\n<p><strong>\u95ee\u9898\u5b9e\u4f8b<\/strong>\uff1a<\/p>\n<p>\u6d77\u91cf\u65e5\u5fd7\u6570\u636e\uff0c\u63d0\u53d6\u51fa\u67d0\u65e5\u8bbf\u95ee\u767e\u5ea6\u6b21\u6570\u6700\u591a\u7684\u90a3\u4e2a IP \u3002IP \u7684\u6570\u76ee\u8fd8\u662f\u6709\u9650\u7684\uff0c\u6700\u591a 2^32 \u4e2a\uff0c\u6240\u4ee5\u53ef\u4ee5\u8003\u8651\u4f7f\u7528 hash \u5c06 ip \u76f4\u63a5\u5b58\u5165\u5185\u5b58\uff0c\u7136\u540e\u8fdb\u884c\u7edf\u8ba1\u3002<\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u4e5d\u7ae0\u7b97\u6cd5\u4e3a\u6b63\u5728\u51c6\u5907\u660e\u5e74\u6625\u62db\u7684\u4f60\u8d60\u9001<strong>\u514d\u8d39<\/strong>\u7684\u300a\u6d77\u91cf\u6570\u636e\u5904\u7406\u7b97\u6cd5\u4e0e\u9762\u8bd5\u9898\u5168\u96c6\u300b\uff0c\u57fa\u7840\u77e5\u8bc6\u548c\u5237\u9898\u90fd\u8986\u76d6\u5230\u4e86~<\/p>\n<p>\u8fd9\u95e8\u539f\u4ef7$199 \u7684\u8bfe\u7a0b\uff0c\u73b0\u5728\u53ea\u8981\u62a5\u540d\u8bd5\u542c\u5373\u53ef\u514d\u8d39\u83b7\u5f97\u5168\u7cfb\u5217\u8bfe\u7a0b\uff01<\/p>\n<p><strong>\u53c2\u4e0e\u65b9\u5f0f\uff1a<\/strong><\/p>\n<p>\u6233\u6211\u514d\u8d39\u8bd5\u542c\uff0c\u5373\u53ef\u514d\u8d39\u89e3\u9501\u6d77\u91cf\u6570\u636e\u5168\u7cfb\u5217\u8bfe\u7a0b**\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u771f\u7684\u4e86\u89e3\u6d77\u91cf\u6570\u636e\u6700\u4f18\u89e3\u6cd5\u5417\uff1f \u8cc7&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/87710"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87710"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/87710\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87710"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}