{"id":108047,"date":"2026-09-20T20:40:51","date_gmt":"2026-09-20T12:40:51","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/108047.html"},"modified":"2026-09-20T20:40:51","modified_gmt":"2026-09-20T12:40:51","slug":"km-%e7%ae%97%e6%b3%95%e8%a7%a3%e6%9e%90%ef%bc%9a%e5%b8%a6%e6%9d%83%e4%ba%8c%e5%88%86%e5%9b%be%e6%9c%80%e4%bc%98%e5%8c%b9%e9%85%8d%e4%b8%8e%e9%a1%b6%e6%a0%87%e8%b0%83%e6%95%b4","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/108047.html","title":{"rendered":"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574"},"content":{"rendered":"<h3>\u5f15\u8a00<\/h3>\n<p>\u5728\u4fe1\u5965\u65b0\u8d5b\u5b63\u7684\u56fe\u8bba\u5907\u8003\u4e2d&#xff0c;\u4e8c\u5206\u56fe\u5339\u914d\u662f\u4e00\u4e2a\u7ed5\u4e0d\u5f00\u7684\u9ad8\u9891\u8003\u70b9\u3002\u524d\u9762\u6211\u4eec\u804a\u8fc7\u300c\u4e8c\u5206\u56fe\u6700\u5927\u5339\u914d\u300d&#xff08;\u5308\u7259\u5229\u7b97\u6cd5&#xff09;\u6c42\u7684\u662f\u5339\u914d\u8fb9\u6570\u6700\u591a&#xff1b;\u800c\u771f\u5b9e\u7ade\u8d5b\u91cc\u66f4\u5e38\u89c1\u7684\u662f\u2014\u2014\u6bcf\u5bf9\u914d\u5bf9\u90fd\u6709\u4e00\u4e2a\u6743\u91cd&#xff0c;\u8981\u6c42\u9009\u51fa\u7684\u914d\u5bf9\u603b\u6743\u91cd\u6700\u5927\u3002\u6bd4\u5982\u79d1\u6280\u8282\u4e0a\u8ba9\u540c\u5b66\u548c\u5c55\u4f4d\u4e00\u4e00\u642d\u6863&#xff0c;\u8c01\u548c\u54ea\u4e2a\u9879\u76ee\u914d\u5408\u6700\u9ed8\u5951&#xff0c;\u5c31\u662f\u5178\u578b\u7684\u300c\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u300d\u95ee\u9898\u3002<\/p>\n<p>\u89e3\u51b3\u5b83\u7684\u7b97\u6cd5\u53eb KM \u7b97\u6cd5&#xff08;Kuhn\u2013Munkres&#xff0c;\u4e5f\u79f0\u5308\u7259\u5229\u7b97\u6cd5\u7684\u5e26\u6743\u7248\u672c&#xff09;&#xff0c;\u53ef\u4ee5\u5728 O(n\u00b3) \u65f6\u95f4\u5185\u6c42\u51fa\u6700\u5927\u6743\u5b8c\u7f8e\u5339\u914d\u3002\u672c\u6587\u7528\u4e00\u4e2a\u539f\u521b\u5b9e\u4f8b&#xff0c;\u5e26\u4f60\u5403\u900f\u9876\u6807\u3001\u76f8\u7b49\u5b50\u56fe\u3001\u4ea4\u9519\u6811\u4e0e\u9876\u6807\u8c03\u6574\u8fd9\u56db\u5757\u6838\u5fc3&#xff0c;\u5e76\u7ed9\u51fa C&#043;&#043; \/ Python \u53cc\u7248\u5b9e\u73b0\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260920124050-6aafd45217844.jpg\" \/><\/p>\n<h3>\u9898\u76ee \/ \u9879\u76ee\u76ee\u6807<\/h3>\n<p>\u3010\u539f\u521b\u9898\u3011\u6821\u56ed\u79d1\u6280\u8282\u6700\u4f73\u642d\u6863\u914d\u5bf9<\/p>\n<p>\u6709 n \u540d\u540c\u5b66&#xff08;\u5de6\u90e8\u96c6\u5408 X&#xff09;\u4e0e n \u4e2a\u5c55\u793a\u9879\u76ee&#xff08;\u53f3\u90e8\u96c6\u5408 Y&#xff09;&#xff0c;\u5fc5\u987b\u4e3a\u6bcf\u4e2a\u540c\u5b66\u5206\u914d\u4e14\u53ea\u5206\u914d\u4e00\u4e2a\u9879\u76ee&#xff0c;\u6bcf\u4e2a\u9879\u76ee\u4e5f\u6070\u597d\u7531\u4e00\u4e2a\u540c\u5b66\u8d1f\u8d23\u3002\u5df2\u77e5\u540c\u5b66 i \u5bf9\u9879\u76ee j \u7684\u300c\u9002\u914d\u9ed8\u5951\u5ea6\u300d\u4e3a w[i][j]&#xff08;\u53ef\u4e3a\u8d1f&#xff09;\u3002\u8bf7\u8bbe\u8ba1\u4e00\u79cd\u4e00\u4e00\u914d\u5bf9\u65b9\u6848&#xff0c;\u4f7f\u6240\u6709\u914d\u5bf9\u7684\u9ed8\u5951\u5ea6\u4e4b\u548c\u6700\u5927\u3002<\/p>\n<p>\u4ee5 n &#061; 4 \u4e3a\u4f8b&#xff0c;\u9ed8\u5951\u5ea6\u77e9\u9635\u5982\u4e0b&#xff08;\u884c\u662f\u540c\u5b66&#xff0c;\u5217\u662f\u9879\u76ee&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u540c\u5b66 \\\\ \u9879\u76ee\u9879\u76ee0\u9879\u76ee1\u9879\u76ee2\u9879\u76ee3<\/tr>\n<tbody>\n<tr>\n<td>\u540c\u5b660<\/td>\n<td>3<\/td>\n<td>5<\/td>\n<td>4<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>\u540c\u5b661<\/td>\n<td>6<\/td>\n<td>2<\/td>\n<td>8<\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td>\u540c\u5b662<\/td>\n<td>4<\/td>\n<td>3<\/td>\n<td>5<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>\u540c\u5b663<\/td>\n<td>2<\/td>\n<td>6<\/td>\n<td>7<\/td>\n<td>4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6700\u4f18\u914d\u5bf9\u4e3a&#xff1a;\u540c\u5b662\u2192\u9879\u76ee0(4)\u3001\u540c\u5b660\u2192\u9879\u76ee1(5)\u3001\u540c\u5b663\u2192\u9879\u76ee2(7)\u3001\u540c\u5b661\u2192\u9879\u76ee3(7)&#xff0c;\u603b\u9ed8\u5951\u5ea6 23\u3002\u4e0b\u9762\u89e3\u91ca\u7b97\u6cd5\u5982\u4f55\u81ea\u52a8\u7b97\u51fa\u8fd9\u4e2a\u7ed3\u679c\u3002<\/p>\n<h3>\u6838\u5fc3\u8003\u70b9<\/h3>\n<li>\u53ef\u884c\u9876\u6807&#xff08;Feasible Labeling&#xff09;&#xff1a;\u7ed9\u6bcf\u4e2a\u8282\u70b9 i \u4e00\u4e2a\u9876\u6807 l(i)&#xff0c;\u8981\u6c42\u5bf9\u4efb\u610f\u8fb9 (u, v) \u6ee1\u8db3 l(u) &#043; l(v) \u2265 w(u, v)\u3002\u521d\u59cb\u4ee4 lx[i] &#061; max_j w[i][j]\u3001ly[i] &#061; 0 \u5373\u662f\u4e00\u7ec4\u5408\u6cd5\u9876\u6807\u3002<\/li>\n<li>\u76f8\u7b49\u5b50\u56fe&#xff08;Equality Subgraph&#xff09;&#xff1a;\u53ea\u4fdd\u7559\u6ee1\u8db3 l(u) &#043; l(v) &#061;&#061; w(u, v) \u7684\u8fb9\u6784\u6210\u7684\u5b50\u56fe\u3002\u5b9a\u7406&#xff1a;\u82e5\u76f8\u7b49\u5b50\u56fe\u5b58\u5728\u5b8c\u7f8e\u5339\u914d&#xff0c;\u5219\u8be5\u5339\u914d\u5c31\u662f\u539f\u56fe\u7684\u6700\u5927\u6743\u5b8c\u7f8e\u5339\u914d&#xff08;\u56e0\u4e3a\u4efb\u610f\u5b8c\u7f8e\u5339\u914d\u6743\u503c\u548c \u2264 \u6240\u6709\u9876\u6807\u4e4b\u548c&#xff09;\u3002<\/li>\n<li>\u589e\u5e7f\u8def\u4e0e\u4ea4\u9519\u6811&#xff1a;\u5728\u76f8\u7b49\u5b50\u56fe\u91cc\u7528\u300c\u5308\u7259\u5229\u5f0f\u300dDFS \u627e\u589e\u5e7f\u8def&#xff1b;\u627e\u4e0d\u5230\u65f6&#xff0c;\u6240\u6709\u88ab\u8bbf\u95ee\u5230\u7684\u70b9\u6784\u6210\u4e00\u68f5\u4ea4\u9519\u6811\u3002<\/li>\n<li>\u9876\u6807\u8c03\u6574&#xff08;\u677e\u5f1b&#xff09;&#xff1a;\u627e\u4e0d\u5230\u589e\u5e7f\u8def\u65f6&#xff0c;\u8ba1\u7b97\u6700\u5c0f\u53ef\u6539\u8fdb\u91cf d &#061; min(lx[x] &#043; ly[y] &#8211; w[x][y])&#xff08;x \u5728\u6811\u5185\u3001y \u5728\u6811\u5916&#xff09;&#xff0c;\u8ba9\u6811\u5185\u5de6\u90e8\u9876\u6807 -d\u3001\u6811\u5185\u53f3\u90e8\u9876\u6807 &#043;d&#xff0c;\u4f7f\u81f3\u5c11\u4e00\u6761\u65b0\u8fb9\u8fdb\u5165\u76f8\u7b49\u5b50\u56fe&#xff0c;\u4e14\u4e0d\u7834\u574f\u5df2\u6709\u5339\u914d\u7684\u53ef\u884c\u6027\u3002<\/li>\n<li>slack \u6570\u7ec4&#xff1a;\u8bb0\u5f55\u6bcf\u4e2a\u53f3\u90e8\u70b9\u300c\u8fd8\u9700\u8981\u51cf\u5c11\u591a\u5c11\u300d\u624d\u80fd\u8fdb\u5165\u76f8\u7b49\u5b50\u56fe&#xff0c;\u907f\u514d\u6bcf\u6b21\u91cd\u65b0\u626b\u63cf&#xff0c;\u628a\u65f6\u95f4\u538b\u5230 O(n\u00b3)\u3002<\/li>\n<li>\u8865\u70b9\u6280\u5de7&#xff1a;\u82e5\u4e24\u8fb9\u70b9\u6570\u4e0d\u7b49&#xff0c;\u628a\u5c11\u7684\u4e00\u8fb9\u8865\u865a\u62df\u70b9\u3001\u865a\u8fb9\u6743\u8bbe 0&#xff0c;\u8f6c\u5316\u4e3a\u65b9\u9635\u6c42\u5b8c\u7f8e\u5339\u914d&#xff1b;\u6c42\u6700\u5c0f\u6743\u5339\u914d\u53ea\u9700\u628a\u6240\u6709\u6743\u53d6\u76f8\u53cd\u6570\u3002<\/li>\n<h3>\u89e3\u6cd5 \/ \u62c6\u89e3<\/h3>\n<p>\u7b97\u6cd5\u4e3b\u6d41\u7a0b\u4e3a\u300c\u4e3a\u6bcf\u4e2a\u5de6\u90e8\u70b9\u4f9d\u6b21\u627e\u589e\u5e7f\u8def\u300d&#xff1a;\u521d\u59cb\u9876\u6807\u53ef\u884c \u2192 \u5728\u76f8\u7b49\u5b50\u56fe\u4e2d DFS \u627e\u589e\u5e7f \u2192 \u627e\u5230\u5c31\u5339\u914d\u3001\u5904\u7406\u4e0b\u4e00\u4e2a\u70b9&#xff1b;\u627e\u4e0d\u5230\u5c31\u8c03\u6574\u9876\u6807&#xff0c;\u76f4\u5230\u8be5\u70b9\u4e5f\u80fd\u5339\u914d\u3002\u6bcf\u4e2a\u5de6\u90e8\u70b9\u6700\u591a\u89e6\u53d1 O(n) \u6b21\u9876\u6807\u8c03\u6574&#xff0c;\u6bcf\u6b21\u8c03\u6574 O(n)&#xff0c;DFS \u672c\u8eab O(n)&#xff0c;\u6574\u4f53 O(n\u00b3)\u3002<\/p>\n<h4>C&#043;&#043; \u5b9e\u73b0<\/h4>\n<p>#include &lt;bits\/stdc&#043;&#043;.h&gt;<br \/>\nusing namespace std;<\/p>\n<p>const int N &#061; 310;<br \/>\nconst int INF &#061; 1e9;<br \/>\nint n;<br \/>\nint w[N][N];<br \/>\nint lx[N], ly[N];<br \/>\nint match[N];        \/\/ match[y] &#061; x&#xff08;\u53f3\u90e8\u70b9 y \u5339\u914d\u5230\u7684\u5de6\u90e8\u70b9&#xff09;<br \/>\nbool visx[N], visy[N];<br \/>\nint slack[N];<\/p>\n<p>\/\/ \u4e3a\u5de6\u90e8\u70b9 x \u5728\u76f8\u7b49\u5b50\u56fe\u4e2d\u5bfb\u627e\u589e\u5e7f\u8def<br \/>\nbool dfs(int x) {<br \/>\n    visx[x] &#061; true;<br \/>\n    for (int y &#061; 0; y &lt; n; y&#043;&#043;) {<br \/>\n        if (visy[y]) continue;                 \/\/ \u53f3\u90e8\u70b9\u5df2\u5728\u4ea4\u9519\u6811\u4e2d&#xff0c;\u8df3\u8fc7<br \/>\n        int gap &#061; lx[x] &#043; ly[y] &#8211; w[x][y];     \/\/ \u4e0e\u76f8\u7b49\u5b50\u56fe\u7684\u8ddd\u79bb<br \/>\n        if (gap &#061;&#061; 0) {                        \/\/ \u76f8\u7b49\u8fb9&#xff1a;\u53ef\u8d70<br \/>\n            visy[y] &#061; true;<br \/>\n            if (match[y] &#061;&#061; -1 || dfs(match[y])) {<br \/>\n                match[y] &#061; x;<br \/>\n                return true;<br \/>\n            }<br \/>\n        } else {                               \/\/ \u8bb0\u5f55\u677e\u5f1b\u91cf<br \/>\n            slack[y] &#061; min(slack[y], gap);<br \/>\n        }<br \/>\n    }<br \/>\n    return false;<br \/>\n}<\/p>\n<p>int km() {<br \/>\n    memset(match, -1, sizeof(match));<br \/>\n    for (int i &#061; 0; i &lt; n; i&#043;&#043;) {<br \/>\n        lx[i] &#061; *max_element(w[i], w[i] &#043; n); \/\/ \u5de6\u90e8\u9876\u6807\u53d6\u884c\u6700\u5927\u503c<br \/>\n        ly[i] &#061; 0;                            \/\/ \u53f3\u90e8\u9876\u6807\u521d\u59cb\u4e3a 0<br \/>\n    }<br \/>\n    for (int cx &#061; 0; cx &lt; n; cx&#043;&#043;) {          \/\/ \u4f9d\u6b21\u4e3a\u6bcf\u4e2a\u5de6\u90e8\u70b9\u627e\u5339\u914d<br \/>\n        fill(slack, slack &#043; n, INF);<br \/>\n        while (true) {<br \/>\n            memset(visx, 0, sizeof(visx));<br \/>\n            memset(visy, 0, sizeof(visy));<br \/>\n            if (dfs(cx)) break;               \/\/ \u627e\u5230\u589e\u5e7f\u8def&#xff0c;\u5339\u914d\u6210\u529f<br \/>\n            int d &#061; INF;                      \/\/ \u6700\u5c0f\u53ef\u6539\u8fdb\u91cf<br \/>\n            for (int y &#061; 0; y &lt; n; y&#043;&#043;)<br \/>\n                if (!visy[y]) d &#061; min(d, slack[y]);<br \/>\n            \/\/ \u8c03\u6574\u9876\u6807&#xff1a;\u4ea4\u9519\u6811\u5185\u5de6\u90e8 -d&#xff0c;\u53f3\u90e8 &#043;d<br \/>\n            for (int x &#061; 0; x &lt; n; x&#043;&#043;)<br \/>\n                if (visx[x]) lx[x] -&#061; d;<br \/>\n            for (int y &#061; 0; y &lt; n; y&#043;&#043;) {<br \/>\n                if (visy[y]) ly[y] &#043;&#061; d;<br \/>\n                else slack[y] -&#061; d;<br \/>\n            }<br \/>\n        }<br \/>\n    }<br \/>\n    int sum &#061; 0;<br \/>\n    for (int y &#061; 0; y &lt; n; y&#043;&#043;)<br \/>\n        if (match[y] !&#061; -1) sum &#043;&#061; w[match[y]][y];<br \/>\n    return sum;<br \/>\n}<\/p>\n<p>int main() {<br \/>\n    n &#061; 4;<br \/>\n    int ex[4][4] &#061; {<br \/>\n        {3,5,4,2},<br \/>\n        {6,2,8,7},<br \/>\n        {4,3,5,1},<br \/>\n        {2,6,7,4}<br \/>\n    };<br \/>\n    for (int i &#061; 0; i &lt; n; i&#043;&#043;)<br \/>\n        for (int j &#061; 0; j &lt; n; j&#043;&#043;)<br \/>\n            w[i][j] &#061; ex[i][j];<br \/>\n    cout &lt;&lt; km() &lt;&lt; endl;   \/\/ \u8f93\u51fa 23<br \/>\n    return 0;<br \/>\n}<\/p>\n<h4>Python \u5b9e\u73b0<\/h4>\n<p>def km_max(w, n):<br \/>\n    INF &#061; float(&#039;inf&#039;)<br \/>\n    lx &#061; [max(row) for row in w]   # \u5de6\u90e8\u9876\u6807&#xff1a;\u6bcf\u884c\u6700\u5927\u503c<br \/>\n    ly &#061; [0] * n                   # \u53f3\u90e8\u9876\u6807<br \/>\n    match &#061; [-1] * n               # match[y] &#061; x<\/p>\n<p>    for cx in range(n):            # \u4f9d\u6b21\u4e3a\u6bcf\u4e2a\u5de6\u90e8\u70b9\u627e\u589e\u5e7f\u8def<br \/>\n        slack &#061; [INF] * n<br \/>\n        while True:<br \/>\n            visx &#061; [False] * n<br \/>\n            visy &#061; [False] * n<\/p>\n<p>            def dfs(x):<br \/>\n                visx[x] &#061; True<br \/>\n                for y in range(n):<br \/>\n                    if visy[y]:<br \/>\n                        continue<br \/>\n                    gap &#061; lx[x] &#043; ly[y] &#8211; w[x][y]<br \/>\n                    if gap &#061;&#061; 0:              # \u76f8\u7b49\u8fb9<br \/>\n                        visy[y] &#061; True<br \/>\n                        if match[y] &#061;&#061; -1 or dfs(match[y]):<br \/>\n                            match[y] &#061; x<br \/>\n                            return True<br \/>\n                    else:<br \/>\n                        slack[y] &#061; min(slack[y], gap)<br \/>\n                return False<\/p>\n<p>            if dfs(cx):<br \/>\n                break<br \/>\n            d &#061; min(slack[y] for y in range(n) if not visy[y])<br \/>\n            for x in range(n):<br \/>\n                if visx[x]:<br \/>\n                    lx[x] -&#061; d<br \/>\n            for y in range(n):<br \/>\n                if visy[y]:<br \/>\n                    ly[y] &#043;&#061; d<br \/>\n                else:<br \/>\n                    slack[y] -&#061; d<\/p>\n<p>    return sum(w[match[y]][y] for y in range(n))<\/p>\n<p># \u793a\u4f8b<br \/>\nw &#061; [<br \/>\n    [3, 5, 4, 2],<br \/>\n    [6, 2, 8, 7],<br \/>\n    [4, 3, 5, 1],<br \/>\n    [2, 6, 7, 4],<br \/>\n]<br \/>\nprint(km_max(w, 4))   # \u8f93\u51fa 23<\/p>\n<p>\u8dd1\u4e0a\u9762\u7684\u4f8b\u5b50&#xff0c;\u4e24\u79cd\u8bed\u8a00\u90fd\u8f93\u51fa 23&#xff0c;\u4e0e\u624b\u7b97\u7684\u6700\u4f18\u65b9\u6848\u4e00\u81f4&#xff1a;\u540c\u5b662\u2192\u9879\u76ee0\u3001\u540c\u5b660\u2192\u9879\u76ee1\u3001\u540c\u5b663\u2192\u9879\u76ee2\u3001\u540c\u5b661\u2192\u9879\u76ee3\u3002<\/p>\n<h3>\u65f6\u95f4 \/ \u7a7a\u95f4\u590d\u6742\u5ea6<\/h3>\n<ul>\n<li>\u65f6\u95f4\u590d\u6742\u5ea6&#xff1a;O(n\u00b3)\u3002\u5916\u5c42\u4e3a n \u4e2a\u5de6\u90e8\u70b9&#xff0c;\u6bcf\u4e2a\u70b9\u6700\u591a O(n) \u6b21\u9876\u6807\u8c03\u6574&#xff0c;\u6bcf\u6b21\u8c03\u6574\u4e0e DFS \u5747\u4e3a O(n)\u3002<\/li>\n<li>\u7a7a\u95f4\u590d\u6742\u5ea6&#xff1a;O(n\u00b2)&#xff0c;\u4e3b\u8981\u6765\u81ea\u6743\u91cd\u77e9\u9635 w[n][n] \u4e0e\u82e5\u5e72\u957f\u5ea6\u4e3a n \u7684\u8f85\u52a9\u6570\u7ec4&#xff08;\u9876\u6807\u3001\u6807\u8bb0\u3001slack&#xff09;\u3002<\/li>\n<\/ul>\n<h3>\u6613\u9519\u70b9<\/h3>\n<li>\u9876\u6807\u521d\u59cb\u5316\u9519\u8bef&#xff1a;\u5fc5\u987b lx[i] &#061; max_j w[i][j]&#xff0c;\u800c\u4e0d\u662f\u7b80\u5355\u53d6 0 \u6216\u968f\u610f\u8d4b\u503c&#xff0c;\u5426\u5219\u521d\u59cb\u9876\u6807\u53ef\u80fd\u4e0d\u53ef\u884c&#xff08;\u5b58\u5728 lx&#043;ly &lt; w \u7684\u8fb9&#xff09;\u3002<\/li>\n<li>\u76f8\u7b49\u8fb9\u5224\u65ad\u7528 &#061;&#061; \u800c\u975e \u2264&#xff1a;\u53ea\u8d70 lx&#043;ly &#061;&#061; w \u7684\u300c\u76f8\u7b49\u8fb9\u300d&#xff0c;\u8d70 \u2265 \u7684\u8fb9\u4f1a\u7834\u574f\u76f8\u7b49\u5b50\u56fe\u5b9a\u7406&#xff0c;\u5bfc\u81f4\u7ed3\u679c\u4e0d\u662f\u6700\u5927\u6743\u3002<\/li>\n<li>\u9876\u6807\u8c03\u6574\u53ea\u52a8\u4ea4\u9519\u6811\u5185\u7684\u70b9&#xff1a;lx[x] -&#061; d \u4ec5\u5bf9 visx[x] \u4e3a\u771f\u8005\u3001ly[y] &#043;&#061; d \u4ec5\u5bf9 visy[y] \u4e3a\u771f\u8005&#xff1b;\u6811\u5916\u70b9\u52a8\u4e0d\u5f97&#xff0c;\u5426\u5219\u4f1a\u7834\u574f\u5df2\u6709\u7684\u53ef\u884c\u9876\u6807\u6027\u8d28\u3002<\/li>\n<li>d \u5fc5\u987b\u53d6\u6700\u5c0f&#xff1a;d &#061; min(slack[y])&#xff08;y \u5728\u6811\u5916&#xff09;\u3002\u53d6\u5927\u4f1a\u8df3\u8fc7\u672c\u5e94\u8fdb\u5165\u7684\u8fb9&#xff1b;\u53d6\u5c0f\u867d\u4ecd\u6b63\u786e\u4f46\u6548\u7387\u4f4e\u3002<\/li>\n<li>slack \u7684\u4f20\u9012\u66f4\u65b0&#xff1a;\u6bcf\u6b21\u9876\u6807 -d \u540e&#xff0c;\u6811\u5916\u70b9\u7684 slack \u8981 -d&#xff08;\u56e0\u4e3a gap \u540c\u51cf d&#xff09;\u3002\u82e5\u6bcf\u6b21\u91cd\u65b0\u5168\u91cf\u8ba1\u7b97\u867d\u6b63\u786e\u4f46\u9000\u5316\u4e3a O(n\u2074)&#xff0c;\u5931\u53bb\u4f18\u5316\u610f\u4e49\u3002<\/li>\n<li>\u975e\u65b9\u9635\u8981\u8865\u70b9&#xff1a;\u5de6\u53f3\u70b9\u6570\u4e0d\u7b49\u65f6\u5148\u628a\u5c11\u7684\u4e00\u4fa7\u8865\u865a\u62df\u70b9\u3001\u865a\u8fb9\u6743\u8bbe 0&#xff0c;\u5426\u5219\u300c\u5b8c\u7f8e\u5339\u914d\u300d\u524d\u63d0\u4e0d\u6210\u7acb&#xff0c;\u7b97\u6cd5\u4f1a\u6f0f\u89e3\u3002<\/li>\n<h3>\u8fdb\u9636<\/h3>\n<ul>\n<li>\u6700\u5c0f\u6743\u5339\u914d&#xff1a;\u628a\u6240\u6709\u8fb9\u6743\u53d6\u76f8\u53cd\u6570\u8dd1\u6700\u5927\u6743 KM&#xff0c;\u7ed3\u679c\u518d\u53d6\u53cd\u5373\u53ef\u3002<\/li>\n<li>\u975e\u65b9\u9635 \/ \u6700\u5927\u6743\u5339\u914d&#xff08;\u4e0d\u4e00\u5b9a\u5b8c\u5907&#xff09;&#xff1a;\u628a\u7f3a\u5931\u7684\u8fb9\u6743\u8865 0 \u540e\u6c42\u5b8c\u7f8e\u5339\u914d&#xff1b;\u82e5\u53ea\u6c42\u300c\u8fb9\u6570\u6700\u591a\u4e14\u6743\u6700\u5927\u300d&#xff0c;\u53ef\u8865\u8db3\u591f\u5c0f\u7684\u8d1f\u6743\u865a\u62df\u8fb9\u3002<\/li>\n<li>\u4e0e\u8d39\u7528\u6d41\u7684\u5173\u7cfb&#xff1a;\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u5927\u6743\u5339\u914d\u7b49\u4ef7\u4e8e\u4e8c\u5206\u56fe\u6700\u5c0f\u8d39\u7528\u6700\u5927\u6d41&#xff08;\u8fb9\u6743\u53d6\u8d1f&#xff09;&#xff0c;KM \u662f\u4e13\u95e8\u9488\u5bf9\u300c\u5b8c\u7f8e\u5339\u914d\u300d\u8fd9\u4e00\u7279\u6b8a\u7ed3\u6784\u7684 O(n\u00b3) \u9ad8\u6548\u7b97\u6cd5&#xff1b;\u89c4\u6a21\u5f88\u5927\u6216\u5e26\u5bb9\u91cf\u9650\u5236\u65f6\u6539\u7528\u8d39\u7528\u6d41\u66f4\u901a\u7528\u3002<\/li>\n<li>\u5308\u7259\u5229\u7b97\u6cd5\u662f KM \u7684\u7279\u4f8b&#xff1a;\u628a\u6240\u6709\u8fb9\u6743\u90fd\u89c6\u4e3a 1&#xff0c;KM \u9000\u5316\u4e3a\u666e\u901a\u4e8c\u5206\u56fe\u6700\u5927\u5339\u914d\u3002<\/li>\n<li>\u7ecf\u5178\u6a21\u677f\u9898&#xff1a;\u6d1b\u8c37 P6577\u3010\u6a21\u677f\u3011\u4e8c\u5206\u56fe\u6700\u5927\u6743\u5b8c\u7f8e\u5339\u914d&#xff0c;\u53ef\u62ff\u6765\u7ec3\u624b\u9a8c\u8bc1\u81ea\u5df1\u7684\u677f\u5b50\u3002<\/li>\n<\/ul>\n<h3>\u5c0f\u7ed3\u4e0e\u4e92\u52a8<\/h3>\n<p>KM \u7b97\u6cd5\u7684\u7075\u9b42\u5728\u4e8e\u300c\u7528\u9876\u6807\u628a\u96be\u89e3\u7684\u6700\u5927\u6743\u5339\u914d&#xff0c;\u7f29\u5230\u76f8\u7b49\u5b50\u56fe\u91cc\u7528\u719f\u6089\u7684\u589e\u5e7f\u8def\u53bb\u89e3\u300d\u3002\u8bb0\u4f4f\u4e09\u6b65\u66f2&#xff1a;\u9876\u6807\u521d\u59cb\u5316 \u2192 \u76f8\u7b49\u5b50\u56fe\u627e\u589e\u5e7f \u2192 \u627e\u4e0d\u5230\u5c31\u8c03\u9876\u6807&#xff0c;\u518d\u914d\u5408 slack \u628a\u590d\u6742\u5ea6\u538b\u5230 O(n\u00b3)&#xff0c;\u8fd9\u9053\u9898\u5c31\u7a33\u4e86\u3002<\/p>\n<p>&#x1f449; \u4f60\u7b2c\u4e00\u6b21\u5b66 KM \u65f6&#xff0c;\u6700\u5bb9\u6613\u5361\u5728\u54ea\u4e00\u6b65&#xff1f;\u662f\u9876\u6807\u8c03\u6574\u7684\u65b9\u5411&#xff0c;\u8fd8\u662f\u76f8\u7b49\u5b50\u56fe\u7684\u5b9a\u7406\u8bc1\u660e&#xff1f;\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u804a\u804a&#xff0c;\u4e5f\u6b22\u8fce\u628a\u8fd9\u7bc7\u5206\u4eab\u7ed9\u6b63\u5728\u5907\u8d5b\u7684\u540c\u5b66&#xff5e;<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260920124050-6aafd45261760.jpg\" \/><\/p>\n<hr \/>\n<h3>&#x1f4da; \u514d\u8d39\u5c11\u513f\u7f16\u7a0b\u8d44\u6599&#xff08;\u5938\u514b\u7f51\u76d8\u9886\u53d6&#xff09;<\/h3>\n<p>\u4ee5\u4e0b\u8d44\u6599\u6765\u81ea\u5938\u514b\u7f51\u76d8\u5206\u4eab&#xff0c;\u70b9\u51fb\u94fe\u63a5\u53ef\u76f4\u63a5\u4fdd\u5b58&#xff1b;\u82e5\u9700\u5728 App \u5185\u6253\u5f00&#xff0c;\u4e5f\u53ef\u590d\u5236\u4e0b\u65b9\u660e\u6587\u94fe\u63a5&#xff1a;<\/p>\n<li>\u5168\u56fd\u9752\u5c11\u5e74\u4fe1\u606f\u7d20\u517b\u5927\u8d5b\u590d\u8d5b\u96c6\u8bad\u9898\u76eePython&amp;C&#043;&#043;.docx https:\/\/pan.quark.cn\/s\/93995d3cb150<\/li>\n<li>2024\u4fe1\u606f\u7d20\u517b-\u667a\u80fd\u7b97\u6cd5\u5e94\u7528\u6311\u6218\u8d5b-\u590d\u8d5b\u521d\u4e2d\u7ec4\u9898\u76ee7\u67087\u65e5.pdf https:\/\/pan.quark.cn\/s\/da97b5dbf75d<\/li>\n<li>Python\u80cc\u8bb0\u624b\u518c.pdf https:\/\/pan.quark.cn\/s\/7568ae9ca92b<\/li>\n<li>Python\u8bfe\u7a0b https:\/\/pan.quark.cn\/s\/a94bf02d00c6<\/li>\n<li>2024\u4fe1\u606f\u7d20\u517b\u5927\u8d5b\u56fe\u5f62\u5316\u590d\u8d5b\u96c6\u8bad\u9898\u7b54\u68483-9 https:\/\/pan.quark.cn\/s\/6ccab7ec3cbc<\/li>\n<li>2025\u5e7403\u6708\u4efd\u7535\u5b50\u5b66\u4f1a\u8003\u7ea7\u771f\u9898 https:\/\/pan.quark.cn\/s\/4403c4228912<\/li>\n<li>2025\u5168\u56fd\u9752\u5c11\u5e74\u4fe1\u606f\u7d20\u517b\u5927\u8d5b\u8d5b\u9879\u8bf4\u660e https:\/\/pan.quark.cn\/s\/d9d0df4a9f29<\/li>\n<li>\u9752\u5c11\u513f\u4fe1\u606f\u7d20\u517b\u5927\u8d5b\u7f16\u7a0b\u8d44\u6599 https:\/\/pan.quark.cn\/s\/4ab6bd83be8a<\/li>\n<p>\u8d44\u6599\u6301\u7eed\u66f4\u65b0&#xff0c;\u5173\u6ce8\u83b7\u53d6\u6700\u65b0\u5206\u4eab\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u8a00<br \/>\n\u5728\u4fe1\u5965\u65b0\u8d5b\u5b63\u7684\u56fe\u8bba\u5907\u8003\u4e2d&#xff0c;\u4e8c\u5206\u56fe\u5339\u914d\u662f\u4e00\u4e2a\u7ed5\u4e0d\u5f00\u7684\u9ad8\u9891\u8003\u70b9\u3002\u524d\u9762\u6211\u4eec\u804a\u8fc7\u300c\u4e8c\u5206\u56fe\u6700\u5927\u5339\u914d\u300d&#xff08;\u5308\u7259\u5229\u7b97\u6cd5&#xff09;\u6c42\u7684\u662f\u5339\u914d\u8fb9\u6570\u6700\u591a&#xff1b;\u800c\u771f\u5b9e\u7ade\u8d5b\u91cc\u66f4\u5e38\u89c1\u7684\u662f\u2014\u2014\u6bcf\u5bf9\u914d\u5bf9\u90fd\u6709\u4e00\u4e2a\u6743\u91cd&#xff0c;\u8981\u6c42\u9009\u51fa\u7684\u914d\u5bf9\u603b\u6743\u91cd\u6700\u5927\u3002\u6bd4\u5982\u79d1\u6280\u8282\u4e0a\u8ba9\u540c\u5b66\u548c\u5c55\u4f4d\u4e00\u4e00\u642d\u6863&#xff0c;\u8c01\u548c\u54ea\u4e2a\u9879\u76ee\u914d\u5408\u6700\u9ed8\u5951&#xff0c;\u5c31\u662f\u5178\u578b\u7684\u300c\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u300d\u95ee\u9898\u3002<br \/>\n\u89e3\u51b3\u5b83\u7684\u7b97\u6cd5\u53eb KM \u7b97\u6cd5&#xff08;Kuhn\u2013Munkres&amp;#xff<\/p>\n","protected":false},"author":2,"featured_media":108045,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[12304,55,81,4651,427],"topic":[],"class_list":["post-108047","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-bfs","tag-c","tag-python","tag-4651","tag-427"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/108047.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5f15\u8a00 \u5728\u4fe1\u5965\u65b0\u8d5b\u5b63\u7684\u56fe\u8bba\u5907\u8003\u4e2d&#xff0c;\u4e8c\u5206\u56fe\u5339\u914d\u662f\u4e00\u4e2a\u7ed5\u4e0d\u5f00\u7684\u9ad8\u9891\u8003\u70b9\u3002\u524d\u9762\u6211\u4eec\u804a\u8fc7\u300c\u4e8c\u5206\u56fe\u6700\u5927\u5339\u914d\u300d&#xff08;\u5308\u7259\u5229\u7b97\u6cd5&#xff09;\u6c42\u7684\u662f\u5339\u914d\u8fb9\u6570\u6700\u591a&#xff1b;\u800c\u771f\u5b9e\u7ade\u8d5b\u91cc\u66f4\u5e38\u89c1\u7684\u662f\u2014\u2014\u6bcf\u5bf9\u914d\u5bf9\u90fd\u6709\u4e00\u4e2a\u6743\u91cd&#xff0c;\u8981\u6c42\u9009\u51fa\u7684\u914d\u5bf9\u603b\u6743\u91cd\u6700\u5927\u3002\u6bd4\u5982\u79d1\u6280\u8282\u4e0a\u8ba9\u540c\u5b66\u548c\u5c55\u4f4d\u4e00\u4e00\u642d\u6863&#xff0c;\u8c01\u548c\u54ea\u4e2a\u9879\u76ee\u914d\u5408\u6700\u9ed8\u5951&#xff0c;\u5c31\u662f\u5178\u578b\u7684\u300c\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u300d\u95ee\u9898\u3002 \u89e3\u51b3\u5b83\u7684\u7b97\u6cd5\u53eb KM \u7b97\u6cd5&#xff08;Kuhn\u2013Munkres&amp;#xff\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/108047.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-20T12:40:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260920124050-6aafd45217844.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108047.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/108047.html\",\"name\":\"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-20T12:40:51+00:00\",\"dateModified\":\"2026-09-20T12:40:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/108047.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/108047.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108047.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/108047.html","og_locale":"zh_CN","og_type":"article","og_title":"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5f15\u8a00 \u5728\u4fe1\u5965\u65b0\u8d5b\u5b63\u7684\u56fe\u8bba\u5907\u8003\u4e2d&#xff0c;\u4e8c\u5206\u56fe\u5339\u914d\u662f\u4e00\u4e2a\u7ed5\u4e0d\u5f00\u7684\u9ad8\u9891\u8003\u70b9\u3002\u524d\u9762\u6211\u4eec\u804a\u8fc7\u300c\u4e8c\u5206\u56fe\u6700\u5927\u5339\u914d\u300d&#xff08;\u5308\u7259\u5229\u7b97\u6cd5&#xff09;\u6c42\u7684\u662f\u5339\u914d\u8fb9\u6570\u6700\u591a&#xff1b;\u800c\u771f\u5b9e\u7ade\u8d5b\u91cc\u66f4\u5e38\u89c1\u7684\u662f\u2014\u2014\u6bcf\u5bf9\u914d\u5bf9\u90fd\u6709\u4e00\u4e2a\u6743\u91cd&#xff0c;\u8981\u6c42\u9009\u51fa\u7684\u914d\u5bf9\u603b\u6743\u91cd\u6700\u5927\u3002\u6bd4\u5982\u79d1\u6280\u8282\u4e0a\u8ba9\u540c\u5b66\u548c\u5c55\u4f4d\u4e00\u4e00\u642d\u6863&#xff0c;\u8c01\u548c\u54ea\u4e2a\u9879\u76ee\u914d\u5408\u6700\u9ed8\u5951&#xff0c;\u5c31\u662f\u5178\u578b\u7684\u300c\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u300d\u95ee\u9898\u3002 \u89e3\u51b3\u5b83\u7684\u7b97\u6cd5\u53eb KM \u7b97\u6cd5&#xff08;Kuhn\u2013Munkres&amp;#xff","og_url":"https:\/\/www.wsisp.com\/helps\/108047.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-20T12:40:51+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260920124050-6aafd45217844.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/108047.html","url":"https:\/\/www.wsisp.com\/helps\/108047.html","name":"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-20T12:40:51+00:00","dateModified":"2026-09-20T12:40:51+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/108047.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/108047.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/108047.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"KM \u7b97\u6cd5\u89e3\u6790\uff1a\u5e26\u6743\u4e8c\u5206\u56fe\u6700\u4f18\u5339\u914d\u4e0e\u9876\u6807\u8c03\u6574"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/108047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=108047"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/108047\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/108045"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=108047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=108047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=108047"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=108047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}