æå°å ¨åæ¨åé¡ã解ãããã®ã¢ã«ã´ãªãºã ãã¯ã©ã¹ã«ã«æ³ãã¨ãããªã æ³ãã使ã£ã¦ã¿ãï¼ æå°å ¨åæ¨ã«ã¤ã㦠ã¯ã©ã¹ã«ã«æ³ ããªã æ³ PKUã®åé¡ ã¯ã©ã¹ã«ã«æ³ã«ãã解ç ããªã æ³ã«ãã解ç ã¡ã¢ãªä½¿ç¨éã¨å®è¡æéã®æ¯è¼ æå°å ¨åæ¨ã«ã¤ã㦠ã¾ãï¼å ¨åæ¨(Spanning tree)ã¨ã¯é£çµã°ã©ãã®å ¨ã¦ã®é ç¹ã¨ãã®ã°ã©ããæ§æãã辺ã®ä¸é¨åã®ã¿ã§æ§æãããæ¨ã®ãã¨ï¼ã¤ã¾ãï¼é£çµã°ã©ãããé©å½ãªè¾ºãåãé¤ãã¦ããï¼éè·¯ããããªãæ¨ã®å½¢ã«ãããã®ãå ¨åæ¨ã¨ãªãï¼ããã§ï¼ã°ã©ãã®å辺ã«éã¿ãããå ´åï¼éã¿ã®ç·åãæå°ã«ãªãããã«è¾ºãé¸ãã§ä½ã£ãå ¨åæ¨ã®ãã¨ãæå°å ¨åæ¨(Minimum spanning tree)ã¨ããï¼ æå°å ¨åæ¨ãæ±ããã¢ã«ã´ãªãºã ã¨ãã¦ã¯ä»¥ä¸ã®äºã¤ãæåã§ããï¼ ã¯ã©ã¹ã«ã«æ³ (Kruskal's algorithm) ããªã æ³ (Prim's algorithm) ãããã貪欲
{{#tags}}- {{label}}
{{/tags}}