2020-09-02 09:42:51 +02:00
<!-- HTML header for doxygen 1.8.18 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2021-01-26 11:28:50 +01:00
< meta name = "generator" content = "Doxygen 1.9.1" / >
2020-09-02 09:42:51 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OR-Tools: routing.cc File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "styleSheet.tmp.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "orLogo.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > OR-Tools
2021-01-26 11:28:50 +01:00
  < span id = "projectnumber" > 8.2< / span >
2020-09-02 09:42:51 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-01-26 11:28:50 +01:00
<!-- Generated by Doxygen 1.9.1 -->
2020-09-02 09:42:51 +02:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-01-26 11:28:50 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2020-09-02 09:42:51 +02:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
< / div > <!-- top -->
< 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('routing_8cc.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#namespaces" > Namespaces< / a > |
< a href = "#define-members" > Macros< / a > |
< a href = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
< div class = "headertitle" >
< div class = "title" > routing.cc File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < a href = "routing_8cc_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 = "nested-classes" > < / a >
Classes< / h2 > < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_routing_model_inspector.html" > RoutingModelInspector< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structoperations__research_1_1_link.html" > Link< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structoperations__research_1_1_link_sort.html" > LinkSort< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_route_constructor.html" > RouteConstructor< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structoperations__research_1_1_sweep_index.html" > SweepIndex< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structoperations__research_1_1_sweep_index_sort_angle.html" > SweepIndexSortAngle< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structoperations__research_1_1_sweep_index_sort_distance.html" > SweepIndexSortDistance< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_sweep_builder.html" > SweepBuilder< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< 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 = "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" > The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows. < 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 = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:a29befb522070fbb60d7eac99962701e8" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "routing_8cc.html#a29befb522070fbb60d7eac99962701e8" > CP_ROUTING_PUSH_OPERATOR< / a > (operator_type, operator_method, operators)< / td > < / tr >
< tr class = "separator:a29befb522070fbb60d7eac99962701e8" > < 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 >
2020-11-18 14:53:30 +01:00
< tr class = "memitem:a1672e1017f4a78d0f4979681b5693470" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "routing_8cc.html#a1672e1017f4a78d0f4979681b5693470" > ABSL_FLAG< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > , sweep_sectors, 1, " The number of sectors the space is divided before it is sweeped " " by the ray." )< / td > < / tr >
< tr class = "separator:a1672e1017f4a78d0f4979681b5693470" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "memitem:afc5fb4c667b6bfb245eb96188d7365e9" > < td class = "memItemLeft" align = "right" valign = "top" > DecisionBuilder *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#afc5fb4c667b6bfb245eb96188d7365e9" > MakeSetValuesFromTargets< / a > (Solver *solver, std::vector< IntVar * > variables, std::vector< < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > > targets)< / td > < / tr >
< tr class = "memdesc:afc5fb4c667b6bfb245eb96188d7365e9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > A decision builder which tries to assign values to variables as close as possible to target values first. < a href = "namespaceoperations__research.html#afc5fb4c667b6bfb245eb96188d7365e9" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:afc5fb4c667b6bfb245eb96188d7365e9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "memitem:adc5e06b587829ed7c5e02c1d95293378" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#adc5e06b587829ed7c5e02c1d95293378" > HasUnaryDimension< / a > (const std::vector< RoutingDimension * > & dimensions)< / td > < / tr >
< tr class = "separator:adc5e06b587829ed7c5e02c1d95293378" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "memitem:ad13d20d0a1737677a4757bd6ef8a95b3" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#ad13d20d0a1737677a4757bd6ef8a95b3" > FillPathEvaluation< / a > (const std::vector< < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > > & path, const RoutingModel::TransitCallback2 & evaluator, std::vector< < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > > *values)< / td > < / tr >
< tr class = "separator:ad13d20d0a1737677a4757bd6ef8a95b3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "var-members" > < / a >
Variables< / h2 > < / td > < / tr >
< tr class = "memitem:adf85b9c9e168660e5f36d735d88f3955" > < td class = "memItemLeft" align = "right" valign = "top" > static const int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#adf85b9c9e168660e5f36d735d88f3955" > kUnassigned< / a > = -1< / td > < / tr >
< tr class = "separator:adf85b9c9e168660e5f36d735d88f3955" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:aad0164bf7f3d748207f45a47495def06" > < td class = "memItemLeft" align = "right" valign = "top" > struct < a class = "el" href = "structoperations__research_1_1_link_sort.html" > operations_research::LinkSort< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#aad0164bf7f3d748207f45a47495def06" > LinkComparator< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:aad0164bf7f3d748207f45a47495def06" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:a531a38e3526ca5036724e679f720dfb0" > < td class = "memItemLeft" align = "right" valign = "top" > struct < a class = "el" href = "structoperations__research_1_1_sweep_index_sort_angle.html" > operations_research::SweepIndexSortAngle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a531a38e3526ca5036724e679f720dfb0" > SweepIndexAngleComparator< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:a531a38e3526ca5036724e679f720dfb0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-10-09 12:00:09 +02:00
< tr class = "memitem:aa2347e154737220869f298587dfb3dc0" > < td class = "memItemLeft" align = "right" valign = "top" > struct < a class = "el" href = "structoperations__research_1_1_sweep_index_sort_distance.html" > operations_research::SweepIndexSortDistance< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#aa2347e154737220869f298587dfb3dc0" > SweepIndexDistanceComparator< / a > < / td > < / tr >
2020-09-02 09:42:51 +02:00
< tr class = "separator:aa2347e154737220869f298587dfb3dc0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a id = "a29befb522070fbb60d7eac99962701e8" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a29befb522070fbb60d7eac99962701e8" > ◆ < / a > < / span > CP_ROUTING_PUSH_OPERATOR< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define CP_ROUTING_PUSH_OPERATOR< / td >
< td > (< / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > operator_type, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > operator_method, < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" >   < / td >
< td class = "paramname" > operators  < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< b > Value:< / b > < div class = "fragment" > < div class = "line" > < span class = "keywordflow" > if< / span > (search_parameters.local_search_operators().use_##operator_method() == \< / div >
< div class = "line" > < a class = "code" href = "namespaceoperations__research.html#ab13458305fa2eb87238ff66066eecd5da7149f32738efcef1bf4db3d635d804b0" > BOOL_TRUE< / a > ) { \< / div >
< div class = "line" > operators.push_back(local_search_operators_[operator_type]); \< / div >
< div class = "line" > }< / div >
2021-01-26 11:28:50 +01:00
< div class = "ttc" id = "anamespaceoperations__research_html_ab13458305fa2eb87238ff66066eecd5da7149f32738efcef1bf4db3d635d804b0" > < div class = "ttname" > < a href = "namespaceoperations__research.html#ab13458305fa2eb87238ff66066eecd5da7149f32738efcef1bf4db3d635d804b0" > operations_research::BOOL_TRUE< / a > < / div > < div class = "ttdeci" > @ BOOL_TRUE< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "optional__boolean_8pb_8h_source.html#l00062" > optional_boolean.pb.h:62< / a > < / div > < / div >
2020-09-02 09:42:51 +02:00
< / div > <!-- fragment -->
2021-02-16 18:34:57 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "routing_8cc_source.html#l04582" > 4582< / a > of file < a class = "el" href = "routing_8cc_source.html" > routing.cc< / a > .< / p >
2020-09-02 09:42:51 +02:00
< / div >
< / div >
< h2 class = "groupheader" > Function Documentation< / h2 >
2020-11-18 14:53:30 +01:00
< a id = "a1672e1017f4a78d0f4979681b5693470" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1672e1017f4a78d0f4979681b5693470" > ◆ < / a > < / span > ABSL_FLAG()< / h2 >
2020-09-02 09:42:51 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2020-11-18 14:53:30 +01:00
< td class = "memname" > ABSL_FLAG < / td >
2020-09-02 09:42:51 +02:00
< td > (< / td >
2020-11-18 14:53:30 +01:00
< td class = "paramtype" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td >
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2020-09-02 09:42:51 +02:00
< td class = "paramtype" > sweep_sectors  < / td >
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > 1  < / td >
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > " The number of sectors the space is divided before it is sweeped " " by the ray."   < / td >
< td class = "paramname" >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.18 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "dir_a7cc1eeded8f693d0da6c729bc88c45a.html" > ortools< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_afbb39f66221aac28bbdefd1dca2b2b0.html" > constraint_solver< / a > < / li > < li class = "navelem" > < a class = "el" href = "routing_8cc.html" > routing.cc< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
2021-01-26 11:28:50 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.9.1 < / li >
2020-09-02 09:42:51 +02:00
< / ul >
< / div >
< / body >
< / html >