98 lines
45 KiB
HTML
98 lines
45 KiB
HTML
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0//EN'>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>Kite - Detailed Router</title>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="SoC.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<h1 id="pagetop" class="header">Kite - Detailed Router</h1>
|
|
<!--
|
|
<center class="header">
|
|
<table class="header">
|
|
<tr>
|
|
<td><a href="customSummary.html">Summary</a></td>
|
|
<td><a href="namespaces.html">Namespaces</a></td>
|
|
<td><a href="customHierarchy.html">Class Hierarchy</a></td>
|
|
<td><a href="annotated.html">Classes</a></td>
|
|
<td><a href="functions.html">Member Index</a></td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
-->
|
|
<br>
|
|
<body onload="javascript:toggleLevel(1)">
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_2916ee297f5e79ec495d393dfe8ba769.html">kite</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">NegociateWindow.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// -*- C++ -*-</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// This file is part of the Coriolis Software.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Copyright (c) UPMC 2008-2018, All Rights Reserved</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// +-----------------------------------------------------------------+ </span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// | C O R I O L I S |</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// | K i t e - D e t a i l e d R o u t e r |</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// | |</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// | Author : Jean-Paul CHAPUT |</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// | E-mail : Jean-Paul.Chaput@lip6.fr |</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// | =============================================================== |</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// | C++ Header : "./kite/NegociateWindow.h" |</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// +-----------------------------------------------------------------+</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef KITE_NEGOCIATE_WINDOW_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define KITE_NEGOCIATE_WINDOW_H</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <set></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <queue></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span><a class="code" href="namespaceHurricane.html">Hurricane</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">class </span>Cell;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> }</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "katabatic/Grid.h"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "kite/RoutingEventQueue.h"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "kite/RoutingEventHistory.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "kite/RoutingEventLoop.h"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span><a class="code" href="namespaceKite.html">Kite</a> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">class </span>TrackElement;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">class </span>KiteEngine;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// Class : "Statistics".</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">class </span>Statistics {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">inline</span> Statistics ();</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> getGCellsCount () <span class="keyword">const</span>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> getSegmentsCount () <span class="keyword">const</span>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> getEventsCount () <span class="keyword">const</span>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> setGCellsCount ( <span class="keywordtype">size_t</span> );</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> setSegmentsCount ( <span class="keywordtype">size_t</span> );</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> setEventsCount ( <span class="keywordtype">size_t</span> );</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> incGCellCount ( <span class="keywordtype">size_t</span> );</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> incSegmentsCount ( <span class="keywordtype">size_t</span> );</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> incEventsCount ( <span class="keywordtype">size_t</span> );</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">inline</span> Statistics& operator+= ( <span class="keyword">const</span> Statistics& );</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">size_t</span> _gcellsCount;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">size_t</span> _segmentsCount;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">size_t</span> _eventsCount;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  };</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">inline</span> Statistics::Statistics ()</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  : _gcellsCount (0)</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  , _segmentsCount (0)</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  , _eventsCount (0)</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  { }</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> Statistics::getGCellsCount ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _gcellsCount; }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> Statistics::getSegmentsCount ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _segmentsCount; }</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> Statistics::getEventsCount ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _eventsCount; }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Statistics::setGCellsCount ( <span class="keywordtype">size_t</span> count ) { _gcellsCount = count; }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Statistics::setSegmentsCount ( <span class="keywordtype">size_t</span> count ) { _segmentsCount = count; }</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Statistics::setEventsCount ( <span class="keywordtype">size_t</span> count ) { _eventsCount = count; }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Statistics::incGCellCount ( <span class="keywordtype">size_t</span> count ) { _gcellsCount += count; }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Statistics::incSegmentsCount ( <span class="keywordtype">size_t</span> count ) { _segmentsCount += count; }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> Statistics::incEventsCount ( <span class="keywordtype">size_t</span> count ) { _eventsCount += count; }</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">inline</span> Statistics& Statistics::operator+= ( <span class="keyword">const</span> Statistics& other )</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  _gcellsCount += other._gcellsCount;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  _segmentsCount += other._segmentsCount;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  _eventsCount += other._eventsCount;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">// Class : "Kite::NegociateWindow".</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html"> 92</a></span>  <span class="keyword">class </span><a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a> {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604eb"> 95</a></span>  <span class="keyword">enum</span> <a class="code" href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604eb">Stage</a> { <a class="code" href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604eba19ccda3133337a5db697480ebfd6097f">Negociation</a> = 1</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604ebabdd3263d9492edf336ac52b4a9776b82"> 96</a></span>  , <a class="code" href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604ebabdd3263d9492edf336ac52b4a9776b82">Packing</a> = 2</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  };</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">static</span> <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a>* <a class="code" href="classKite_1_1NegociateWindow.html#ad9c37ea1398a6dfa332cb297141dc1c4">create</a> ( <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* );</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#a3a80b6032f86a56bec74609034b3246f">destroy</a> ();</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classKite_1_1NegociateWindow.html#aa1a08014471e19352a5efdabad3a87cb">isInterrupted</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* <a class="code" href="classKite_1_1NegociateWindow.html#af7373bd3a4ee8fcf28a316230ed37fc0">getKiteEngine</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Cell.html">Hurricane::Cell</a>* <a class="code" href="classKite_1_1NegociateWindow.html#a5ea0f667687d3a832f8c9806ccbe6792">getCell</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">inline</span> <span class="keyword">const</span> Katabatic::GCellVector& <a class="code" href="classKite_1_1NegociateWindow.html#ad8902daa6817d4275be5e3a37eb24424">getGCells</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1RoutingEventQueue.html">RoutingEventQueue</a>& <a class="code" href="classKite_1_1NegociateWindow.html#a80fc29623500b168c49ba14c49a00a76">getEventQueue</a> ();</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1RoutingEventHistory.html">RoutingEventHistory</a>& <a class="code" href="classKite_1_1NegociateWindow.html#a990d738cf85fa016589edaa08d736d4f">getEventHistory</a> ();</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1RoutingEventLoop.html">RoutingEventLoop</a>& <a class="code" href="classKite_1_1NegociateWindow.html#a9a41d40e5e378b9bcb99048262ec15a6">getEventLoop</a> ();</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604eb">Stage</a> <a class="code" href="classKite_1_1NegociateWindow.html#aeb77fbb60f78895b010f7a12658864a6">getStage</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#a329dbc5bc549e3fe354996368dbf7113">setGCells</a> ( <span class="keyword">const</span> Katabatic::GCellVector& );</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#a7c0d10dab2d32985e942b7678dcccafd">setInterrupt</a> ( <span class="keywordtype">bool</span> );</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#aad6b43971b936f7ea003d3ad0fd07532">setStage</a> ( <a class="code" href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604eb">Stage</a> );</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">double</span> <a class="code" href="classKite_1_1NegociateWindow.html#a4936106670361df6b6f3ef0b6088c9dc">computeWirelength</a> ();</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* <a class="code" href="classKite_1_1NegociateWindow.html#a7bf31fcd4e4007e62454689ef7c553fc">createTrackSegment</a> ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1AutoSegment.html">AutoSegment</a>*, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags );</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#a51ba8e6a122c0cb93174027658cade63">addRoutingEvent</a> ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>*, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> level );</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#acad8f73494d122463d65797d337ce275">rescheduleEvent</a> ( <a class="code" href="classKite_1_1RoutingEvent.html">RoutingEvent</a>*, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> level );</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#a61e848b73b597f54e2e83e13eb70ff83">run</a> ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags );</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#a8d3dfaa30cedabd6b64977827ac989d8">printStatistics</a> () <span class="keyword">const</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">void</span> _createRouting ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1GCell_1_1CompareByDensity.html">Katabatic::GCell</a>* );</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">void</span> _pack ( <span class="keywordtype">size_t</span>& count, <span class="keywordtype">bool</span> last );</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">size_t</span> _negociate ();</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  Hurricane::Record* _getRecord () <span class="keyword">const</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  std::string _getString () <span class="keyword">const</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">inline</span> std::string _getTypeName () <span class="keyword">const</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">// Attributes.</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _flags;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">bool</span> _interrupt;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* _kite;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  Katabatic::GCellVector _gcells;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  std::vector<TrackElement*> _segments;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classKite_1_1RoutingEventQueue.html">RoutingEventQueue</a> _eventQueue;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <a class="code" href="classKite_1_1RoutingEventHistory.html">RoutingEventHistory</a> _eventHistory;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="classKite_1_1RoutingEventLoop.html">RoutingEventLoop</a> _eventLoop;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  Statistics _statistics;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">// Constructors.</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a> ( <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* );</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  ~<a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a> ();</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a> ( <span class="keyword">const</span> <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a>& );</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a>& operator= ( <span class="keyword">const</span> <a class="code" href="classKite_1_1NegociateWindow.html">NegociateWindow</a>& );</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  };</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment">// Inline Functions.</span></div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#aa1a08014471e19352a5efdabad3a87cb"> 148</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classKite_1_1NegociateWindow.html#aa1a08014471e19352a5efdabad3a87cb">NegociateWindow::isInterrupted</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _interrupt; }</div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#af7373bd3a4ee8fcf28a316230ed37fc0"> 149</a></span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1KiteEngine.html">KiteEngine</a>* <a class="code" href="classKite_1_1NegociateWindow.html#af7373bd3a4ee8fcf28a316230ed37fc0">NegociateWindow::getKiteEngine</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _kite; }</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#ad8902daa6817d4275be5e3a37eb24424"> 150</a></span>  <span class="keyword">inline</span> <span class="keyword">const</span> Katabatic::GCellVector& <a class="code" href="classKite_1_1NegociateWindow.html#ad8902daa6817d4275be5e3a37eb24424">NegociateWindow::getGCells</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _gcells; }</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#a80fc29623500b168c49ba14c49a00a76"> 151</a></span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1RoutingEventQueue.html">RoutingEventQueue</a>& <a class="code" href="classKite_1_1NegociateWindow.html#a80fc29623500b168c49ba14c49a00a76">NegociateWindow::getEventQueue</a> () { <span class="keywordflow">return</span> _eventQueue; }</div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#a990d738cf85fa016589edaa08d736d4f"> 152</a></span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1RoutingEventHistory.html">RoutingEventHistory</a>& <a class="code" href="classKite_1_1NegociateWindow.html#a990d738cf85fa016589edaa08d736d4f">NegociateWindow::getEventHistory</a> () { <span class="keywordflow">return</span> _eventHistory; }</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#a7c0d10dab2d32985e942b7678dcccafd"> 153</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#a7c0d10dab2d32985e942b7678dcccafd">NegociateWindow::setInterrupt</a> ( <span class="keywordtype">bool</span> state ) { _interrupt = state; }</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classKite_1_1NegociateWindow.html#acad8f73494d122463d65797d337ce275"> 154</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classKite_1_1NegociateWindow.html#acad8f73494d122463d65797d337ce275">NegociateWindow::rescheduleEvent</a> ( <a class="code" href="classKite_1_1RoutingEvent.html">RoutingEvent</a>* event, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> level ) { <span class="keyword">event</span>->reschedule(_eventQueue,level); }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keyword">inline</span> std::string NegociateWindow::_getTypeName ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"NegociateWindow"</span>; }</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> } <span class="comment">// Kite namespace.</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor">#endif // KITE_NEGOCIATE_WINDOW_H</span></div><div class="ttc" id="classKite_1_1RoutingEvent_html"><div class="ttname"><a href="classKite_1_1RoutingEvent.html">Kite::RoutingEvent</a></div><div class="ttdoc">Atomic Placement Request for a TrackSegment. </div><div class="ttdef"><b>Definition:</b> RoutingEvent.h:55</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1GCell_1_1CompareByDensity_html"><div class="ttname"><a href="../katabatic/classKatabatic_1_1GCell_1_1CompareByDensity.html">Katabatic::GCell</a></div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a7c0d10dab2d32985e942b7678dcccafd"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a7c0d10dab2d32985e942b7678dcccafd">Kite::NegociateWindow::setInterrupt</a></div><div class="ttdeci">void setInterrupt(bool)</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:153</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_aca8133200c1122e29b87b314d82604eba19ccda3133337a5db697480ebfd6097f"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604eba19ccda3133337a5db697480ebfd6097f">Kite::NegociateWindow::Negociation</a></div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:95</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_aca8133200c1122e29b87b314d82604ebabdd3263d9492edf336ac52b4a9776b82"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604ebabdd3263d9492edf336ac52b4a9776b82">Kite::NegociateWindow::Packing</a></div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:96</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a80fc29623500b168c49ba14c49a00a76"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a80fc29623500b168c49ba14c49a00a76">Kite::NegociateWindow::getEventQueue</a></div><div class="ttdeci">RoutingEventQueue & getEventQueue()</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:151</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_acad8f73494d122463d65797d337ce275"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#acad8f73494d122463d65797d337ce275">Kite::NegociateWindow::rescheduleEvent</a></div><div class="ttdeci">void rescheduleEvent(RoutingEvent *, unsigned int level)</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:154</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_ad8902daa6817d4275be5e3a37eb24424"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#ad8902daa6817d4275be5e3a37eb24424">Kite::NegociateWindow::getGCells</a></div><div class="ttdeci">const Katabatic::GCellVector & getGCells() const</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:150</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a9a41d40e5e378b9bcb99048262ec15a6"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a9a41d40e5e378b9bcb99048262ec15a6">Kite::NegociateWindow::getEventLoop</a></div><div class="ttdeci">RoutingEventLoop & getEventLoop()</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a3a80b6032f86a56bec74609034b3246f"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a3a80b6032f86a56bec74609034b3246f">Kite::NegociateWindow::destroy</a></div><div class="ttdeci">void destroy()</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:185</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a61e848b73b597f54e2e83e13eb70ff83"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a61e848b73b597f54e2e83e13eb70ff83">Kite::NegociateWindow::run</a></div><div class="ttdeci">void run(unsigned int flags)</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:557</div></div>
|
|
<div class="ttc" id="classHurricane_1_1Cell_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Cell.html">Hurricane::Cell</a></div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a990d738cf85fa016589edaa08d736d4f"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a990d738cf85fa016589edaa08d736d4f">Kite::NegociateWindow::getEventHistory</a></div><div class="ttdeci">RoutingEventHistory & getEventHistory()</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:152</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a7bf31fcd4e4007e62454689ef7c553fc"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a7bf31fcd4e4007e62454689ef7c553fc">Kite::NegociateWindow::createTrackSegment</a></div><div class="ttdeci">TrackElement * createTrackSegment(AutoSegment *, unsigned int flags)</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:226</div></div>
|
|
<div class="ttc" id="classKatabatic_1_1AutoSegment_html"><div class="ttname"><a href="../katabatic/classKatabatic_1_1AutoSegment.html">Katabatic::AutoSegment</a></div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a4936106670361df6b6f3ef0b6088c9dc"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a4936106670361df6b6f3ef0b6088c9dc">Kite::NegociateWindow::computeWirelength</a></div><div class="ttdeci">double computeWirelength()</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:317</div></div>
|
|
<div class="ttc" id="classKite_1_1RoutingEventLoop_html"><div class="ttname"><a href="classKite_1_1RoutingEventLoop.html">Kite::RoutingEventLoop</a></div><div class="ttdoc">Simple loop dectector for RoutingEvent. </div><div class="ttdef"><b>Definition:</b> RoutingEventLoop.h:32</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a51ba8e6a122c0cb93174027658cade63"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a51ba8e6a122c0cb93174027658cade63">Kite::NegociateWindow::addRoutingEvent</a></div><div class="ttdeci">void addRoutingEvent(TrackElement *, unsigned int level)</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:212</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_af7373bd3a4ee8fcf28a316230ed37fc0"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#af7373bd3a4ee8fcf28a316230ed37fc0">Kite::NegociateWindow::getKiteEngine</a></div><div class="ttdeci">KiteEngine * getKiteEngine() const</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:149</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_aa1a08014471e19352a5efdabad3a87cb"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#aa1a08014471e19352a5efdabad3a87cb">Kite::NegociateWindow::isInterrupted</a></div><div class="ttdeci">bool isInterrupted() const</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:148</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html"><div class="ttname"><a href="classKite_1_1NegociateWindow.html">Kite::NegociateWindow</a></div><div class="ttdoc">Perform the routing, main RoutingEvent manager. </div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:92</div></div>
|
|
<div class="ttc" id="classKite_1_1KiteEngine_html"><div class="ttname"><a href="classKite_1_1KiteEngine.html">Kite::KiteEngine</a></div><div class="ttdoc">The Kite Tool. </div><div class="ttdef"><b>Definition:</b> KiteEngine.h:60</div></div>
|
|
<div class="ttc" id="classKite_1_1RoutingEventHistory_html"><div class="ttname"><a href="classKite_1_1RoutingEventHistory.html">Kite::RoutingEventHistory</a></div><div class="ttdoc">History of RoutingEvent. </div><div class="ttdef"><b>Definition:</b> RoutingEventHistory.h:35</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a329dbc5bc549e3fe354996368dbf7113"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a329dbc5bc549e3fe354996368dbf7113">Kite::NegociateWindow::setGCells</a></div><div class="ttdeci">void setGCells(const Katabatic::GCellVector &)</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:193</div></div>
|
|
<div class="ttc" id="classKite_1_1TrackElement_html"><div class="ttname"><a href="classKite_1_1TrackElement.html">Kite::TrackElement</a></div><div class="ttdoc">Abstract Class for all Elements inserted inside a Track. </div><div class="ttdef"><b>Definition:</b> TrackElement.h:100</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_aeb77fbb60f78895b010f7a12658864a6"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#aeb77fbb60f78895b010f7a12658864a6">Kite::NegociateWindow::getStage</a></div><div class="ttdeci">Stage getStage() const</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_aca8133200c1122e29b87b314d82604eb"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#aca8133200c1122e29b87b314d82604eb">Kite::NegociateWindow::Stage</a></div><div class="ttdeci">Stage</div><div class="ttdef"><b>Definition:</b> NegociateWindow.h:95</div></div>
|
|
<div class="ttc" id="classKite_1_1RoutingEventQueue_html"><div class="ttname"><a href="classKite_1_1RoutingEventQueue.html">Kite::RoutingEventQueue</a></div><div class="ttdoc">The priority Queue of RoutingEvent. </div><div class="ttdef"><b>Definition:</b> RoutingEventQueue.h:35</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_aad6b43971b936f7ea003d3ad0fd07532"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#aad6b43971b936f7ea003d3ad0fd07532">Kite::NegociateWindow::setStage</a></div><div class="ttdeci">void setStage(Stage)</div></div>
|
|
<div class="ttc" id="namespaceHurricane_html"><div class="ttname"><a href="namespaceHurricane.html">Hurricane</a></div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a5ea0f667687d3a832f8c9806ccbe6792"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a5ea0f667687d3a832f8c9806ccbe6792">Kite::NegociateWindow::getCell</a></div><div class="ttdeci">Hurricane::Cell * getCell() const</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:189</div></div>
|
|
<div class="ttc" id="namespaceKite_html"><div class="ttname"><a href="namespaceKite.html">Kite</a></div><div class="ttdoc">The namespace dedicated to Kite. </div><div class="ttdef"><b>Definition:</b> Constants.h:22</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_ad9c37ea1398a6dfa332cb297141dc1c4"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#ad9c37ea1398a6dfa332cb297141dc1c4">Kite::NegociateWindow::create</a></div><div class="ttdeci">static NegociateWindow * create(KiteEngine *)</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:174</div></div>
|
|
<div class="ttc" id="classKite_1_1NegociateWindow_html_a8d3dfaa30cedabd6b64977827ac989d8"><div class="ttname"><a href="classKite_1_1NegociateWindow.html#a8d3dfaa30cedabd6b64977827ac989d8">Kite::NegociateWindow::printStatistics</a></div><div class="ttdeci">void printStatistics() const</div><div class="ttdef"><b>Definition:</b> NegociateWindow.cpp:602</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<br>
|
|
<hr>
|
|
<table class="footer1">
|
|
<tr>
|
|
<td class="LFooter"><small>Generated by doxygen 1.8.14 on Thu Oct 18 2018</small></td>
|
|
<td class="RFooter"><a href='#pagetop'><small>Return to top of page</small></a></td>
|
|
</tr>
|
|
</table>
|
|
<table class="footer2">
|
|
<tr>
|
|
<td class="LFooter">Kite - Detailed Router</td>
|
|
<td class="RFooter"><small>Copyright © 2008-2016 UPMC. All rights reserved</small></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|