{"id":83089,"date":"2018-10-16T18:20:41","date_gmt":"2018-10-16T10:20:41","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/83089.html"},"modified":"2018-10-16T18:20:41","modified_gmt":"2018-10-16T10:20:41","slug":"%e8%b6%8b%e5%8a%bf%e7%aa%81%e7%a0%b4%e9%a2%84%e8%ad%a6_%e7%82%92%e8%82%a1%e4%b9%a6%e7%b1%8d","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=83089","title":{"rendered":"\u8d8b\u52bf\u7a81\u7834\u9884\u8b66_\u7092\u80a1\u4e66\u7c4d"},"content":{"rendered":"<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">k\u7ebf\u95ee\u9898<\/p>\n<p>k\u7ebf\u95ee\u9898<\/p>\n<\/blockquote>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u3010\u80a1\u7968\u8d44\u6e90\u9986\u3011\u4e1c\u65b9\u8d22\u5bccL2\u51b3\u7b56\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u7f51,\u4e1c\u65b9\u8d22\u5bcc\u6295\u8d44\u5927\u5e08\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u5148\u950b\u7248\u7834\u89e3,\u4e1c\u65b9\u8d22\u5bcc\u9886\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8fdc\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8d22\u5bcc\u5148\u950b\u7834\u89e3,\u540c\u82b1\u987aL2\u7834\u89e3\u3002<\/p>\n<\/blockquote>\n<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p style=\"color:red\">\u7f16\u5199\u6761\u4ef6\uff1a<\/p>\n<p>\u8fd9\u662f\u5927\u667a\u6167\u8d8b\u52bf\u7a81\u7834\u9884\u8b66\u516c\u5f0f\uff0c\u76ee\u524d\u5411\u4e0a\u6216\u5411\u4e0b\u90fd\u53d1\u51fa\u4fe1\u53f7\uff0c \u8bf7\u8001\u5e08\u5e2e\u5fd9\u4fee\u6539\uff0c\u8981\u6c42\u53ea\u662f\u5411\u4e0a\u7a81\u7834\u53d1\u51fa\u9884\u8b66\u4fe1\u53f7 input: N(5,1,100); A1:=ref(h,N)=hhv(h,2*N+1); B1:=filter(A1,N); C1:=backset(B1,N+1); D1:=filter(C1,n);{\u9ad8\u70b9} A2:=ref(l,N)=llv(l,2*N+1); B2:=filter(A2,N); C2:=backset(B2,N+1); D2:=filter(C2,N);{\u4f4e\u70b9} E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))\/2; E2:=(h+l)\/2;{\u9ad8\u4f4e\u70b9\u51fa\u73b0\u5728\u540c\u4e00K\u7ebf\u4e0a\u65f6\u53ef\u4f5c\u53d6\u820d} H1:=(D1 AND not(D2 AND E1&gt;=E2)) OR barstatus=2 OR barscount(c)=1; L1:=(D2 AND not(D1 AND E1<br \/>\n <e2)); h2:=\"D1\" and not(d2 e1><br \/>\n  =E2); X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)&gt;0,llvbars (if(L1,l,10000),X1)); G1:=F1&gt;ref(F1,1); I1:=backset(G1,2); LD:=I1&gt;ref(I1,1);{\u8fc7\u6ee4\u540e\u4f4e\u70b9} L2:=LD OR barstatus=2 OR barscount(c)=1; X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)&gt;0,hhvbars (if(H2,h,0),X2)); G2:=F2&gt;ref(F2,1); I2:=backset(G2,2); HD:=I2&gt;ref(I2,1);{\u8fc7\u6ee4\u540e\u9ad8\u70b9} R1:=backset(barstatus=2,barslast(HD)+1); S1:=R1&gt;ref(R1,1); {\u524d\u4e00\u9ad8} T1:=backset(barstatus=2,barslast(LD)+1); U1:=T1&gt;ref(T1,1); {\u524d\u4e00\u4f4e} R2:=backset(S1,ref(barslast(HD),1)+2); S2:=R2&gt;ref(R2,1); {\u524d\u4e8c\u9ad8} T2:=backset(U1,ref(barslast(LD),1)+2); U2:=T2&gt;ref(T2,1); {\u524d\u4e8c\u4f4e} HH1:=if(s2,H,ref(H,BARSLAST(s2))); HH2:=if(s1,H,ref(H,BARSLAST(s1))); LL1:=if(u2,l,ref(l,BARSLAST(u2))); LL2:=if(u1,l,ref(l,BARSLAST(u1))); \u4e0a\u7ebf:=HH1+(HH2-HH1)*BARSLAST(s2)\/(BARSLAST(s2)-BARSLAST(s1)); \u4e0b\u7ebf:=LL1+(LL2-LL1)*BARSLAST(U2)\/(BARSLAST(U2)-BARSLAST(u1)); c&gt;\u4e0a\u7ebf and L<br \/>\n  <\u4e0a\u7ebf;< p><br \/>\n  <\/\u4e0a\u7ebf;<><br \/>\n <\/e2));><\/p>\n<p style=\"color:red\">\u7f16\u5199\u65b9\u6cd5\uff1a<\/p>\n<p>&nbsp;input: N(5,1,100);<\/p>\n<div>\n A1:=ref(h,N)=hhv(h,2*N+1);\n<\/div>\n<div>\n B1:=filter(A1,N);\n<\/div>\n<div>\n C1:=backset(B1,N+1);\n<\/div>\n<div>\n D1:=filter(C1,n);{\u9ad8\u70b9}\n<\/div>\n<div>\n A2:=ref(l,N)=llv(l,2*N+1);\n<\/div>\n<div>\n B2:=filter(A2,N);\n<\/div>\n<div>\n C2:=backset(B2,N+1);\n<\/div>\n<div>\n D2:=filter(C2,N);{\u4f4e\u70b9}\n<\/div>\n<div>\n E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))\/2; E2:=(h+l)\/2;{\u9ad8\u4f4e\u70b9\u51fa\u73b0\u5728\u540c\u4e00K\u7ebf\u4e0a\u65f6\u53ef\u4f5c\u53d6\u820d}\n<\/div>\n<div>\n H1:=(D1 AND not(D2 AND E1&gt;=E2)) OR barstatus=2 OR barscount(c)=1;\n<\/div>\n<div>\n L1:=(D2 AND not(D1 AND E1&lt;E2)); &nbsp;H2:=D1 AND not(D2 AND E1&gt;=E2);\n<\/div>\n<div>\n X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)&gt;0,llvbars\n<\/div>\n<div>\n (if(L1,l,10000),X1));\n<\/div>\n<div>\n G1:=F1&gt;ref(F1,1); I1:=backset(G1,2); LD:=I1&gt;ref(I1,1);{\u8fc7\u6ee4\u540e\u4f4e\u70b9}\n<\/div>\n<div>\n L2:=LD OR barstatus=2 OR barscount(c)=1;\n<\/div>\n<div>\n X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)&gt;0,hhvbars\n<\/div>\n<div>\n (if(H2,h,0),X2));\n<\/div>\n<div>\n G2:=F2&gt;ref(F2,1); I2:=backset(G2,2); HD:=I2&gt;ref(I2,1);{\u8fc7\u6ee4\u540e\u9ad8\u70b9}\n<\/div>\n<div>\n R1:=backset(barstatus=2,barslast(HD)+1);&nbsp;\n<\/div>\n<div>\n S1:=R1&gt;ref(R1,1); {\u524d\u4e00\u9ad8}\n<\/div>\n<div>\n T1:=backset(barstatus=2,barslast(LD)+1);&nbsp;\n<\/div>\n<div>\n U1:=T1&gt;ref(T1,1); {\u524d\u4e00\u4f4e}\n<\/div>\n<div>\n R2:=backset(S1,ref(barslast(HD),1)+2);&nbsp;\n<\/div>\n<div>\n S2:=R2&gt;ref(R2,1); {\u524d\u4e8c\u9ad8}\n<\/div>\n<div>\n T2:=backset(U1,ref(barslast(LD),1)+2);&nbsp;\n<\/div>\n<div>\n U2:=T2&gt;ref(T2,1); {\u524d\u4e8c\u4f4e}\n<\/div>\n<div>\n HH1:=if(s2,H,ref(H,BARSLAST(s2)));\n<\/div>\n<div>\n HH2:=if(s1,H,ref(H,BARSLAST(s1)));\n<\/div>\n<div>\n LL1:=if(u2,l,ref(l,BARSLAST(u2)));\n<\/div>\n<div>\n LL2:=if(u1,l,ref(l,BARSLAST(u1)));\n<\/div>\n<div>\n \u4e0a\u7ebf:=HH1+(HH2-HH1)*BARSLAST(s2)\/(BARSLAST(s2)-BARSLAST(s1));\n<\/div>\n<div>\n \u4e0a\u7ebf&gt;ref(\u4e0a\u7ebf,1) and c&gt;\u4e0a\u7ebf and l&lt;\u4e0a\u7ebf;\n<\/div>\n<p>{\u80a1\u7968\u8d44\u6e90\u9986:www.lixiangluntan.com\u4e13\u4e1a\u548c\u8c10\u9ad8\u7aef\u7092\u80a1\u8f6f\u4ef6--\u516c\u5f0f\u7f16\u5199\u4ea4\u6d41--\u52a0QQ751161480--}<\/p>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u3010\u80a1\u7968\u8d44\u6e90\u9986\u3011\u80a1\u7968\u8f6f\u4ef6\u7834\u89e3,\u5927\u667a\u6167\u8f6f\u4ef6\u7834\u89e3,\u901a\u8fbe\u4fe1\u8f6f\u4ef6\u7834\u89e3,\u6307\u5357\u9488\u8f6f\u4ef6\u7834\u89e3,\u5927\u667a\u6167\u7b56\u7565\u6295\u8d44\u7ec8\u7aef\u7834\u89e3\u7248,\u5927\u667a\u6167\u6caa\u6df110\u6863L2\u6570\u636e,\u7406\u60f3\u8bba\u575b,\u516c\u5f0f\u6307\u6807\u7f16\u5199\u3002<\/p>\n<\/blockquote>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u5927\u667a\u6167\u6295\u8d44\u5bb6\u5927\u5355\u5360\u6bd4\u4e3a\u6b63\u7684\u9009\u80a1\u516c\u5f0f<\/p>\n<p>\u5927\u667a\u6167\u6295\u8d44\u5bb6\u5927\u5355\u5360\u6bd4\u4e3a\u6b63\u7684\u9009\u80a1\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u8d8b\u52bf\u7a81\u7834\u9884\u8b66<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[180],"class_list":["post-83089","post","type-post","status-publish","format-standard","hentry","category-gsbxdy","tag-180"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/83089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=83089"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/83089\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}