Index: docs/html/globals_8h_source.html
===================================================================
--- docs/html/globals_8h_source.html	(revision 8af59c4aa389691fe923a5215d4be599c4087ff5)
+++ docs/html/globals_8h_source.html	(revision 8af59c4aa389691fe923a5215d4be599c4087ff5)
@@ -0,0 +1,170 @@
+<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
+<title>TSPSG: TSP Solver and Generator: src/globals.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javaScript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head>
+<body onload='searchBox.OnSelectItem(0);'>
+<!-- Generated by Doxygen 1.6.1 -->
+<script type="text/javascript"><!--
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+--></script>
+<script type="text/javascript">
+<!--
+function changeDisplayState (e){
+  var num=this.id.replace(/[^[0-9]/g,'');
+  var button=this.firstChild;
+  var sectionDiv=document.getElementById('dynsection'+num);
+  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
+    sectionDiv.style.display='block';
+    button.src='open.gif';
+  }else{
+    sectionDiv.style.display='none';
+    button.src='closed.gif';
+  }
+}
+function initDynSections(){
+  var divs=document.getElementsByTagName('div');
+  var sectionCounter=1;
+  for(var i=0;i<divs.length-1;i++){
+    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
+      var header=divs[i];
+      var section=divs[i+1];
+      var button=header.firstChild;
+      if (button!='IMG'){
+        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
+        button=document.createElement('img');
+        divs[i].insertBefore(button,divs[i].firstChild);
+      }
+      header.style.cursor='pointer';
+      header.onclick=changeDisplayState;
+      header.id='dynheader'+sectionCounter;
+      button.src='closed.gif';
+      section.id='dynsection'+sectionCounter;
+      section.style.display='none';
+      section.style.marginLeft='14px';
+      sectionCounter++;
+    }
+  }
+}
+window.onload = initDynSections;
+-->
+</script>
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li>
+        <div id="MSearchBox" class="MSearchBoxInactive">
+        <img id="MSearchSelect" src="search/search.png"
+             onmouseover="return searchBox.OnSearchSelectShow()"
+             onmouseout="return searchBox.OnSearchSelectHide()"
+             alt=""/>
+        <input type="text" id="MSearchField" value="Search" accesskey="S"
+             onfocus="searchBox.OnSearchFieldFocus(true)" 
+             onblur="searchBox.OnSearchFieldFocus(false)" 
+             onkeyup="searchBox.OnSearchFieldChange(event)"/>
+        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+        </div>
+      </li>
+    </ul>
+  </div>
+  <div class="tabs">
+    <ul>
+      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
+    </ul>
+  </div>
+<h1>src/globals.h</h1><a href="globals_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
+<a name="l00028"></a>00028 <span class="preprocessor">#ifndef GLOBALS_H</span>
+<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define GLOBALS_H</span>
+<a name="l00030"></a>00030 <span class="preprocessor"></span>
+<a name="l00031"></a>00031 <span class="comment">// INCLUDES</span>
+<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;QtCore&gt;</span>
+<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;QtGui&gt;</span>
+<a name="l00034"></a>00034 
+<a name="l00035"></a>00035 <span class="comment">// Version info</span>
+<a name="l00036"></a>00036 <span class="preprocessor">#include &quot;<a class="code" href="version_8h.html" title="Contains TSPSG version information defines.">version.h</a>&quot;</span>
+<a name="l00037"></a>00037 <span class="comment">// OS and ARCH detection</span>
+<a name="l00038"></a>00038 <span class="preprocessor">#include &quot;<a class="code" href="os_8h.html" title="Contains TSPSG target CPU architecture and OS detection.">os.h</a>&quot;</span>
+<a name="l00039"></a>00039 
+<a name="l00040"></a>00040 <span class="comment">// DEFINES</span>
+<a name="l00041"></a>00041 <span class="comment">// Default values</span>
+<a name="l00043"></a><a class="code" href="globals_8h.html#a21dd408136bbab225a4f5e2c42f85643">00043</a> <span class="comment"></span><span class="preprocessor">#define DEF_RAND_MIN 1</span>
+<a name="l00045"></a><a class="code" href="globals_8h.html#af9914e148840572bac46f451db4cb6e5">00045</a> <span class="preprocessor">#define DEF_RAND_MAX 10</span>
+<a name="l00047"></a><a class="code" href="globals_8h.html#a4d1fa8b5b2b213595f30e55d75070ed2">00047</a> <span class="preprocessor">#define DEF_NUM_CITIES 5</span>
+<a name="l00049"></a><a class="code" href="globals_8h.html#a2982eb0f2aea4cff78bd4aa767ff1988">00049</a> <span class="preprocessor">#define DEF_FONT_FAMILY &quot;Courier New&quot;</span>
+<a name="l00051"></a><a class="code" href="globals_8h.html#ab73bf542bad61b0b720c0495ef612105">00051</a> <span class="preprocessor">#define DEF_FONT_SIZE 10</span>
+<a name="l00053"></a><a class="code" href="globals_8h.html#a6bbeb8fbbb2c6ec31993ff56f6b695e3">00053</a> <span class="preprocessor">#define DEF_FONT_COLOR Qt::black</span>
+<a name="l00054"></a>00054 <span class="preprocessor"></span>
+<a name="l00056"></a><a class="code" href="globals_8h.html#a70edda218af688662bb006cf0552544e">00056</a> <span class="preprocessor">#define MAX_NUM_CITIES 30</span>
+<a name="l00058"></a><a class="code" href="globals_8h.html#a1703614f274735e91c1539048ef1093f">00058</a> <span class="preprocessor">#define MAX_RAND_VALUE 1000</span>
+<a name="l00059"></a>00059 <span class="preprocessor"></span>
+<a name="l00060"></a>00060 <span class="comment">// Paths</span>
+<a name="l00069"></a>00069 <span class="comment"></span><span class="preprocessor">#if defined(Q_OS_LINUX) || defined(Q_OS_UNIX)</span>
+<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">    #define PATH_I18N &quot;/usr/share/tspsg/i18n&quot;</span>
+<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">    #define PATH_DOCS &quot;/usr/share/doc/tspsg&quot;</span>
+<a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+<a name="l00073"></a><a class="code" href="globals_8h.html#ab1289b7280bd75b023ef2d5b19880af9">00073</a> <span class="preprocessor"></span><span class="preprocessor">    #define PATH_I18N &quot;i18n&quot;</span>
+<a name="l00074"></a><a class="code" href="globals_8h.html#a93de9563d724c12880c908961ca78dae">00074</a> <span class="preprocessor"></span><span class="preprocessor">    #define PATH_DOCS &quot;help&quot;</span>
+<a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#endif // Q_OS_LINUX</span>
+<a name="l00076"></a>00076 <span class="preprocessor"></span>
+<a name="l00078"></a><a class="code" href="globals_8h.html#abd9c3c65456a20b4b281165a29583e78">00078</a> <span class="preprocessor">#define TSPT quint32(0x54535054)</span>
+<a name="l00080"></a><a class="code" href="globals_8h.html#afc611d658b90f441ae837a2478b5bdb1">00080</a> <span class="preprocessor">#define TSPT_VERSION quint8(1)</span>
+<a name="l00082"></a><a class="code" href="globals_8h.html#a4c516e985c6e8edf1b54bcd7c15ad89c">00082</a> <span class="preprocessor">#define TSPT_META_VERSION quint8(1)</span>
+<a name="l00084"></a><a class="code" href="globals_8h.html#a98ea46119cfda59f7b9c6f50ef72636e">00084</a> <span class="preprocessor">#define TSPT_META_SIZE 2</span>
+<a name="l00086"></a><a class="code" href="globals_8h.html#a437bcbf6414d33f7a885a4507c1b9940">00086</a> <span class="preprocessor">#define ZKT quint16(0x5A4B)</span>
+<a name="l00088"></a><a class="code" href="globals_8h.html#ab6d630d0a03e4e53fceb0567653ca629">00088</a> <span class="preprocessor">#define ZKT_VERSION quint8(1)</span>
+<a name="l00089"></a>00089 <span class="preprocessor"></span>
+<a name="l00097"></a>00097 <span class="preprocessor">#ifdef INFINITY</span>
+<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor">    #undef INFINITY</span>
+<a name="l00099"></a>00099 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+<a name="l00100"></a><a class="code" href="globals_8h.html#a956e2723d559858d08644ac99146e910">00100</a> <span class="preprocessor"></span><span class="preprocessor">#define INFINITY 1.7E+308</span>
+<a name="l00102"></a><a class="code" href="globals_8h.html#a1ae8033146e07fa0bae37f148b90cd6b">00102</a> <span class="preprocessor">#define INFSTR &quot;---&quot;</span>
+<a name="l00103"></a>00103 <span class="preprocessor"></span>
+<a name="l00104"></a>00104 <span class="comment">// Sanity checks</span>
+<a name="l00105"></a>00105 <span class="comment">// Check that default number of cities is sane (&lt;= MAX_NUM_CITIES)</span>
+<a name="l00106"></a>00106 <span class="preprocessor">#if DEF_NUM_CITIES &gt; MAX_NUM_CITIES</span>
+<a name="l00107"></a>00107 <span class="preprocessor"></span><span class="preprocessor">    #undef DEF_NUM_CITIES</span>
+<a name="l00108"></a>00108 <span class="preprocessor"></span><span class="preprocessor">    #define DEF_NUM_CITIES MAX_NUM_CITIES</span>
+<a name="l00109"></a>00109 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+<a name="l00110"></a>00110 <span class="preprocessor"></span><span class="comment">// Check that maximum for random generation is sane (&lt;= MAX_RAND_VALUE)</span>
+<a name="l00111"></a>00111 <span class="preprocessor">#if DEF_RAND_MAX &gt; MAX_RAND_VALUE</span>
+<a name="l00112"></a>00112 <span class="preprocessor"></span><span class="preprocessor">    #undef DEF_RAND_MAX</span>
+<a name="l00113"></a>00113 <span class="preprocessor"></span><span class="preprocessor">    #define DEF_RAND_MAX MAX_RAND_VALUE</span>
+<a name="l00114"></a>00114 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+<a name="l00115"></a>00115 <span class="preprocessor"></span><span class="comment">// Check that DEF_RAND_MIN &lt;= DEF_RAND_MAX</span>
+<a name="l00116"></a>00116 <span class="preprocessor">#if DEF_RAND_MIN &gt; DEF_RAND_MAX</span>
+<a name="l00117"></a>00117 <span class="preprocessor"></span><span class="preprocessor">    #undef DEF_RAND_MIN</span>
+<a name="l00118"></a>00118 <span class="preprocessor"></span><span class="preprocessor">    #define DEF_RAND_MIN DEF_RAND_MAX</span>
+<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+<a name="l00120"></a>00120 <span class="preprocessor"></span>
+<a name="l00121"></a>00121 <span class="preprocessor">#endif // GLOBALS_H</span>
+</pre></div></div>
+<!--- window showing the filter options -->
+<div id="MSearchSelectWindow"
+     onmouseover="return searchBox.OnSearchSelectShow()"
+     onmouseout="return searchBox.OnSearchSelectHide()"
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
+<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>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="" frameborder="0" 
+        name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<hr size="1"/><address style="text-align: right;"><small>Generated on Sat Oct 24 16:33:19 2009 for TSPSG: TSP Solver and Generator by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
+</body>
+</html>
