2012-03-29 14:51:11 +00:00
<!-- Good morning, Mr. Phelps. -->
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html;charset=UTF-8" >
< title > or-tools/examples/cpp/: LocationContainer Class Reference - Doxy< / title >
< link rel = "shortcut icon" href = "../../../favicon.ico" >
<!-- Both stylesheets are supplied by Doxygen, with maybe minor tweaks from Google. -->
< link href = "../../../doxygen.css" rel = "stylesheet" type = "text/css" >
< link href = "../../../tabs.css" rel = "stylesheet" type = "text/css" >
< / head >
< body topmargin = 0 leftmargin = 20 bottommargin = 0 rightmargin = 20 marginwidth = 20 marginheight = 0 >
2012-08-22 17:21:54 +00:00
<!-- Second part of the secret behind Doxy logo always having the word "Doxy" with the color of the day. -->
< style >
a.doxy_logo:hover {
background-color: #287003
}
< / style >
2012-03-29 14:51:11 +00:00
< table width = 100% cellpadding = 0 cellspacing = 0 border = 0 >
<!-- Top horizontal line with the color of the day. -->
< tr valign = top >
2012-08-22 17:21:54 +00:00
< td colspan = 3 bgcolor = #287003 height = 3 > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
<!-- Header row with the links at the right. -->
< tr valign = top >
< td colspan = 3 align = right >
< font size = -1 >
2012-08-22 17:21:54 +00:00
Generated on: < font color = #287003 > < b > Thu Mar 29 07:46:58 PDT 2012< / b > < / font >
for < b > custom file set< / b >
2012-03-29 14:51:11 +00:00
< / font >
< / td >
< / tr >
<!-- Header row with the logo and the search form. -->
< tr valign = top >
<!-- Logo. -->
< td align = left width = 150 >
< table width = 150 height = 54 cellpadding = 0 cellspacing = 0 border = 0 >
< tr valign = top >
<!-- First part of the secret behind Doxy logo always having the word "Doxy" with the color of the day. -->
2012-08-22 17:21:54 +00:00
< td bgcolor = #287003 >
< a class = "doxy_logo" href = "../../../index.html" > < img src = "../../../doxy_logo.png" alt = "Doxy" border = 0 > < / a >
2012-03-29 14:51:11 +00:00
< / td >
< / tr >
< / table >
< / td >
< / tr >
<!-- Tiny vertical space below the form. -->
< tr valign = top >
< td colspan = 3 height = 3 > < / td >
< / tr >
< / table >
<!-- Header navigation row. -->
< div class = "memproto" >
< table width = 100% cellpadding = 0 cellspacing = 0 border = 0 >
< tr >
< td align = left style = "padding-left: 20px" > < font size = +1 > < b > < tt > < font color = #333333 > //
2012-08-22 17:21:54 +00:00
< a href = "../../../index.html" > < font color = #287003 > doxy< / font > < / a > /< / font >
2012-03-29 14:51:11 +00:00
< a href = "../../../or-tools/index.html" > or-tools< / a > /
< a href = "../../../or-tools/examples/index.html" > examples< / a > /
< a href = "../../../or-tools/examples/cpp/index.html" > cpp< / a > /
< / tt > < / b > < / font >
< / td >
< / tr >
< / table >
< / div >
< br / >
<!-- No subdirs found. -->
<!-- End of header. -->
2012-08-22 17:21:54 +00:00
<!-- Generated by Doxygen 1.5.6 -->
< div class = "navigation" id = "top" >
< div class = "tabs" >
< ul >
< li > < a href = "index.html" > < span > Main Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related Pages< / span > < / a > < / li >
2012-03-29 14:51:11 +00:00
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
2012-08-22 17:21:54 +00:00
< div class = "tabs" >
< ul >
< li > < a href = "annotated.html" > < span > Class List< / span > < / a > < / li >
< li > < a href = "hierarchy.html" > < span > Class Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class Members< / span > < / a > < / li >
2012-03-29 14:51:11 +00:00
< / ul >
< / div >
< / div >
< div class = "contents" >
2012-08-22 17:21:54 +00:00
< h1 > LocationContainer Class Reference< / h1 > <!-- doxytag: class="LocationContainer" --> Location container, contains positions of orders and can be used to obtain Manhattan distances/times between locations.
< a href = "#_details" > More...< / a >
< p >
< p >
< a href = "classLocationContainer-members.html" > List of all members.< / a > < table border = "0" cellpadding = "0" cellspacing = "0" >
< tr > < td > < / td > < / tr >
< tr > < td colspan = "2" > < br > < h2 > Public Member Functions< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classLocationContainer.html#a7fb08838333b05f600db7215710b52c" > LocationContainer< / a > (int64 speed)< / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classLocationContainer.html#339cc207ee743a4e017b1ce80ddedd0c" > AddLocation< / a > (int64 x, int64 y)< / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > void < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classLocationContainer.html#4a3b2a5ba40258e6fa3ecacc48b49810" > AddRandomLocation< / a > (int64 x_max, int64 y_max)< / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > int64 < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classLocationContainer.html#bc60cb2d64b52ebec766c50ce740af1c" > ManhattanDistance< / a > (RoutingModel::NodeIndex from, RoutingModel::NodeIndex to) const < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > int64 < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classLocationContainer.html#2e099c7e05fb68934ef75c169b3196c0" > ManhattanTime< / a > (RoutingModel::NodeIndex from, RoutingModel::NodeIndex to) const < / td > < / tr >
< tr > < td colspan = "2" > < br > < h2 > Classes< / h2 > < / td > < / tr >
< tr > < td class = "memItemLeft" nowrap align = "right" valign = "top" > class < / td > < td class = "memItemRight" valign = "bottom" > < b > Location< / b > < / td > < / tr >
2012-03-29 14:51:11 +00:00
< / table >
2012-08-22 17:21:54 +00:00
< hr > < a name = "_details" > < / a > < h2 > Detailed Description< / h2 >
Location container, contains positions of orders and can be used to obtain Manhattan distances/times between locations.
< p >
2012-03-29 14:51:11 +00:00
2012-08-22 17:21:54 +00:00
< p > Definition at line < a class = "el" href = "cvrptw_8cc-source.html#l00065" > 65< / a > of file < a class = "el" href = "cvrptw_8cc-source.html" > cvrptw.cc< / a > .< / p >
< hr > < h2 > Constructor & Destructor Documentation< / h2 >
< a class = "anchor" name = "a7fb08838333b05f600db7215710b52c" > < / a > <!-- doxytag: member="LocationContainer::LocationContainer" ref="a7fb08838333b05f600db7215710b52c" args="(int64 speed)" -->
2012-03-29 14:51:11 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2012-08-22 17:21:54 +00:00
< td class = "memname" > LocationContainer::LocationContainer < / td >
2012-03-29 14:51:11 +00:00
< td > (< / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > int64 < / td >
< td class = "paramname" > < em > speed< / em > < / td >
< td > ) < / td >
2012-03-29 14:51:11 +00:00
< td > < code > [inline, explicit]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2012-08-22 17:21:54 +00:00
< p >
< p > Definition at line < a class = "el" href = "cvrptw_8cc-source.html#l00067" > 67< / a > of file < a class = "el" href = "cvrptw_8cc-source.html" > cvrptw.cc< / a > .< / p >
2012-03-29 14:51:11 +00:00
< / div >
2012-08-22 17:21:54 +00:00
< / div > < p >
< hr > < h2 > Member Function Documentation< / h2 >
< a class = "anchor" name = "339cc207ee743a4e017b1ce80ddedd0c" > < / a > <!-- doxytag: member="LocationContainer::AddLocation" ref="339cc207ee743a4e017b1ce80ddedd0c" args="(int64 x, int64 y)" -->
2012-03-29 14:51:11 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2012-08-22 17:21:54 +00:00
< td class = "memname" > void LocationContainer::AddLocation < / td >
2012-03-29 14:51:11 +00:00
< td > (< / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > int64 < / td >
< td class = "paramname" > < em > x< / em > , < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > int64 < / td >
< td class = "paramname" > < em > y< / em > < / td > < td > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2012-08-22 17:21:54 +00:00
< td > < / td > < td > < / td > < td > < code > [inline]< / code > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2012-08-22 17:21:54 +00:00
< p >
< p > Definition at line < a class = "el" href = "cvrptw_8cc-source.html#l00071" > 71< / a > of file < a class = "el" href = "cvrptw_8cc-source.html" > cvrptw.cc< / a > .< / p >
2012-03-29 14:51:11 +00:00
< / div >
2012-08-22 17:21:54 +00:00
< / div > < p >
< a class = "anchor" name = "4a3b2a5ba40258e6fa3ecacc48b49810" > < / a > <!-- doxytag: member="LocationContainer::AddRandomLocation" ref="4a3b2a5ba40258e6fa3ecacc48b49810" args="(int64 x_max, int64 y_max)" -->
2012-03-29 14:51:11 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2012-08-22 17:21:54 +00:00
< td class = "memname" > void LocationContainer::AddRandomLocation < / td >
2012-03-29 14:51:11 +00:00
< td > (< / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > int64 < / td >
< td class = "paramname" > < em > x_max< / em > , < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > int64 < / td >
< td class = "paramname" > < em > y_max< / em > < / td > < td > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2012-08-22 17:21:54 +00:00
< td > < / td > < td > < / td > < td > < code > [inline]< / code > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2012-08-22 17:21:54 +00:00
< p >
< p > Definition at line < a class = "el" href = "cvrptw_8cc-source.html#l00074" > 74< / a > of file < a class = "el" href = "cvrptw_8cc-source.html" > cvrptw.cc< / a > .< / p >
2012-03-29 14:51:11 +00:00
< / div >
2012-08-22 17:21:54 +00:00
< / div > < p >
< a class = "anchor" name = "bc60cb2d64b52ebec766c50ce740af1c" > < / a > <!-- doxytag: member="LocationContainer::ManhattanDistance" ref="bc60cb2d64b52ebec766c50ce740af1c" args="(RoutingModel::NodeIndex from, RoutingModel::NodeIndex to) const " -->
2012-03-29 14:51:11 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2012-08-22 17:21:54 +00:00
< td class = "memname" > int64 LocationContainer::ManhattanDistance < / td >
2012-03-29 14:51:11 +00:00
< td > (< / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > RoutingModel::NodeIndex < / td >
< td class = "paramname" > < em > from< / em > , < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > RoutingModel::NodeIndex < / td >
< td class = "paramname" > < em > to< / em > < / td > < td > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2012-08-22 17:21:54 +00:00
< td > < / td > < td > < / td > < td > const< code > [inline]< / code > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2012-08-22 17:21:54 +00:00
< p >
< p > Definition at line < a class = "el" href = "cvrptw_8cc-source.html#l00077" > 77< / a > of file < a class = "el" href = "cvrptw_8cc-source.html" > cvrptw.cc< / a > .< / p >
2012-03-29 14:51:11 +00:00
< / div >
2012-08-22 17:21:54 +00:00
< / div > < p >
< a class = "anchor" name = "2e099c7e05fb68934ef75c169b3196c0" > < / a > <!-- doxytag: member="LocationContainer::ManhattanTime" ref="2e099c7e05fb68934ef75c169b3196c0" args="(RoutingModel::NodeIndex from, RoutingModel::NodeIndex to) const " -->
2012-03-29 14:51:11 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2012-08-22 17:21:54 +00:00
< td class = "memname" > int64 LocationContainer::ManhattanTime < / td >
2012-03-29 14:51:11 +00:00
< td > (< / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > RoutingModel::NodeIndex < / td >
< td class = "paramname" > < em > from< / em > , < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2012-08-22 17:21:54 +00:00
< td class = "paramtype" > RoutingModel::NodeIndex < / td >
< td class = "paramname" > < em > to< / em > < / td > < td > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
2012-08-22 17:21:54 +00:00
< td > < / td > < td > < / td > < td > const< code > [inline]< / code > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2012-08-22 17:21:54 +00:00
< p >
< p > Definition at line < a class = "el" href = "cvrptw_8cc-source.html#l00081" > 81< / a > of file < a class = "el" href = "cvrptw_8cc-source.html" > cvrptw.cc< / a > .< / p >
2012-03-29 14:51:11 +00:00
< / div >
2012-08-22 17:21:54 +00:00
< / div > < p >
< hr > The documentation for this class was generated from the following file:< ul >
< li > or-tools/examples/cpp/< a class = "el" href = "cvrptw_8cc-source.html" > cvrptw.cc< / a > < / ul >
2012-03-29 14:51:11 +00:00
< / div >
<!-- Start of footer. -->
< table width = 100% cellpadding = 0 cellspacing = 0 border = 0 >
< tr valign = top >
< td colspan = 2 height = 10 > < / td >
< / tr >
< tr valign = top >
2012-08-22 17:21:54 +00:00
< td colspan = 2 bgcolor = #287003 height = 3 > < / td >
2012-03-29 14:51:11 +00:00
< / tr >
< / table >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / > < br / >
< br / > < br / >
< / body >
< / html >