source: tspsg-svn/trunk/docs/html/defaults_8h.html @ 97

Last change on this file since 97 was 97, checked in by laleppa, 15 years ago

+ Added precompiled header (PCH) file: should decrease project build time.

  • Improved installation and deployment rules in .pro file.
  • Improved translucency effect under Windows Vista/7.
  • Slightly modified qtwin.h to be included into the source documentation.
  • Regenerated source documentation.
File size: 16.9 KB
Line 
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/defaults.h 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"><!--
15var searchBox = new SearchBox("searchBox", "search",false,'Search');
16--></script>
17<script type="text/javascript">
18<!--
19function 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}
31function 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}
55window.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&nbsp;Page</span></a></li>
62      <li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
83      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
84    </ul>
85  </div>
86</div>
87<div class="contents">
88<h1>src/defaults.h File Reference</h1>
89<p>Contains TSPSG defaults. 
90<a href="#_details">More...</a></p>
91<div class="dynheader">
92This graph shows which files directly or indirectly include this file:</div>
93<div class="dynsection">
94<div class="center"><img src="defaults_8h__dep__incl.png" border="0" usemap="#src_2defaults_8hdep_map" alt=""/></div>
95<map name="src_2defaults_8hdep_map" id="src_2defaults_8hdep">
96<area shape="rect" id="node3" href="globals_8h.html" title="Contains TSPSG global defines." alt="" coords="97,83,193,111"/>
97<area shape="rect" id="node5" href="mainwindow_8h.html" title="Defines MainWindow class." alt="" coords="79,315,202,343"/>
98<area shape="rect" id="node7" href="settingsdialog_8h.html" title="Defines SettingsDialog class." alt="" coords="22,238,155,266"/>
99<area shape="rect" id="node10" href="tspmodel_8h.html" title="Defines CTSPModel class." alt="" coords="138,161,245,189"/>
100<area shape="rect" id="node13" href="tspsolver_8h.html" title="Defines TMatrix typedef, SCandidate and SStep structs and CTSPSolver class." alt="" coords="230,238,334,266"/>
101</map>
102</div>
103
104<p><a href="defaults_8h_source.html">Go to the source code of this file.</a></p>
105<table border="0" cellpadding="0" cellspacing="0">
106<tr><td colspan="2"><h2>Defines</h2></td></tr>
107<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d1fa8b5b2b213595f30e55d75070ed2"></a><!-- doxytag: member="defaults.h::DEF_NUM_CITIES" ref="a4d1fa8b5b2b213595f30e55d75070ed2" args="" -->
108#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a4d1fa8b5b2b213595f30e55d75070ed2">DEF_NUM_CITIES</a>&nbsp;&nbsp;&nbsp;5</td></tr>
109<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default number of cities. <br/></td></tr>
110<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a26cf35c10c1ed2eab930d839284842c6">DEF_AUTOSIZE</a>&nbsp;&nbsp;&nbsp;true</td></tr>
111<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bbdc41d8e9d2d8050fb973f058a5521"></a><!-- doxytag: member="defaults.h::DEF_USE_NATIVE_DIALOGS" ref="a6bbdc41d8e9d2d8050fb973f058a5521" args="" -->
112#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a6bbdc41d8e9d2d8050fb973f058a5521">DEF_USE_NATIVE_DIALOGS</a>&nbsp;&nbsp;&nbsp;true</td></tr>
113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Use native file dialog". <br/></td></tr>
114<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad983bd19a9662c6cb6fe5ba981cbdbf4"></a><!-- doxytag: member="defaults.h::DEF_SAVEPOS" ref="ad983bd19a9662c6cb6fe5ba981cbdbf4" args="" -->
115#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#ad983bd19a9662c6cb6fe5ba981cbdbf4">DEF_SAVEPOS</a>&nbsp;&nbsp;&nbsp;true</td></tr>
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Save main window state and position". <br/></td></tr>
117<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1514694a06d7bb7c282913d8474be546"></a><!-- doxytag: member="defaults.h::DEF_USE_TRANSLUCENCY" ref="a1514694a06d7bb7c282913d8474be546" args="" -->
118#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a1514694a06d7bb7c282913d8474be546">DEF_USE_TRANSLUCENCY</a>&nbsp;&nbsp;&nbsp;true</td></tr>
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Use translucency effects in Vista/7". <br/></td></tr>
120<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#afd1234d6d4416db1f37831403b3e2dbe">DEF_FRACTIONAL_ACCURACY</a>&nbsp;&nbsp;&nbsp;2</td></tr>
121<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21dd408136bbab225a4f5e2c42f85643"></a><!-- doxytag: member="defaults.h::DEF_RAND_MIN" ref="a21dd408136bbab225a4f5e2c42f85643" args="" -->
122#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a21dd408136bbab225a4f5e2c42f85643">DEF_RAND_MIN</a>&nbsp;&nbsp;&nbsp;1</td></tr>
123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default minimum for random numbers generation. <br/></td></tr>
124<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9914e148840572bac46f451db4cb6e5"></a><!-- doxytag: member="defaults.h::DEF_RAND_MAX" ref="af9914e148840572bac46f451db4cb6e5" args="" -->
125#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#af9914e148840572bac46f451db4cb6e5">DEF_RAND_MAX</a>&nbsp;&nbsp;&nbsp;10</td></tr>
126<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default maximum for random numbers generation. <br/></td></tr>
127<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a1e6c04461eabfc0cc0941d342ecfb4"></a><!-- doxytag: member="defaults.h::DEF_FRACTIONAL_RANDOM" ref="a4a1e6c04461eabfc0cc0941d342ecfb4" args="" -->
128#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a4a1e6c04461eabfc0cc0941d342ecfb4">DEF_FRACTIONAL_RANDOM</a>&nbsp;&nbsp;&nbsp;false</td></tr>
129<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Fractional random values". <br/></td></tr>
130<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af249ec8d65a40ef0b19738492d12948a"></a><!-- doxytag: member="defaults.h::DEF_SYMMETRIC_MODE" ref="af249ec8d65a40ef0b19738492d12948a" args="" -->
131#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#af249ec8d65a40ef0b19738492d12948a">DEF_SYMMETRIC_MODE</a>&nbsp;&nbsp;&nbsp;false</td></tr>
132<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Symmetric tasks mode". <br/></td></tr>
133<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a616d74fa946123f424193b007d5a6382">DEF_SHOW_MATRIX</a>&nbsp;&nbsp;&nbsp;true</td></tr>
134<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae37fe7eb909d7fd076f067900e900c0e"></a><!-- doxytag: member="defaults.h::DEF_USE_SHOW_MATRIX_LIMIT" ref="ae37fe7eb909d7fd076f067900e900c0e" args="" -->
135#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#ae37fe7eb909d7fd076f067900e900c0e">DEF_USE_SHOW_MATRIX_LIMIT</a>&nbsp;&nbsp;&nbsp;true</td></tr>
136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Show or hide solution steps' matrices based on number of cities in the task". <br/></td></tr>
137<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a261331d449328e53926027d021757d57"></a><!-- doxytag: member="defaults.h::DEF_SHOW_MATRIX_LIMIT" ref="a261331d449328e53926027d021757d57" args="" -->
138#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a261331d449328e53926027d021757d57">DEF_SHOW_MATRIX_LIMIT</a>&nbsp;&nbsp;&nbsp;15</td></tr>
139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Maximum number of cities to show solution steps' matrices". <br/></td></tr>
140<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6831bc2c2f11c3a14382c8fbe8d87efe"></a><!-- doxytag: member="defaults.h::DEF_SCROLL_TO_END" ref="a6831bc2c2f11c3a14382c8fbe8d87efe" args="" -->
141#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a6831bc2c2f11c3a14382c8fbe8d87efe">DEF_SCROLL_TO_END</a>&nbsp;&nbsp;&nbsp;false</td></tr>
142<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default for "Scroll to the end of output after solving". <br/></td></tr>
143<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2982eb0f2aea4cff78bd4aa767ff1988"></a><!-- doxytag: member="defaults.h::DEF_FONT_FAMILY" ref="a2982eb0f2aea4cff78bd4aa767ff1988" args="" -->
144#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a2982eb0f2aea4cff78bd4aa767ff1988">DEF_FONT_FAMILY</a>&nbsp;&nbsp;&nbsp;&quot;Courier New&quot;</td></tr>
145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default font name. <br/></td></tr>
146<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab73bf542bad61b0b720c0495ef612105"></a><!-- doxytag: member="defaults.h::DEF_FONT_SIZE" ref="ab73bf542bad61b0b720c0495ef612105" args="" -->
147#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#ab73bf542bad61b0b720c0495ef612105">DEF_FONT_SIZE</a>&nbsp;&nbsp;&nbsp;10</td></tr>
148<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default font size. <br/></td></tr>
149<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bbeb8fbbb2c6ec31993ff56f6b695e3"></a><!-- doxytag: member="defaults.h::DEF_FONT_COLOR" ref="a6bbeb8fbbb2c6ec31993ff56f6b695e3" args="" -->
150#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="defaults_8h.html#a6bbeb8fbbb2c6ec31993ff56f6b695e3">DEF_FONT_COLOR</a>&nbsp;&nbsp;&nbsp;Qt::black</td></tr>
151<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default font color. <br/></td></tr>
152</table>
153<hr/><a name="_details"></a><h2>Detailed Description</h2>
154<p>Contains TSPSG defaults. </p>
155<dl class="author"><dt><b>Author:</b></dt><dd>Copyright &copy; 2007-2010 Lёppa &lt;contacts[at]oleksii[dot]name&gt;</dd></dl>
156<dl class="rcs"><dt><b>Id</b></dt><dd><a class="el" href="defaults_8h.html" title="Contains TSPSG defaults.">defaults.h</a> 95 2010-02-27 13:13:50Z laleppa </dd></dl>
157<dl class="rcs"><dt><b>URL</b></dt><dd><a href="https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/defaults.h">https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/defaults.h</a> </dd></dl>
158<p><b>TSPSG: TSP Solver and Generator</b></p>
159<p>This file is part of TSPSG.</p>
160<p>TSPSG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
161<p>TSPSG is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
162<p>You should have received a copy of the GNU General Public License along with TSPSG. If not, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;. </p>
163<hr/><h2>Define Documentation</h2>
164<a class="anchor" id="a26cf35c10c1ed2eab930d839284842c6"></a><!-- doxytag: member="defaults.h::DEF_AUTOSIZE" ref="a26cf35c10c1ed2eab930d839284842c6" args="" -->
165<div class="memitem">
166<div class="memproto">
167      <table class="memname">
168        <tr>
169          <td class="memname">#define DEF_AUTOSIZE&nbsp;&nbsp;&nbsp;true</td>
170        </tr>
171      </table>
172</div>
173<div class="memdoc">
174<p>GENERAL Default for "Automatically resize rows and columns to their contents" </p>
175
176</div>
177</div>
178<a class="anchor" id="afd1234d6d4416db1f37831403b3e2dbe"></a><!-- doxytag: member="defaults.h::DEF_FRACTIONAL_ACCURACY" ref="afd1234d6d4416db1f37831403b3e2dbe" args="" -->
179<div class="memitem">
180<div class="memproto">
181      <table class="memname">
182        <tr>
183          <td class="memname">#define DEF_FRACTIONAL_ACCURACY&nbsp;&nbsp;&nbsp;2</td>
184        </tr>
185      </table>
186</div>
187<div class="memdoc">
188<p>TASK Default for "Accuracy of the fractional values" </p>
189
190</div>
191</div>
192<a class="anchor" id="a616d74fa946123f424193b007d5a6382"></a><!-- doxytag: member="defaults.h::DEF_SHOW_MATRIX" ref="a616d74fa946123f424193b007d5a6382" args="" -->
193<div class="memitem">
194<div class="memproto">
195      <table class="memname">
196        <tr>
197          <td class="memname">#define DEF_SHOW_MATRIX&nbsp;&nbsp;&nbsp;true</td>
198        </tr>
199      </table>
200</div>
201<div class="memdoc">
202<p>OUTPUT Default for "Show solution steps' matrices for every solution step" </p>
203
204</div>
205</div>
206</div>
207<!--- window showing the filter options -->
208<div id="MSearchSelectWindow"
209     onmouseover="return searchBox.OnSearchSelectShow()"
210     onmouseout="return searchBox.OnSearchSelectHide()"
211     onkeydown="return searchBox.OnSearchSelectKey(event)">
212<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>
213
214<!-- iframe showing the search results (closed by default) -->
215<div id="MSearchResultsWindow">
216<iframe src="" frameborder="0" 
217        name="MSearchResults" id="MSearchResults">
218</iframe>
219</div>
220
221<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Mar 3 01:46:35 2010 for TSPSG: TSP Solver and Generator by&nbsp;
222<a href="http://www.doxygen.org/index.html">
223<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
224</body>
225</html>
Note: See TracBrowser for help on using the repository browser.