- ã¯ããã«
- max_weight_matching() ã«ã¤ãã¦
- bipartite.maximum_matching() ã«ã¤ãã¦
- ã°ã©ãçè«ã®ãããã³ã°ã¢ã«ã´ãªãºã ã®ç´¹ä»ã¹ã©ã¤ã
ã¯ããã«
以ä¸ã®è¨äºã§ç¨ãã "max_weight_matching()" ã«ã¤ãã¦ãã¶ãã¨ã¾ã¨ããã
upura.hatenablog.com
max_weight_matching() ã«ã¤ãã¦
ã©ãããé¢æ°ï¼
- ã©ã®ãã¼ããä¸åº¦ä»¥ä¸ã¨ãã¸ã®ç«¯ç¹ã«ãªããªããããªãããã³ã°ã®ãã¿ã¼ã³ã®ä¸ã§ãå ¨ã¦ã®ã¨ãã¸ã®éã¿ã®åè¨ãæã大ããçµã¿åãããè¿ãé¢æ°
- è¨ç®é㯠(number of nodes ** 3)
ã¢ã«ã´ãªãºã ã®è©³ç´°
Efficient Algorithms for Finding Maximum Matching in Graphsâ, Zvi Galil, ACM Computing Surveys, 1986.
http://www.cs.kent.edu/~dragan/GraphAn/p23-galil.pdf
bipartite.maximum_matching() ã«ã¤ãã¦
Documentation
ã©ãããé¢æ°ï¼
- äºé¨ã°ã©ãåãã®ä¼¼ããããªé¢æ°ã«è¦ãããããã¡ãã¯ã¨ãã¸ã®æ°ãæ大ã«ãªãçµã¿åãããè¿ã
- ç±³Wikiã«ã¯ã以ä¸ã®ãããªè¨è¿°ããã*1
A maximum matching (also known as maximum-cardinality matching[1]) is a matching that contains the largest possible number of edges.
ã°ã©ãçè«ã®ãããã³ã°ã¢ã«ã´ãªãºã ã®ç´¹ä»ã¹ã©ã¤ã
以ä¸ã®è³æãããã¾ã¨ã¾ã£ã¦ãã
*1:Matching (graph theory) - Wikipedia, 2018.06.01 available.