1 | <!-- This comment will put IE 6, 7 and 8 in quirks mode --> |
---|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
4 | <head> |
---|
5 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
---|
6 | <title>TSPSG: TSP Solver and Generator: sStep Struct Reference</title> |
---|
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
---|
8 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
---|
9 | <script type="text/javaScript" src="search/search.js"></script> |
---|
10 | <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
---|
11 | </head> |
---|
12 | <body onload='searchBox.OnSelectItem(0);'> |
---|
13 | <!-- Generated by Doxygen 1.6.1 --> |
---|
14 | <script type="text/javascript"><!-- |
---|
15 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
---|
16 | --></script> |
---|
17 | <script type="text/javascript"> |
---|
18 | <!-- |
---|
19 | function changeDisplayState (e){ |
---|
20 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
21 | var button=this.firstChild; |
---|
22 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
23 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
24 | sectionDiv.style.display='block'; |
---|
25 | button.src='open.gif'; |
---|
26 | }else{ |
---|
27 | sectionDiv.style.display='none'; |
---|
28 | button.src='closed.gif'; |
---|
29 | } |
---|
30 | } |
---|
31 | function initDynSections(){ |
---|
32 | var divs=document.getElementsByTagName('div'); |
---|
33 | var sectionCounter=1; |
---|
34 | for(var i=0;i<divs.length-1;i++){ |
---|
35 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
36 | var header=divs[i]; |
---|
37 | var section=divs[i+1]; |
---|
38 | var button=header.firstChild; |
---|
39 | if (button!='IMG'){ |
---|
40 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
41 | button=document.createElement('img'); |
---|
42 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
43 | } |
---|
44 | header.style.cursor='pointer'; |
---|
45 | header.onclick=changeDisplayState; |
---|
46 | header.id='dynheader'+sectionCounter; |
---|
47 | button.src='closed.gif'; |
---|
48 | section.id='dynsection'+sectionCounter; |
---|
49 | section.style.display='none'; |
---|
50 | section.style.marginLeft='14px'; |
---|
51 | sectionCounter++; |
---|
52 | } |
---|
53 | } |
---|
54 | } |
---|
55 | window.onload = initDynSections; |
---|
56 | --> |
---|
57 | </script> |
---|
58 | <div class="navigation" id="top"> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
62 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
63 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
64 | <li><a href="files.html"><span>Files</span></a></li> |
---|
65 | <li> |
---|
66 | <div id="MSearchBox" class="MSearchBoxInactive"> |
---|
67 | <img id="MSearchSelect" src="search/search.png" |
---|
68 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
69 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
70 | alt=""/> |
---|
71 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
---|
72 | onfocus="searchBox.OnSearchFieldFocus(true)" |
---|
73 | onblur="searchBox.OnSearchFieldFocus(false)" |
---|
74 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
---|
75 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
---|
76 | </div> |
---|
77 | </li> |
---|
78 | </ul> |
---|
79 | </div> |
---|
80 | <div class="tabs"> |
---|
81 | <ul> |
---|
82 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
83 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
84 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
85 | </ul> |
---|
86 | </div> |
---|
87 | </div> |
---|
88 | <div class="contents"> |
---|
89 | <h1>sStep Struct Reference</h1><!-- doxytag: class="sStep" --> |
---|
90 | <p>This structure represents one step of solving. |
---|
91 | <a href="#_details">More...</a></p> |
---|
92 | |
---|
93 | <p><code>#include <<a class="el" href="tspsolver_8h_source.html">tspsolver.h</a>></code></p> |
---|
94 | <div class="dynheader"> |
---|
95 | Collaboration diagram for sStep:</div> |
---|
96 | <div class="dynsection"> |
---|
97 | <div class="center"><img src="structs_step__coll__graph.png" border="0" usemap="#s_step_coll__map" alt="Collaboration graph"/></div> |
---|
98 | <map name="s_step_coll__map" id="s_step_coll__map"> |
---|
99 | <area shape="rect" id="node3" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qlist.html" title="QList\< QList\< double \> \>" alt="" coords="5,6,173,34"/> |
---|
100 | </map> |
---|
101 | <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> |
---|
102 | |
---|
103 | <p><a href="structs_step-members.html">List of all members.</a></p> |
---|
104 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
105 | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
---|
106 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa172f0fca5234cfa240121e6363e6951"></a><!-- doxytag: member="sStep::sStep" ref="aa172f0fca5234cfa240121e6363e6951" args="()" --> |
---|
107 | </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_step.html#aa172f0fca5234cfa240121e6363e6951">sStep</a> ()</td></tr> |
---|
108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Assigns default values. <br/></td></tr> |
---|
109 | <tr><td colspan="2"><h2>Public Attributes</h2></td></tr> |
---|
110 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b16ffd0c21e19482d8080559a4ebea7"></a><!-- doxytag: member="sStep::matrix" ref="a0b16ffd0c21e19482d8080559a4ebea7" args="" --> |
---|
111 | <a class="elRef" doxygen="qt-4.6.tag:http://doc.trolltech.com/4.6/" href="http://doc.trolltech.com/4.6/qlist.html">tMatrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_step.html#a0b16ffd0c21e19482d8080559a4ebea7">matrix</a></td></tr> |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This step's matrix. <br/></td></tr> |
---|
113 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="addaeb82c9ddd12c50b753ad2988ceafc"></a><!-- doxytag: member="sStep::price" ref="addaeb82c9ddd12c50b753ad2988ceafc" args="" --> |
---|
114 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_step.html#addaeb82c9ddd12c50b753ad2988ceafc">price</a></td></tr> |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The price of travel to this step. <br/></td></tr> |
---|
116 | <tr><td class="memItemLeft" ><a class="anchor" id="a46e252aac4c84cc53d412c76f63fa6fd"></a><!-- doxytag: member="sStep::candidate" ref="a46e252aac4c84cc53d412c76f63fa6fd" args="" --> |
---|
117 | struct {</td></tr> |
---|
118 | <tr><td class="memItemLeft" > int <a class="el" href="structs_step.html#afa2175a8daa72a3b0cb510b4dd41b3e2">nRow</a></td></tr> |
---|
119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A zero-based row number of the candidate. <br/></td></tr> |
---|
120 | <tr><td class="memItemLeft" > int <a class="el" href="structs_step.html#a907c1872b0e7881130f0034145169fb1">nCol</a></td></tr> |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A zero-based column number of the candidate. <br/></td></tr> |
---|
122 | <tr><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_step.html#a46e252aac4c84cc53d412c76f63fa6fd">candidate</a></td></tr> |
---|
123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A candiadate for branching in the current matrix. <br/></td></tr> |
---|
124 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aabaeab5d890e4497a76c7a30a3f85cfa"></a><!-- doxytag: member="sStep::alts" ref="aabaeab5d890e4497a76c7a30a3f85cfa" args="" --> |
---|
125 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_step.html#aabaeab5d890e4497a76c7a30a3f85cfa">alts</a></td></tr> |
---|
126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether or not matrix has alternative candidates. <br/></td></tr> |
---|
127 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a984255a80c651dff62ac9571079a53"></a><!-- doxytag: member="sStep::plNode" ref="a7a984255a80c651dff62ac9571079a53" args="" --> |
---|
128 | <a class="el" href="structs_step.html">sStep</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_step.html#a7a984255a80c651dff62ac9571079a53">plNode</a></td></tr> |
---|
129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer to the left branch step. <br/></td></tr> |
---|
130 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f14c4a0df25ba8b109c6732d4a68216"></a><!-- doxytag: member="sStep::prNode" ref="a9f14c4a0df25ba8b109c6732d4a68216" args="" --> |
---|
131 | <a class="el" href="structs_step.html">sStep</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structs_step.html#a9f14c4a0df25ba8b109c6732d4a68216">prNode</a></td></tr> |
---|
132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Pointer to the right branch step. <br/></td></tr> |
---|
133 | </table> |
---|
134 | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
---|
135 | <p>This structure represents one step of solving. </p> |
---|
136 | <p>A tree of such elements will represent the solving process. </p> |
---|
137 | <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>TODO: List alternative candidates. </dd></dl> |
---|
138 | <hr/>The documentation for this struct was generated from the following file:<ul> |
---|
139 | <li>src/<a class="el" href="tspsolver_8h_source.html">tspsolver.h</a></li> |
---|
140 | </ul> |
---|
141 | </div> |
---|
142 | <!--- window showing the filter options --> |
---|
143 | <div id="MSearchSelectWindow" |
---|
144 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
145 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
146 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
147 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Defines</a></div> |
---|
148 | |
---|
149 | <!-- iframe showing the search results (closed by default) --> |
---|
150 | <div id="MSearchResultsWindow"> |
---|
151 | <iframe src="" frameborder="0" |
---|
152 | name="MSearchResults" id="MSearchResults"> |
---|
153 | </iframe> |
---|
154 | </div> |
---|
155 | |
---|
156 | <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Dec 7 18:11:40 2009 for TSPSG: TSP Solver and Generator by |
---|
157 | <a href="http://www.doxygen.org/index.html"> |
---|
158 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
159 | </body> |
---|
160 | </html> |
---|