• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 43,  comments - 9,  trackbacks - 0
            Maximal Cliques on Circular-arc Graph
            合肥2008現場賽, 2009網賽 Guarders
            In graph theory, a circular-arc graph is the intersection graph of a set of arcs on the circle. --wiki

            uestc_floyd的做法是搜+剪枝.

            zzh@bupt大牛想出二分圖匹配的做法:
            固定某個區間Li肯定選中, 則剩下的區間里, 可能被選擇的只有與Li有交集的那些.
            (*)將那些區間分兩類: 與Li的左邊界交的, 與Li的右邊界交的.
            易知與Li兩邊界都交的是肯定可以選的, 不會產生不合要求的局面.
            不合要求的情況只可能是, 某個一類區間和某個二類區間沒有交, 卻同時選了它們.
            所以二分圖建圖方法為, 若某個一類區間和某個二類區間沒有交, 則連一條邊.
            二分圖的頂點數+1-最大匹配數即為Li對應的最優解.
            枚舉每個Li.
            理論時間復雜度相當高, O(n)*O(匹配), 實現上可以加入排序, 最優解剪枝等方案.

            ps. (*)非常巧妙的想法! 非常藝術!


            posted on 2009-09-07 13:23 wolf5x 閱讀(315) 評論(2)  編輯 收藏 引用 所屬分類: acm_icpcalgorithm

            FeedBack:
            # re: Guarders: Maximal Cliques on Circular-arc Graph
            2009-09-08 09:41 | yyz_max@163.com
            有實現代碼嗎?  回復  更多評論
              
            # re: Guarders: Maximal Cliques on Circular-arc Graph
            2009-09-08 09:43 | yyz_max@163.com
            能不能發我郵箱一個啊?
            yyz_max@163.com  回復  更多評論
              
            <2009年9月>
            303112345
            6789101112
            13141516171819
            20212223242526
            27282930123
            45678910

            "Do not spend all your time on training or studying - this way you will probably become very exhausted and unwilling to compete more. Whatever you do - have fun. Once you find programming is no fun anymore – drop it. Play soccer, find a girlfriend, study something not related to programming, just live a life - programming contests are only programming contests, and nothing more. Don't let them become your life - for your life is much more interesting and colorful." -- Petr

            留言簿(3)

            隨筆分類(59)

            隨筆檔案(43)

            cows

            搜索

            •  

            最新評論

            評論排行榜

            亚洲人成电影网站久久| …久久精品99久久香蕉国产| 久久精品人人做人人妻人人玩| 亚洲国产成人精品无码久久久久久综合 | 久久九九青青国产精品| 日韩AV无码久久一区二区| 国产美女久久久| 久久精品久久久久观看99水蜜桃| 久久久久国产精品熟女影院| 亚洲中文久久精品无码ww16| 日韩精品久久久久久久电影| 欧美亚洲另类久久综合婷婷| 久久亚洲精品成人AV| 性做久久久久久久| 精品无码久久久久国产| 久久久精品2019免费观看| 91精品国产91久久综合| 久久精品国产精品青草app| 久久久精品免费国产四虎| 精品久久综合1区2区3区激情| 狠狠色综合久久久久尤物| 久久一区二区免费播放| 亚洲国产精品无码久久| 亚洲欧美成人综合久久久| 91精品国产91久久综合| 99久久国产亚洲综合精品| 久久99精品国产99久久6| 久久国产高清字幕中文| 天天躁日日躁狠狠久久| 久久亚洲国产精品成人AV秋霞| 久久AAAA片一区二区| 久久久久免费精品国产| 97精品久久天干天天天按摩 | 久久国产高清字幕中文| 粉嫩小泬无遮挡久久久久久| 久久久久久夜精品精品免费啦| 亚洲色大成网站www久久九| 久久久久久久久久久久久久 | 四虎国产精品成人免费久久| 久久强奷乱码老熟女网站| 国产精品va久久久久久久|