82 lines
68 KiB
HTML
82 lines
68 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.13 -->
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',false,false,'search.php','Search');
|
|
});
|
|
</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">TrackElement.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@asim.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/TrackElement.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_TRACK_ELEMENT_H</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define KITE_TRACK_ELEMENT_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 <string></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <map></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "hurricane/Interval.h"</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>Record;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">class </span>Net;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keyword">class </span>Layer;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "katabatic/AutoSegment.h"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "kite/Constants.h"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "kite/Session.h"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "kite/TrackElements.h"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </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">namespace </span><a class="code" href="namespaceKite.html">Kite</a> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">using</span> std::string;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">using</span> std::map;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">using</span> Hurricane::Record;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Hurricane::Interval</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1DbU.html">Hurricane::DbU</a>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Hurricane::Box</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Net_1_1Direction.html">Hurricane::Net</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Layer.html">Hurricane::Layer</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1AutoSegment.html">Katabatic::AutoSegment</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">using</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Observer.html">Katabatic::Observer</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">using</span> Katabatic::KbNoFlags;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">class </span>DataNegociate;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">class </span>Track;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">class </span>TrackCost;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">typedef</span> map<Segment*,TrackElement*> TrackElementLut;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespaceKite.html#ac86883c8d5a0f34ab9b4ec6eaaad6c9f"> 56</a></span>  <span class="keyword">typedef</span> void (SegmentOverlapCostCB)( <span class="keyword">const</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>*, TrackCost& );</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// Class : "SegmentObserver".</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"><a class="line" href="classKite_1_1SegmentObserver.html"> 62</a></span>  <span class="keyword">class </span><a class="code" href="classKite_1_1SegmentObserver.html">SegmentObserver</a> : <span class="keyword">public</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Observer.html">Observer</a><TrackElement> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1SegmentObserver.html">SegmentObserver</a> ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* );</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> notify ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags );</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="classKite_1_1SegmentObserver.html">SegmentObserver</a> ( <span class="keyword">const</span> <a class="code" href="classKite_1_1SegmentObserver.html">SegmentObserver</a>& );</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> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">inline</span> SegmentObserver::SegmentObserver ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* owner )</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  : <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/katabatic/doc/html/katabatic.tag:../katabatic/" href="../katabatic/classKatabatic_1_1Observer.html">Observer<TrackElement></a>(owner)</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  { }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment">// -------------------------------------------------------------------</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment">// Class : "TrackElement".</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">enum</span> TrackElementFlags { TElemCreated =0x00000001</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  , TElemBlockage =0x00000002</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  , TElemFixed =0x00000004</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  , TElemLocked =0x00000008</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  , TElemRouted =0x00000010</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  , TElemSourceDogleg=0x00000020</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  , TElemTargetDogleg=0x00000040</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  , TElemRipple =0x00000080</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  , TElemInvalidated =0x00000100</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> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">struct </span>Compare {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">bool</span> operator() ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* lhs, <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* rhs );</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> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">struct </span>CompareByPosition {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">bool</span> operator() ( <span class="keyword">const</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* lhs, <span class="keyword">const</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* rhs ) <span class="keyword">const</span>;</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> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html"> 100</a></span>  <span class="keyword">class </span><a class="code" href="classKite_1_1TrackElement.html">TrackElement</a> {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">static</span> <a class="code" href="namespaceKite.html#ac86883c8d5a0f34ab9b4ec6eaaad6c9f">SegmentOverlapCostCB</a>* setOverlapCostCB ( <a class="code" href="namespaceKite.html#ac86883c8d5a0f34ab9b4ec6eaaad6c9f">SegmentOverlapCostCB</a>* );</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">public</span>: </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordtype">void</span> destroy ();</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">virtual</span> <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>* base () <span class="keyword">const</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// Wrapped AutoSegment Functions (when applicable).</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isFixed () <span class="keyword">const</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isHorizontal () <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isVertical () <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLocal () <span class="keyword">const</span>;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isGlobal () <span class="keyword">const</span>;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isBipoint () <span class="keyword">const</span>;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isTerminal () <span class="keyword">const</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isStrongTerminal ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags=0 ) <span class="keyword">const</span>;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isStrap () <span class="keyword">const</span>;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isSlackened () <span class="keyword">const</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isDogleg () <span class="keyword">const</span>;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isReduced () <span class="keyword">const</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isUTurn () <span class="keyword">const</span>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isUserDefined () <span class="keyword">const</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// Predicates. </span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> isCreated () <span class="keyword">const</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> isInvalidated () <span class="keyword">const</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> isBlockage () <span class="keyword">const</span>;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> isLocked () <span class="keyword">const</span>;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> isRouted () <span class="keyword">const</span>;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> hasSourceDogleg () <span class="keyword">const</span>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> hasTargetDogleg () <span class="keyword">const</span>;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> canRipple () <span class="keyword">const</span>;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> canSlacken () <span class="keyword">const</span>;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> canPivotUp ( <span class="keywordtype">float</span> reserve ) <span class="keyword">const</span>;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> canPivotDown ( <span class="keywordtype">float</span> reserve ) <span class="keyword">const</span>;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> canMoveUp ( <span class="keywordtype">float</span> reserve, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags=KbWithPerpands ) <span class="keyword">const</span>;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> canDogleg ();</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> canDogleg ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a> );</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> canDogleg ( <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>*, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags=0 );</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="comment">// Accessors</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1SegmentObserver.html">SegmentObserver</a>* getObserver ();</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> getId () <span class="keyword">const</span>;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getDirection () <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Net.html">Net</a>* getNet () <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Layer.html">Layer</a>* getLayer () <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> getPitch () <span class="keyword">const</span>;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> getPPitch () <span class="keyword">const</span>;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1Track.html">Track</a>* getTrack () <span class="keyword">const</span>;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> getIndex () <span class="keyword">const</span>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> getFreedomDegree () <span class="keyword">const</span>;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">virtual</span> <span class="keywordtype">float</span> getMaxUnderDensity ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags=0 ) <span class="keyword">const</span>;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a> getBoundingBox () <span class="keyword">const</span>;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* getNext () <span class="keyword">const</span>;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* getPrevious () <span class="keyword">const</span>;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> getAxis () <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> getSourceU () <span class="keyword">const</span>;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> getTargetU () <span class="keyword">const</span>;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> getLength () <span class="keyword">const</span>;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a> getCanonicalInterval () <span class="keyword">const</span>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a> getFreeInterval () <span class="keyword">const</span>;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a> getSourceConstraints () <span class="keyword">const</span>;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keyword">virtual</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a> getTargetConstraints () <span class="keyword">const</span>;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1DataNegociate.html">DataNegociate</a>* getDataNegociate ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags=<a class="code" href="namespaceKite.html#acca8fffa3182dea5f94208f454f14b47a68e917ff37d4b5cef906303181836404">KtDataSelf</a> ) <span class="keyword">const</span>;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* getCanonical ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a>& );</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> getGCells ( Katabatic::GCellVector& ) <span class="keyword">const</span>;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* getParent () <span class="keyword">const</span>;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getDoglegLevel () <span class="keyword">const</span>;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* getSourceDogleg ();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* getTargetDogleg ();</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keyword">virtual</span> TrackElements getPerpandiculars ();</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="comment">// Mutators. </span></div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> setFlags ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> );</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> unsetFlags ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> );</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> setRouted ();</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTrack ( <a class="code" href="classKite_1_1Track.html">Track</a>* );</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> setIndex ( <span class="keywordtype">size_t</span> );</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateFreedomDegree ();</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDoglegLevel ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> );</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> swapTrack ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* );</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> reschedule ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> level );</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> detach ();</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> invalidate ();</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> revalidate ();</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> updatePPitch ();</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> incOverlapCost ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Net.html">Net</a>*, TrackCost& ) <span class="keyword">const</span>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setAxis ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags=Katabatic::SegAxisSet );</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* makeDogleg ();</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> makeDogleg ( <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="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* makeDogleg ( <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>*, <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>*& perpandicular, <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>*& parallel );</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">virtual</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* makeDogleg ( <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>& flags );</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> _postDoglegs ( <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>*& perpandicular, <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>*& parallel );</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> moveAside ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags );</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> slacken ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags=KbNoFlags );</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> moveUp ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags );</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> moveDown ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags );</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor">#if THIS_IS_DISABLED </span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> desalignate ();</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="preprocessor">#endif </span></div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _check () <span class="keyword">const</span>;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keyword">virtual</span> Record* _getRecord () <span class="keyword">const</span>;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">virtual</span> <span class="keywordtype">string</span> _getString () <span class="keyword">const</span>;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">virtual</span> <span class="keywordtype">string</span> _getTypeName () <span class="keyword">const</span>;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="comment">// Static Attributes.</span></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keyword">static</span> <a class="code" href="namespaceKite.html#ac86883c8d5a0f34ab9b4ec6eaaad6c9f">SegmentOverlapCostCB</a>* _overlapCostCallback;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="comment">// Attributes. </span></div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _flags;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="classKite_1_1Track.html">Track</a>* _track;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordtype">size_t</span> _index;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> _sourceU;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> _targetU;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="classKite_1_1SegmentObserver.html">SegmentObserver</a> _observer;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="comment">// Constructors & Destructors.</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a> ( <a class="code" href="classKite_1_1Track.html">Track</a>* ) ;</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">virtual</span> ~<a class="code" href="classKite_1_1TrackElement.html">TrackElement</a> ();</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> _postCreate ();</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> _preDestroy ();</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a> ( <span class="keyword">const</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>& );</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>& operator= ( <span class="keyword">const</span> <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>& );</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  </div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  };</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> </div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment">// Inline functions.</span></div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1SegmentObserver.html">SegmentObserver</a>* TrackElement::getObserver () { <span class="keywordflow">return</span> &_observer; }</div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#aeb14f94914af58657a0dc2f50ec98df5"> 228</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> TrackElement::setFlags ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags ) { _flags|= flags; }</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a1a6fac115cb81db48e3ac9ffa0721bb5"> 229</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> TrackElement::unsetFlags ( <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags ) { _flags&=~flags; }</div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#af7d9cf1d7581b1cab04cf38c64f0f72a"> 230</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::isCreated ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemCreated; }</div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#ac540608485240ff88970131ebc02c1ab"> 231</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::isInvalidated ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemInvalidated; }</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a3fffa77f98cf6f0375f831bddce8a8fe"> 232</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::isBlockage ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemBlockage; }</div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a43966e19963e4bcb7f7f9b5327ec732b"> 233</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::isLocked ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemLocked; }</div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a29202b7dfab21852f8c8d773de7b3728"> 234</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::isRouted ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemRouted; }</div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#ab0ab07d0bdd701562ecc14bbdb41368d"> 235</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::hasSourceDogleg ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemSourceDogleg; }</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a2f1f15d433698222015fdda8e7fb599c"> 236</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::hasTargetDogleg ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemTargetDogleg; }</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a9b37c425c3152c576444ac0253b04f9f"> 237</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::canRipple ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _flags & TElemRipple; }</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a3f34f9139b8491a0adb531ac3a904171"> 238</a></span>  <span class="keyword">inline</span> <a class="code" href="classKite_1_1Track.html">Track</a>* TrackElement::getTrack ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _track; }</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#ad65a47a8b8a83be5d0b456b1074d1220"> 239</a></span>  <span class="keyword">inline</span> <span class="keywordtype">size_t</span> TrackElement::getIndex ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _index; }</div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#ab1ca7adfc68761c749a16f65c9aa4088"> 240</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> TrackElement::getLength ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> getTargetU() - getSourceU(); }</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#ad521ffba761b0e81b7b81b99d62f76f9"> 241</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> TrackElement::getSourceU ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _sourceU; }</div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a4d52a506cd19dfa8e22e1dc0695bd960"> 242</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">DbU::Unit</a> TrackElement::getTargetU ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _targetU; }</div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#ae96c050b96eaea51a3821cc01a1f3334"> 243</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a> TrackElement::getCanonicalInterval ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Interval.html">Interval</a>(getSourceU(),getTargetU()); }</div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#abee236b4d62f51320212f31e010fc1b5"> 244</a></span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> TrackElement::setIndex ( <span class="keywordtype">size_t</span> index ) { _index=index; }</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="keyword">inline</span> <span class="keywordtype">void</span> TrackElement::setRouted()</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  {</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  _flags |= TElemRouted;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordflow">if</span> (base()) base()->setFlags( Katabatic::SegFixed );</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  }</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#ab5d8bf98ab5af6fcfebea1b9f446d5d7"> 252</a></span>  <span class="keyword">inline</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a> TrackElement::getBoundingBox ()<span class="keyword"> const</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordflow">if</span> (getDirection() == KbHorizontal)</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordflow">return</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a>( getSourceU(), getAxis()-<a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#gaa1ba98acc939ff1c370c18544a5e0dce">DbU::lambda</a>(1.0), getTargetU(), getAxis()+<a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#gaa1ba98acc939ff1c370c18544a5e0dce">DbU::lambda</a>(1.0) );</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordflow">return</span> <a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/classHurricane_1_1Box.html">Box</a>( getAxis()-<a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#gaa1ba98acc939ff1c370c18544a5e0dce">DbU::lambda</a>(1.0), getSourceU(), getAxis()+<a class="codeRef" doxygen="/dsk/l1/jpc/coriolis-2.x/src/coriolis/hurricane/doc/hurricane/html/hurricane.tag:../hurricane/" href="../hurricane/group__DbUGroup.html#gaa1ba98acc939ff1c370c18544a5e0dce">DbU::lambda</a>(1.0), getTargetU() );</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  }</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="classKite_1_1TrackElement.html#a3e1b4982a2427f74e55592520ab6272d"> 259</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> TrackElement::makeDogleg ( <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>* gcell )</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  {</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* perpandicular = NULL;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <a class="code" href="classKite_1_1TrackElement.html">TrackElement</a>* parallel = NULL;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  makeDogleg( gcell, perpandicular, parallel );</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordflow">return</span> (perpandicular != NULL);</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> } <span class="comment">// Kite namespace.</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> INSPECTOR_P_SUPPORT(<a class="code" href="classKite_1_1TrackElement.html">Kite::TrackElement</a>);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="preprocessor">#endif</span></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="group__DbUGroup_html_gaa1ba98acc939ff1c370c18544a5e0dce"><div class="ttname"><a href="../hurricane/group__DbUGroup.html#gaa1ba98acc939ff1c370c18544a5e0dce">Hurricane::DbU::lambda</a></div><div class="ttdeci">static Unit lambda(double value)</div></div>
|
|
<div class="ttc" id="namespaceKite_html_ac86883c8d5a0f34ab9b4ec6eaaad6c9f"><div class="ttname"><a href="namespaceKite.html#ac86883c8d5a0f34ab9b4ec6eaaad6c9f">Kite::SegmentOverlapCostCB</a></div><div class="ttdeci">void() SegmentOverlapCostCB(const TrackElement *, TrackCost &)</div><div class="ttdef"><b>Definition:</b> TrackElement.h:56</div></div>
|
|
<div class="ttc" id="classHurricane_1_1Net_1_1Direction_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Net_1_1Direction.html">Hurricane::Net</a></div></div>
|
|
<div class="ttc" id="group__DbUGroup_html_ga4fbfa3e8c89347af76c9628ea06c4146"><div class="ttname"><a href="../hurricane/group__DbUGroup.html#ga4fbfa3e8c89347af76c9628ea06c4146">Hurricane::DbU::Unit</a></div><div class="ttdeci">std::int64_t Unit</div></div>
|
|
<div class="ttc" id="classKite_1_1SegmentObserver_html"><div class="ttname"><a href="classKite_1_1SegmentObserver.html">Kite::SegmentObserver</a></div><div class="ttdoc">Observer on the base AutoSegment. </div><div class="ttdef"><b>Definition:</b> TrackElement.h:62</div></div>
|
|
<div class="ttc" id="classKite_1_1Track_html"><div class="ttname"><a href="classKite_1_1Track.html">Kite::Track</a></div><div class="ttdoc">Structure managing one routing track. </div><div class="ttdef"><b>Definition:</b> Track.h:42</div></div>
|
|
<div class="ttc" id="classHurricane_1_1Interval_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Interval.html">Hurricane::Interval</a></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="namespaceKite_html_acca8fffa3182dea5f94208f454f14b47a68e917ff37d4b5cef906303181836404"><div class="ttname"><a href="namespaceKite.html#acca8fffa3182dea5f94208f454f14b47a68e917ff37d4b5cef906303181836404">Kite::KtDataSelf</a></div><div class="ttdef"><b>Definition:</b> Constants.h:40</div></div>
|
|
<div class="ttc" id="classHurricane_1_1Box_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Box.html">Hurricane::Box</a></div></div>
|
|
<div class="ttc" id="classHurricane_1_1DbU_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1DbU.html">Hurricane::DbU</a></div></div>
|
|
<div class="ttc" id="classHurricane_1_1Layer_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Layer.html">Hurricane::Layer</a></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="classKatabatic_1_1Observer_html"><div class="ttname"><a href="../katabatic/classKatabatic_1_1Observer.html">Katabatic::Observer</a></div></div>
|
|
<div class="ttc" id="namespaceHurricane_html"><div class="ttname"><a href="namespaceHurricane.html">Hurricane</a></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_1DataNegociate_html"><div class="ttname"><a href="classKite_1_1DataNegociate.html">Kite::DataNegociate</a></div><div class="ttdoc">Algorimthmic datas associated the TrackSegment. </div><div class="ttdef"><b>Definition:</b> DataNegociate.h:50</div></div>
|
|
<div class="ttc" id="classHurricane_1_1Net_html"><div class="ttname"><a href="../hurricane/classHurricane_1_1Net.html">Hurricane::Net</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<br>
|
|
<hr>
|
|
<table class="footer1">
|
|
<tr>
|
|
<td class="LFooter"><small>Generated by doxygen 1.8.13 on Mon May 14 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>
|