2019-06-13 15:36:14 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< title > OR-Tools< / title >
< meta http-equiv = "Content-Type" content = "text/html;" / >
< meta charset = "utf-8" / >
<!-- <link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/> -->
2019-06-20 23:08:48 +02:00
< link rel = "stylesheet" type = "text/css" href = "ortools.css" title = "default" media = "screen,print" / >
2019-06-13 15:36:14 +02:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< / head >
< body >
< div id = "banner-container" >
< div id = "banner" >
2019-06-29 18:18:08 +02:00
< span id = "sfml" > OR-Tools 7.2< / span >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-06-29 18:18:08 +02:00
< link rel = "icon" href = "https://developers.google.com/optimization/images/orLogo.png" >
2019-06-13 15:36:14 +02:00
< div id = "content" >
<!-- Generated by Doxygen 1.8.15 -->
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File  Members< / span > < / a > < / li >
< / ul >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_a7cc1eeded8f693d0da6c729bc88c45a.html" > ortools< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_725f3a5915051842f84e3ea508be2a62.html" > graph< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#namespaces" > Namespaces< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > minimum_spanning_tree.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < queue> < / code > < br / >
< code > #include < vector> < / code > < br / >
< code > #include " ortools/base/adjustable_priority_queue-inl.h" < / code > < br / >
< code > #include " ortools/base/adjustable_priority_queue.h" < / code > < br / >
< code > #include " ortools/base/integral_types.h" < / code > < br / >
< code > #include " < a class = "el" href = "connectivity_8h_source.html" > ortools/graph/connectivity.h< / a > " < / code > < br / >
< code > #include " ortools/util/vector_or_function.h" < / code > < br / >
< / div > < div class = "textblock" > < div class = "dynheader" >
Include dependency graph for minimum_spanning_tree.h:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "minimum__spanning__tree_8h__incl.png" border = "0" usemap = "#minimum__spanning__tree_8h" alt = "" / > < / div >
< map name = "minimum__spanning__tree_8h" id = "minimum__spanning__tree_8h" >
< area shape = "rect" title = " " alt = "" coords = "191,5,369,31" / >
< area shape = "rect" title = " " alt = "" coords = "5,85,64,111" / >
< area shape = "rect" title = " " alt = "" coords = "35,172,93,197" / >
< area shape = "rect" title = " " alt = "" coords = "395,79,554,117" / >
< area shape = "rect" title = " " alt = "" coords = "578,79,736,117" / >
< area shape = "rect" title = " " alt = "" coords = "117,165,259,204" / >
< area shape = "rect" href = "connectivity_8h.html" title = " " alt = "" coords = "189,85,371,111" / >
< area shape = "rect" title = " " alt = "" coords = "760,79,882,117" / >
< area shape = "rect" title = " " alt = "" coords = "283,172,434,197" / >
< area shape = "rect" title = " " alt = "" coords = "458,172,611,197" / >
< / map >
< / div >
< / div > < div class = "textblock" > < div class = "dynheader" >
This graph shows which files directly or indirectly include this file:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "minimum__spanning__tree_8h__dep__incl.png" border = "0" usemap = "#minimum__spanning__tree_8hdep" alt = "" / > < / div >
< map name = "minimum__spanning__tree_8hdep" id = "minimum__spanning__tree_8hdep" >
< area shape = "rect" title = " " alt = "" coords = "9,5,187,31" / >
< area shape = "rect" href = "christofides_8h.html" title = " " alt = "" coords = "5,79,105,104" / >
< area shape = "rect" href = "one__tree__lower__bound_8h.html" title = " " alt = "" coords = "14,152,182,177" / >
< / map >
< / div >
< / div >
< p > < a href = "minimum__spanning__tree_8h_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "namespaces" > < / a >
Namespaces< / h2 > < / td > < / tr >
< tr class = "memitem:namespaceoperations__research" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html" > operations_research< / a > < / td > < / tr >
< tr class = "memdesc:namespaceoperations__research" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. < br / > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a00ab79ee21ffd8dece0996e37f9faa7a" > < td class = "memTemplParams" colspan = "2" > template< typename Graph > < / td > < / tr >
< tr class = "memitem:a00ab79ee21ffd8dece0996e37f9faa7a" > < td class = "memTemplItemLeft" align = "right" valign = "top" > std::vector< typename Graph::ArcIndex >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a00ab79ee21ffd8dece0996e37f9faa7a" > operations_research::BuildKruskalMinimumSpanningTreeFromSortedArcs< / a > (const Graph & graph, const std::vector< typename Graph::ArcIndex > & sorted_arcs)< / td > < / tr >
< tr class = "memdesc:a00ab79ee21ffd8dece0996e37f9faa7a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Implementation of Kruskal's mininumum spanning tree algorithm (c.f. < a href = "namespaceoperations__research.html#a00ab79ee21ffd8dece0996e37f9faa7a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00ab79ee21ffd8dece0996e37f9faa7a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa565a47a059ef32ef1aec39768e4ec98" > < td class = "memTemplParams" colspan = "2" > template< typename Graph , typename ArcComparator > < / td > < / tr >
< tr class = "memitem:aa565a47a059ef32ef1aec39768e4ec98" > < td class = "memTemplItemLeft" align = "right" valign = "top" > std::vector< typename Graph::ArcIndex >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#aa565a47a059ef32ef1aec39768e4ec98" > operations_research::BuildKruskalMinimumSpanningTree< / a > (const Graph & graph, const ArcComparator & arc_comparator)< / td > < / tr >
< tr class = "memdesc:aa565a47a059ef32ef1aec39768e4ec98" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Version taking an arc comparator to sort graph arcs. < a href = "namespaceoperations__research.html#aa565a47a059ef32ef1aec39768e4ec98" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa565a47a059ef32ef1aec39768e4ec98" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a33a2f4c26fd60cd0fa98257b571c974f" > < td class = "memTemplParams" colspan = "2" > template< typename Graph , typename ArcValue > < / td > < / tr >
< tr class = "memitem:a33a2f4c26fd60cd0fa98257b571c974f" > < td class = "memTemplItemLeft" align = "right" valign = "top" > std::vector< typename Graph::ArcIndex >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a33a2f4c26fd60cd0fa98257b571c974f" > operations_research::BuildPrimMinimumSpanningTree< / a > (const Graph & graph, const ArcValue & arc_value)< / td > < / tr >
< tr class = "memdesc:a33a2f4c26fd60cd0fa98257b571c974f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Implementation of Prim's mininumum spanning tree algorithm (c.f. < a href = "namespaceoperations__research.html#a33a2f4c26fd60cd0fa98257b571c974f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a33a2f4c26fd60cd0fa98257b571c974f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< / div > <!-- contents -->
< / div >
< div id = "footer-container" >
< div id = "footer" >
< / div >
< / div >
< / body >
< / html >