[68] | 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: src/main.cpp File 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><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 64 | <li class="current"><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="files.html"><span>File List</span></a></li> |
---|
| 83 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 84 | </ul> |
---|
| 85 | </div> |
---|
| 86 | </div> |
---|
| 87 | <div class="contents"> |
---|
| 88 | <h1>src/main.cpp File Reference</h1><code>#include "<a class="el" href="mainwindow_8h_source.html">mainwindow.h</a>"</code><br/> |
---|
| 89 | <div class="dynheader"> |
---|
| 90 | Include dependency graph for main.cpp:</div> |
---|
| 91 | <div class="dynsection"> |
---|
| 92 | <div class="center"><img src="main_8cpp__incl.png" border="0" usemap="#src_2main_8cpp_map" alt=""/></div> |
---|
| 93 | <map name="src_2main_8cpp_map" id="src_2main_8cpp"> |
---|
| 94 | <area shape="rect" id="node3" href="mainwindow_8h.html" title="Defines MainWindow class." alt="" coords="179,83,281,111"/> |
---|
| 95 | <area shape="rect" id="node5" href="globals_8h.html" title="This file contains TSPSG global defines." alt="" coords="203,315,275,343"/> |
---|
| 96 | <area shape="rect" id="node17" href="settingsdialog_8h.html" title="Defines SettingsDialog class." alt="" coords="174,161,286,189"/> |
---|
| 97 | <area shape="rect" id="node22" href="tspsolver_8h.html" title="Defines tMatrix typedef, sStep struct and CTSPSolver class." alt="" coords="310,161,393,189"/> |
---|
| 98 | <area shape="rect" id="node25" href="tspmodel_8h.html" title="Defines CTSPModel class." alt="" coords="378,238,463,266"/> |
---|
| 99 | <area shape="rect" id="node11" href="version_8h.html" title="This file contains TSPSG version information defines." alt="" coords="247,393,319,421"/> |
---|
| 100 | <area shape="rect" id="node13" href="os_8h.html" title="This file contains TSPSG target CPU architecture and OS detection." alt="" coords="343,393,389,421"/> |
---|
| 101 | </map> |
---|
| 102 | </div> |
---|
| 103 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 104 | <tr><td colspan="2"><h2>Functions</h2></td></tr> |
---|
| 105 | <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr> |
---|
| 106 | </table> |
---|
| 107 | <hr/><h2>Function Documentation</h2> |
---|
| 108 | <a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a><!-- doxytag: member="main.cpp::main" ref="a0ddf1224851353fc92bfbff6f499fa97" args="(int argc, char *argv[])" --> |
---|
| 109 | <div class="memitem"> |
---|
| 110 | <div class="memproto"> |
---|
| 111 | <table class="memname"> |
---|
| 112 | <tr> |
---|
| 113 | <td class="memname">int main </td> |
---|
| 114 | <td>(</td> |
---|
| 115 | <td class="paramtype">int </td> |
---|
| 116 | <td class="paramname"> <em>argc</em>, </td> |
---|
| 117 | </tr> |
---|
| 118 | <tr> |
---|
| 119 | <td class="paramkey"></td> |
---|
| 120 | <td></td> |
---|
| 121 | <td class="paramtype">char * </td> |
---|
| 122 | <td class="paramname"> <em>argv</em>[]</td><td> </td> |
---|
| 123 | </tr> |
---|
| 124 | <tr> |
---|
| 125 | <td></td> |
---|
| 126 | <td>)</td> |
---|
| 127 | <td></td><td></td><td></td> |
---|
| 128 | </tr> |
---|
| 129 | </table> |
---|
| 130 | </div> |
---|
| 131 | <div class="memdoc"> |
---|
| 132 | |
---|
| 133 | </div> |
---|
| 134 | </div> |
---|
| 135 | </div> |
---|
| 136 | <!--- window showing the filter options --> |
---|
| 137 | <div id="MSearchSelectWindow" |
---|
| 138 | onmouseover="return searchBox.OnSearchSelectShow()" |
---|
| 139 | onmouseout="return searchBox.OnSearchSelectHide()" |
---|
| 140 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
---|
| 141 | <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> |
---|
| 142 | |
---|
| 143 | <!-- iframe showing the search results (closed by default) --> |
---|
| 144 | <div id="MSearchResultsWindow"> |
---|
| 145 | <iframe src="" frameborder="0" |
---|
| 146 | name="MSearchResults" id="MSearchResults"> |
---|
| 147 | </iframe> |
---|
| 148 | </div> |
---|
| 149 | |
---|
| 150 | <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Oct 21 15:31:16 2009 for TSPSG: TSP Solver and Generator by |
---|
| 151 | <a href="http://www.doxygen.org/index.html"> |
---|
| 152 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
| 153 | </body> |
---|
| 154 | </html> |
---|