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 >
2019-07-15 17:42:24 -07:00
< li class = "current" > < a href = "files.html" > < span > Files< / span > < / a > < / li >
2019-06-13 15:36:14 +02:00
< / ul >
< / div >
< / div > <!-- top -->
2019-07-12 13:25:23 -07:00
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('eulerian__path_8h.html','');});
/* @license-end */
< / script >
< div id = "doc-content" >
2019-06-13 15:36:14 +02:00
< div class = "header" >
< div class = "summary" >
< a href = "#namespaces" > Namespaces< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > eulerian_path.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2019-07-15 17:42:24 -07:00
2019-06-13 15:36:14 +02:00
< p > < a href = "eulerian__path_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:ab1cf773de0cae72d0c44efe5b8f4bb89" > < td class = "memTemplParams" colspan = "2" > template< typename Graph > < / td > < / tr >
< tr class = "memitem:ab1cf773de0cae72d0c44efe5b8f4bb89" > < td class = "memTemplItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#ab1cf773de0cae72d0c44efe5b8f4bb89" > operations_research::IsEulerianGraph< / a > (const Graph & graph)< / td > < / tr >
< tr class = "memdesc:ab1cf773de0cae72d0c44efe5b8f4bb89" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns true if a graph is Eulerian, aka all its nodes are of even degree. < a href = "namespaceoperations__research.html#ab1cf773de0cae72d0c44efe5b8f4bb89" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ab1cf773de0cae72d0c44efe5b8f4bb89" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6b312dd19c90b2af099e6f159869f7ee" > < td class = "memTemplParams" colspan = "2" > template< typename NodeIndex , typename Graph > < / td > < / tr >
< tr class = "memitem:a6b312dd19c90b2af099e6f159869f7ee" > < td class = "memTemplItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a6b312dd19c90b2af099e6f159869f7ee" > operations_research::IsSemiEulerianGraph< / a > (const Graph & graph, std::vector< NodeIndex > *odd_nodes)< / td > < / tr >
< tr class = "memdesc:a6b312dd19c90b2af099e6f159869f7ee" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns true if a graph is Semi-Eulerian, aka at most two of its nodes are of odd degree. < a href = "namespaceoperations__research.html#a6b312dd19c90b2af099e6f159869f7ee" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a6b312dd19c90b2af099e6f159869f7ee" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a743d8c9d6f64531bdeb7bbf18023e9d4" > < td class = "memTemplParams" colspan = "2" > template< typename NodeIndex , typename Graph > < / td > < / tr >
< tr class = "memitem:a743d8c9d6f64531bdeb7bbf18023e9d4" > < td class = "memTemplItemLeft" align = "right" valign = "top" > std::vector< NodeIndex >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a743d8c9d6f64531bdeb7bbf18023e9d4" > operations_research::BuildEulerianPathFromNode< / a > (const Graph & graph, NodeIndex root)< / td > < / tr >
< tr class = "memdesc:a743d8c9d6f64531bdeb7bbf18023e9d4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Builds an Eulerian path/trail on an undirected graph starting from node root. < a href = "namespaceoperations__research.html#a743d8c9d6f64531bdeb7bbf18023e9d4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a743d8c9d6f64531bdeb7bbf18023e9d4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa63055860fc53f8eed56d23d2571c180" > < td class = "memTemplParams" colspan = "2" > template< typename NodeIndex , typename Graph > < / td > < / tr >
< tr class = "memitem:aa63055860fc53f8eed56d23d2571c180" > < td class = "memTemplItemLeft" align = "right" valign = "top" > std::vector< NodeIndex >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#aa63055860fc53f8eed56d23d2571c180" > operations_research::BuildEulerianTourFromNode< / a > (const Graph & graph, NodeIndex root)< / td > < / tr >
< tr class = "memdesc:aa63055860fc53f8eed56d23d2571c180" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Builds an Eulerian tour/circuit/cycle starting and ending at node root on an undirected graph. < a href = "namespaceoperations__research.html#aa63055860fc53f8eed56d23d2571c180" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa63055860fc53f8eed56d23d2571c180" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a034666fe63ca105b735272974006362a" > < td class = "memTemplParams" colspan = "2" > template< typename Graph > < / td > < / tr >
< tr class = "memitem:a034666fe63ca105b735272974006362a" > < td class = "memTemplItemLeft" align = "right" valign = "top" > std::vector< typename Graph::NodeIndex >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a034666fe63ca105b735272974006362a" > operations_research::BuildEulerianTour< / a > (const Graph & graph)< / td > < / tr >
< tr class = "memdesc:a034666fe63ca105b735272974006362a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Same as above but without specifying a start/end root node (node 0 is taken as default root). < a href = "namespaceoperations__research.html#a034666fe63ca105b735272974006362a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a034666fe63ca105b735272974006362a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a49b170b2d03863c465331e67b21f0c33" > < td class = "memTemplParams" colspan = "2" > template< typename Graph > < / td > < / tr >
< tr class = "memitem:a49b170b2d03863c465331e67b21f0c33" > < td class = "memTemplItemLeft" align = "right" valign = "top" > std::vector< typename Graph::NodeIndex >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a49b170b2d03863c465331e67b21f0c33" > operations_research::BuildEulerianPath< / a > (const Graph & graph)< / td > < / tr >
< tr class = "memdesc:a49b170b2d03863c465331e67b21f0c33" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Builds an Eulerian path/trail on an undirected graph. < a href = "namespaceoperations__research.html#a49b170b2d03863c465331e67b21f0c33" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a49b170b2d03863c465331e67b21f0c33" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< / div > <!-- contents -->
2019-07-12 13:25:23 -07:00
< / div > <!-- doc - content -->
2019-06-13 15:36:14 +02:00
< / div >
< div id = "footer-container" >
< div id = "footer" >
< / div >
< / div >
< / body >
< / html >