《计算模型与算法技术教学课件》10-Iterative Improvement.pptVIP

  • 28
  • 0
  • 约2.68万字
  • 约 81页
  • 2016-09-20 发布于浙江
  • 举报

《计算模型与算法技术教学课件》10-Iterative Improvement.ppt

* * In order to provide a more interesting example, we will start with the matching M shown here. After we are finished, if you desire, we can go through the algorithm from the empty set (which is a much more simplistic example). * * * * Case 1 (w is in V) If u is free, augment the matching along the path ending at u by moving backwards until a free vertex in V is reached. After that, erase all labels and reinitialize Q with all the vertices in V that are still free If u is matched (not with w), label u with w and enqueue u Case 2 (w is in U) Label its matching mate v with w and enqueue

文档评论(0)

1亿VIP精品文档

相关文档