Fix manual.tex qmake configuration settings (thanks to Thomas K.!)
[qanava.git] / doc / reference / html / classqan_1_1_node.html
blob90d6848a3b487bbbf0b3bcdf3b134547315acb51
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>Qanava: qan::Node Class Reference</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 <link href="tabs.css" rel="stylesheet" type="text/css">
6 </head><body>
7 <!-- Generated by Doxygen 1.5.1-p1 -->
8 <div class="tabs">
9 <ul>
10 <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
12 <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13 <li><a href="files.html"><span>Files</span></a></li>
14 <li><a href="dirs.html"><span>Directories</span></a></li>
15 <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16 </ul></div>
17 <div class="tabs">
18 <ul>
19 <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
20 <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
21 <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
22 </ul></div>
23 <div class="nav">
24 <a class="el" href="namespaceqan.html">qan</a>::<a class="el" href="classqan_1_1_node.html">Node</a></div>
25 <h1>qan::Node Class Reference</h1><!-- doxytag: class="qan::Node" -->Model a node in a standard weighted and directed graph.
26 <a href="#_details">More...</a>
27 <p>
28 <code>#include &lt;qanNode.h&gt;</code>
29 <p>
30 <a href="classqan_1_1_node-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
31 <tr><td></td></tr>
32 <tr><td colspan="2"><br><h2>Node Property Management</h2></td></tr>
33 <tr><td colspan="2"><br><br></td></tr>
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b960">Role</a> { <br>
35 &nbsp;&nbsp;<a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b96089c16eca439e2bb0d1509c8354031d64">TYPE</a> = 1,
36 <a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b9600402528098473ed2793fe40f4cebd5b4">LABEL</a> = 2,
37 <a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b960bf155f89e6311c1c34d781e7b2b955b9">POSITION</a> = 3,
38 <a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b9607375e76ac32ed92082811095ca7369dd">DIMENSION</a> = 4,
39 <br>
40 &nbsp;&nbsp;<a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b960e53e8c3471130c6beb581b94b38381df">DATE</a> = 5,
41 <a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b96025b7248402c4842e9cb77b017aa69da4">USER</a> = 6
42 <br>
43 }</td></tr>
45 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attribute role. <a href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b960">More...</a><br></td></tr>
46 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classqan_1_1_node.html#4a0b87f167ad4c0f6727718a8a70e6349db6760da1e4aa747be3007b01d158b0">StdAttributeCount</a> = 5
47 }</td></tr>
49 <tr><td class="memItemLeft" nowrap align="right" valign="top">const QString &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#e0861fa912146bfad8681d67f6563eea">getLabel</a> () const</td></tr>
51 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this node label. <a href="#e0861fa912146bfad8681d67f6563eea"></a><br></td></tr>
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#368800923dda6614ea012e3d8eaf27df">setLabel</a> (const QString &amp;label)</td></tr>
54 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set this node label. <a href="#368800923dda6614ea012e3d8eaf27df"></a><br></td></tr>
55 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#f75665782bc36ca99ac4adfbb7d3cc3c">setType</a> (int type)</td></tr>
57 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set this node's user defined type. <a href="#f75665782bc36ca99ac4adfbb7d3cc3c"></a><br></td></tr>
58 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#1172c30f3d4394e0a449645421a97155">getType</a> () const</td></tr>
60 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get this node's user defined type. <a href="#1172c30f3d4394e0a449645421a97155"></a><br></td></tr>
61 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#5af811cdea8adb172ef6f3c7913f4795">getPosition</a> ()</td></tr>
63 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"> <a href="#5af811cdea8adb172ef6f3c7913f4795"></a><br></td></tr>
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#63c67b70fd2e9b13e109d59aaab5df56">getPosition</a> () const</td></tr>
66 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"> <a href="#63c67b70fd2e9b13e109d59aaab5df56"></a><br></td></tr>
67 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#f7272d462f64989ac8b7e156a391cd2d">setPosition</a> (<a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;position)</td></tr>
69 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"> <a href="#f7272d462f64989ac8b7e156a391cd2d"></a><br></td></tr>
70 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#be83fb7409802840355e6d13c9a47366">setPosition</a> (float x, float y)</td></tr>
72 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"> <a href="#be83fb7409802840355e6d13c9a47366"></a><br></td></tr>
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#0a418a49e373556b9de91915a12e365a">getDimension</a> () const</td></tr>
75 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#939efb9ffef6a1e8d920fe9d6a11937f">setDimension</a> (const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;dimension)</td></tr>
77 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#e4d62782ff16bd8cebce54f40c5a6a12">setDimension</a> (float x, float y)</td></tr>
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#1410fb13d83912886e6d0b8caf50d2b0">setDate</a> (const QString &amp;date)</td></tr>
81 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the node date from a text string with the Posix Time format (ex: 2002-Jan-01 10:00:01). <a href="#1410fb13d83912886e6d0b8caf50d2b0"></a><br></td></tr>
82 <tr><td class="memItemLeft" nowrap align="right" valign="top">const QDateTime *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#00ff1ccb4a0d11d25bed732905f5448b">getDate</a> () const</td></tr>
84 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the node date under Posix Time format (0 if the date is undefined). <a href="#00ff1ccb4a0d11d25bed732905f5448b"></a><br></td></tr>
85 <tr><td colspan="2"><br><h2>Node Edges Management</h2></td></tr>
86 <tr><td colspan="2"><br><br></td></tr>
87 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef QList&lt; <a class="el" href="classqan_1_1_node.html">Node</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">List</a></td></tr>
89 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Typedef for a QT list of pointer on <a class="el" href="classqan_1_1_node.html">Node</a>. <a href="#14ef52faa7bb412b800499ec118f1737"></a><br></td></tr>
90 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef QSet&lt; <a class="el" href="classqan_1_1_node.html">Node</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Set</a></td></tr>
92 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Typedef for a QT set of pointer on <a class="el" href="classqan_1_1_node.html">Node</a>. <a href="#5a42a82d36077fe68a5a55481f83eab3"></a><br></td></tr>
93 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#48398e651717e748dde39687fad5e81c">_inEdges</a></td></tr>
95 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Input edges. <a href="#48398e651717e748dde39687fad5e81c"></a><br></td></tr>
96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#781dd56f4dd4a804bd765746fc750437">_outEdges</a></td></tr>
98 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Output edges. <a href="#781dd56f4dd4a804bd765746fc750437"></a><br></td></tr>
99 <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#79839c651a1b2d154aa40c81953110bd">getInEdges</a> () const</td></tr>
101 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of all nodes pointing to this node. <a href="#79839c651a1b2d154aa40c81953110bd"></a><br></td></tr>
102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#e323c57628d1f199a213236e163793c5">getInEdges</a> ()</td></tr>
104 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of all nodes pointing to this node. <a href="#e323c57628d1f199a213236e163793c5"></a><br></td></tr>
105 <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#1438a52dae657bc8fb10395d6d7e6482">getOutEdges</a> () const</td></tr>
107 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of all node pointed by this node. <a href="#1438a52dae657bc8fb10395d6d7e6482"></a><br></td></tr>
108 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#2251dc3ff5cdc7571923476977e7d76e">getOutEdges</a> ()</td></tr>
110 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of all node pointed by this node. <a href="#2251dc3ff5cdc7571923476977e7d76e"></a><br></td></tr>
111 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#24f0975621b63f8d79129da710455194">collectOutNodes</a> (<a class="el" href="classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">Node::List</a> &amp;outNodes)</td></tr>
113 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Collect a list of this node sub nodes. <a href="#24f0975621b63f8d79129da710455194"></a><br></td></tr>
114 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#0a744f3a3acca7452c93b3524e1d434a">collectInNodes</a> (<a class="el" href="classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">Node::List</a> &amp;outNodes)</td></tr>
116 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Collect a list of this node in nodes. <a href="#0a744f3a3acca7452c93b3524e1d434a"></a><br></td></tr>
117 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#8c8362b697e753d011ab09be61da1784">collectOutNodesSet</a> (<a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;outNodes) const </td></tr>
119 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Collect a set of unique nodes pointed by this node. <a href="#8c8362b697e753d011ab09be61da1784"></a><br></td></tr>
120 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#47df46dc4a73f86816fd924f3277ef4c">collectInNodesSet</a> (<a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;nodes) const </td></tr>
122 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Collect a set of unique nodes referencing this node. <a href="#47df46dc4a73f86816fd924f3277ef4c"></a><br></td></tr>
123 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#25e708c6521b8bab59950ac2a44f3984">addInEdge</a> (<a class="el" href="classqan_1_1_edge.html">Edge</a> &amp;edge)</td></tr>
125 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add an in edge. <a href="#25e708c6521b8bab59950ac2a44f3984"></a><br></td></tr>
126 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#ed22581175dd8e01eabbd57ab045bf60">addOutEdge</a> (<a class="el" href="classqan_1_1_edge.html">Edge</a> &amp;edge)</td></tr>
128 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add an out edge. <a href="#ed22581175dd8e01eabbd57ab045bf60"></a><br></td></tr>
129 <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#ee9a6b4d36f93891b8b14cebfccdd1f3">getInDegree</a> () const</td></tr>
131 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get node in degree. <a href="#ee9a6b4d36f93891b8b14cebfccdd1f3"></a><br></td></tr>
132 <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#619d8eb03d9f32013bac998fdbe0a50f">getOutDegree</a> () const</td></tr>
134 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get node out degree. <a href="#619d8eb03d9f32013bac998fdbe0a50f"></a><br></td></tr>
135 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#623dc68e19c812cca6f99189bac5f560">getAdjacentNodesSet</a> (<a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;nodes) const </td></tr>
137 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of nodes adjacent to this (all in and out nodes, without this). <a href="#623dc68e19c812cca6f99189bac5f560"></a><br></td></tr>
138 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#669f70a26f059acfc1cb5569f221f76a">getNonAdjacentNodesSet</a> (<a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;nonAdjacentNodes, const <a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;graphNodes) const</td></tr>
140 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of nodes non adjacent to this (all nodes minus the adjacent node set collected with <a class="el" href="classqan_1_1_node.html#623dc68e19c812cca6f99189bac5f560">getAdjacentNodesSet()</a>). <a href="#669f70a26f059acfc1cb5569f221f76a"></a><br></td></tr>
141 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#17a18b711b07092add34928ace862935">isLeaf</a> () const</td></tr>
143 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if this node is a "leaf" (ie has no out edges). <a href="#17a18b711b07092add34928ace862935"></a><br></td></tr>
144 <tr><td colspan="2"><br><h2>Node Attributes Management</h2></td></tr>
145 <tr><td colspan="2"><br><br></td></tr>
146 <tr><td class="memItemLeft" nowrap align="right" valign="top">QList&lt; void * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#d50c5f71dfa9a7979f15fb8ba742b5da">_attributes</a></td></tr>
148 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T&gt; </td></tr>
149 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#4a2f014fc8086280e345c802f4fb0af4">addAttribute</a> (T t)</td></tr>
151 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T&gt; </td></tr>
152 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">T *&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#28054a83ae886fd978551b23b835d13e">getAttribute</a> (int role)</td></tr>
154 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T&gt; </td></tr>
155 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const T *&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#bf9b8461b41896f5bf5c131fc4b1ac0e">getAttribute</a> (int role) const</td></tr>
157 <tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename T&gt; </td></tr>
158 <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#0f803c12093f828053be3f24ad931b42">setAttribute</a> (int role, const T &amp;t)</td></tr>
160 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#a342403ebd7b277ca1f148d410545a10">initAttributes</a> (unsigned int attributeCount)</td></tr>
162 <tr><td colspan="2"><br><h2>Node Constructor/Destructor</h2></td></tr>
163 <tr><td colspan="2"><br><br></td></tr>
164 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#377962bb5427a952fca66ae578d39f8d">Node</a> (const QString &amp;label)</td></tr>
166 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classqan_1_1_node.html">Node</a> constructor with label initialisation. <a href="#377962bb5427a952fca66ae578d39f8d"></a><br></td></tr>
167 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#7d46d677a05f184ded07fc4001441fcf">Node</a> (const QString &amp;label, int type)</td></tr>
169 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classqan_1_1_node.html">Node</a> constructor with label and type initialisation. <a href="#7d46d677a05f184ded07fc4001441fcf"></a><br></td></tr>
170 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#d3e7718917f8c578ff54ea24ef93af0e">~Node</a> ()</td></tr>
172 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classqan_1_1_node.html">Node</a> destructor. <a href="#d3e7718917f8c578ff54ea24ef93af0e"></a><br></td></tr>
173 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqan_1_1_node.html#e238ac1de453acc924797c4b5c7145f0">Node</a> (const <a class="el" href="classqan_1_1_node.html">Node</a> &amp;n)</td></tr>
175 </table>
176 <hr><a name="_details"></a><h2>Detailed Description</h2>
177 Model a node in a standard weighted and directed graph.
179 <hr><h2>Member Typedef Documentation</h2>
180 <a class="anchor" name="14ef52faa7bb412b800499ec118f1737"></a><!-- doxytag: member="qan::Node::List" ref="14ef52faa7bb412b800499ec118f1737" args="" -->
181 <div class="memitem">
182 <div class="memproto">
183 <table class="memname">
184 <tr>
185 <td class="memname">typedef QList&lt; <a class="el" href="classqan_1_1_node.html">Node</a>* &gt; <a class="el" href="classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">qan::Node::List</a> </td>
186 </tr>
187 </table>
188 </div>
189 <div class="memdoc">
192 Typedef for a QT list of pointer on <a class="el" href="classqan_1_1_node.html">Node</a>.
195 </div>
196 </div><p>
197 <a class="anchor" name="5a42a82d36077fe68a5a55481f83eab3"></a><!-- doxytag: member="qan::Node::Set" ref="5a42a82d36077fe68a5a55481f83eab3" args="" -->
198 <div class="memitem">
199 <div class="memproto">
200 <table class="memname">
201 <tr>
202 <td class="memname">typedef QSet&lt; <a class="el" href="classqan_1_1_node.html">Node</a>* &gt; <a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">qan::Node::Set</a> </td>
203 </tr>
204 </table>
205 </div>
206 <div class="memdoc">
209 Typedef for a QT set of pointer on <a class="el" href="classqan_1_1_node.html">Node</a>.
212 </div>
213 </div><p>
214 <hr><h2>Member Enumeration Documentation</h2>
215 <a class="anchor" name="8dc4e34d6abd4a62e70938aab2a7b960"></a><!-- doxytag: member="qan::Node::Role" ref="8dc4e34d6abd4a62e70938aab2a7b960" args="" -->
216 <div class="memitem">
217 <div class="memproto">
218 <table class="memname">
219 <tr>
220 <td class="memname">enum <a class="el" href="classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b960">qan::Node::Role</a> </td>
221 </tr>
222 </table>
223 </div>
224 <div class="memdoc">
227 Attribute role.
229 <dl compact><dt><b>Enumerator: </b></dt><dd>
230 <table border="0" cellspacing="2" cellpadding="0">
231 <tr><td valign="top"><em><a class="anchor" name="8dc4e34d6abd4a62e70938aab2a7b96089c16eca439e2bb0d1509c8354031d64"></a><!-- doxytag: member="TYPE" ref="8dc4e34d6abd4a62e70938aab2a7b96089c16eca439e2bb0d1509c8354031d64" args="" -->TYPE</em>&nbsp;</td><td>
232 </td></tr>
233 <tr><td valign="top"><em><a class="anchor" name="8dc4e34d6abd4a62e70938aab2a7b9600402528098473ed2793fe40f4cebd5b4"></a><!-- doxytag: member="LABEL" ref="8dc4e34d6abd4a62e70938aab2a7b9600402528098473ed2793fe40f4cebd5b4" args="" -->LABEL</em>&nbsp;</td><td>
234 </td></tr>
235 <tr><td valign="top"><em><a class="anchor" name="8dc4e34d6abd4a62e70938aab2a7b960bf155f89e6311c1c34d781e7b2b955b9"></a><!-- doxytag: member="POSITION" ref="8dc4e34d6abd4a62e70938aab2a7b960bf155f89e6311c1c34d781e7b2b955b9" args="" -->POSITION</em>&nbsp;</td><td>
236 </td></tr>
237 <tr><td valign="top"><em><a class="anchor" name="8dc4e34d6abd4a62e70938aab2a7b9607375e76ac32ed92082811095ca7369dd"></a><!-- doxytag: member="DIMENSION" ref="8dc4e34d6abd4a62e70938aab2a7b9607375e76ac32ed92082811095ca7369dd" args="" -->DIMENSION</em>&nbsp;</td><td>
238 </td></tr>
239 <tr><td valign="top"><em><a class="anchor" name="8dc4e34d6abd4a62e70938aab2a7b960e53e8c3471130c6beb581b94b38381df"></a><!-- doxytag: member="DATE" ref="8dc4e34d6abd4a62e70938aab2a7b960e53e8c3471130c6beb581b94b38381df" args="" -->DATE</em>&nbsp;</td><td>
240 </td></tr>
241 <tr><td valign="top"><em><a class="anchor" name="8dc4e34d6abd4a62e70938aab2a7b96025b7248402c4842e9cb77b017aa69da4"></a><!-- doxytag: member="USER" ref="8dc4e34d6abd4a62e70938aab2a7b96025b7248402c4842e9cb77b017aa69da4" args="" -->USER</em>&nbsp;</td><td>
242 </td></tr>
243 </table>
244 </dl>
246 </div>
247 </div><p>
248 <a class="anchor" name="4a0b87f167ad4c0f6727718a8a70e634"></a><!-- doxytag: member="qan::Node::@0" ref="4a0b87f167ad4c0f6727718a8a70e634" args="" -->
249 <div class="memitem">
250 <div class="memproto">
251 <table class="memname">
252 <tr>
253 <td class="memname">anonymous enum </td>
254 </tr>
255 </table>
256 </div>
257 <div class="memdoc">
260 <dl compact><dt><b>Enumerator: </b></dt><dd>
261 <table border="0" cellspacing="2" cellpadding="0">
262 <tr><td valign="top"><em><a class="anchor" name="4a0b87f167ad4c0f6727718a8a70e6349db6760da1e4aa747be3007b01d158b0"></a><!-- doxytag: member="StdAttributeCount" ref="4a0b87f167ad4c0f6727718a8a70e6349db6760da1e4aa747be3007b01d158b0" args="" -->StdAttributeCount</em>&nbsp;</td><td>
263 </td></tr>
264 </table>
265 </dl>
267 </div>
268 </div><p>
269 <hr><h2>Constructor &amp; Destructor Documentation</h2>
270 <a class="anchor" name="377962bb5427a952fca66ae578d39f8d"></a><!-- doxytag: member="qan::Node::Node" ref="377962bb5427a952fca66ae578d39f8d" args="(const QString &amp;label)" -->
271 <div class="memitem">
272 <div class="memproto">
273 <table class="memname">
274 <tr>
275 <td class="memname">qan::Node::Node </td>
276 <td>(</td>
277 <td class="paramtype">const QString &amp;&nbsp;</td>
278 <td class="paramname"> <em>label</em> </td>
279 <td>&nbsp;)&nbsp;</td>
280 <td width="100%"></td>
281 </tr>
282 </table>
283 </div>
284 <div class="memdoc">
287 <a class="el" href="classqan_1_1_node.html">Node</a> constructor with label initialisation.
290 </div>
291 </div><p>
292 <a class="anchor" name="7d46d677a05f184ded07fc4001441fcf"></a><!-- doxytag: member="qan::Node::Node" ref="7d46d677a05f184ded07fc4001441fcf" args="(const QString &amp;label, int type)" -->
293 <div class="memitem">
294 <div class="memproto">
295 <table class="memname">
296 <tr>
297 <td class="memname">qan::Node::Node </td>
298 <td>(</td>
299 <td class="paramtype">const QString &amp;&nbsp;</td>
300 <td class="paramname"> <em>label</em>, </td>
301 </tr>
302 <tr>
303 <td class="paramkey"></td>
304 <td></td>
305 <td class="paramtype">int&nbsp;</td>
306 <td class="paramname"> <em>type</em></td><td>&nbsp;</td>
307 </tr>
308 <tr>
309 <td></td>
310 <td>)</td>
311 <td></td><td></td><td width="100%"></td>
312 </tr>
313 </table>
314 </div>
315 <div class="memdoc">
318 <a class="el" href="classqan_1_1_node.html">Node</a> constructor with label and type initialisation.
321 </div>
322 </div><p>
323 <a class="anchor" name="d3e7718917f8c578ff54ea24ef93af0e"></a><!-- doxytag: member="qan::Node::~Node" ref="d3e7718917f8c578ff54ea24ef93af0e" args="()" -->
324 <div class="memitem">
325 <div class="memproto">
326 <table class="memname">
327 <tr>
328 <td class="memname">qan::Node::~Node </td>
329 <td>(</td>
330 <td class="paramname"> </td>
331 <td>&nbsp;)&nbsp;</td>
332 <td width="100%"><code> [inline]</code></td>
333 </tr>
334 </table>
335 </div>
336 <div class="memdoc">
339 <a class="el" href="classqan_1_1_node.html">Node</a> destructor.
342 </div>
343 </div><p>
344 <a class="anchor" name="e238ac1de453acc924797c4b5c7145f0"></a><!-- doxytag: member="qan::Node::Node" ref="e238ac1de453acc924797c4b5c7145f0" args="(const Node &amp;n)" -->
345 <div class="memitem">
346 <div class="memproto">
347 <table class="memname">
348 <tr>
349 <td class="memname">qan::Node::Node </td>
350 <td>(</td>
351 <td class="paramtype">const <a class="el" href="classqan_1_1_node.html">Node</a> &amp;&nbsp;</td>
352 <td class="paramname"> <em>n</em> </td>
353 <td>&nbsp;)&nbsp;</td>
354 <td width="100%"><code> [private]</code></td>
355 </tr>
356 </table>
357 </div>
358 <div class="memdoc">
362 </div>
363 </div><p>
364 <hr><h2>Member Function Documentation</h2>
365 <a class="anchor" name="4a2f014fc8086280e345c802f4fb0af4"></a><!-- doxytag: member="qan::Node::addAttribute" ref="4a2f014fc8086280e345c802f4fb0af4" args="(T t)" -->
366 <div class="memitem">
367 <div class="memproto">
368 <div class="memtemplate">
369 template&lt;typename T&gt; </div>
370 <table class="memname">
371 <tr>
372 <td class="memname">void qan::Node::addAttribute </td>
373 <td>(</td>
374 <td class="paramtype">T&nbsp;</td>
375 <td class="paramname"> <em>t</em> </td>
376 <td>&nbsp;)&nbsp;</td>
377 <td width="100%"><code> [inline]</code></td>
378 </tr>
379 </table>
380 </div>
381 <div class="memdoc">
385 </div>
386 </div><p>
387 <a class="anchor" name="28054a83ae886fd978551b23b835d13e"></a><!-- doxytag: member="qan::Node::getAttribute" ref="28054a83ae886fd978551b23b835d13e" args="(int role)" -->
388 <div class="memitem">
389 <div class="memproto">
390 <div class="memtemplate">
391 template&lt;typename T&gt; </div>
392 <table class="memname">
393 <tr>
394 <td class="memname">T* qan::Node::getAttribute </td>
395 <td>(</td>
396 <td class="paramtype">int&nbsp;</td>
397 <td class="paramname"> <em>role</em> </td>
398 <td>&nbsp;)&nbsp;</td>
399 <td width="100%"><code> [inline]</code></td>
400 </tr>
401 </table>
402 </div>
403 <div class="memdoc">
407 </div>
408 </div><p>
409 <a class="anchor" name="bf9b8461b41896f5bf5c131fc4b1ac0e"></a><!-- doxytag: member="qan::Node::getAttribute" ref="bf9b8461b41896f5bf5c131fc4b1ac0e" args="(int role) const" -->
410 <div class="memitem">
411 <div class="memproto">
412 <div class="memtemplate">
413 template&lt;typename T&gt; </div>
414 <table class="memname">
415 <tr>
416 <td class="memname">const T* qan::Node::getAttribute </td>
417 <td>(</td>
418 <td class="paramtype">int&nbsp;</td>
419 <td class="paramname"> <em>role</em> </td>
420 <td>&nbsp;)&nbsp;</td>
421 <td width="100%"> const<code> [inline]</code></td>
422 </tr>
423 </table>
424 </div>
425 <div class="memdoc">
429 </div>
430 </div><p>
431 <a class="anchor" name="0f803c12093f828053be3f24ad931b42"></a><!-- doxytag: member="qan::Node::setAttribute" ref="0f803c12093f828053be3f24ad931b42" args="(int role, const T &amp;t)" -->
432 <div class="memitem">
433 <div class="memproto">
434 <div class="memtemplate">
435 template&lt;typename T&gt; </div>
436 <table class="memname">
437 <tr>
438 <td class="memname">void qan::Node::setAttribute </td>
439 <td>(</td>
440 <td class="paramtype">int&nbsp;</td>
441 <td class="paramname"> <em>role</em>, </td>
442 </tr>
443 <tr>
444 <td class="paramkey"></td>
445 <td></td>
446 <td class="paramtype">const T &amp;&nbsp;</td>
447 <td class="paramname"> <em>t</em></td><td>&nbsp;</td>
448 </tr>
449 <tr>
450 <td></td>
451 <td>)</td>
452 <td></td><td></td><td width="100%"><code> [inline]</code></td>
453 </tr>
454 </table>
455 </div>
456 <div class="memdoc">
460 </div>
461 </div><p>
462 <a class="anchor" name="a342403ebd7b277ca1f148d410545a10"></a><!-- doxytag: member="qan::Node::initAttributes" ref="a342403ebd7b277ca1f148d410545a10" args="(unsigned int attributeCount)" -->
463 <div class="memitem">
464 <div class="memproto">
465 <table class="memname">
466 <tr>
467 <td class="memname">void qan::Node::initAttributes </td>
468 <td>(</td>
469 <td class="paramtype">unsigned int&nbsp;</td>
470 <td class="paramname"> <em>attributeCount</em> </td>
471 <td>&nbsp;)&nbsp;</td>
472 <td width="100%"><code> [inline]</code></td>
473 </tr>
474 </table>
475 </div>
476 <div class="memdoc">
480 </div>
481 </div><p>
482 <a class="anchor" name="79839c651a1b2d154aa40c81953110bd"></a><!-- doxytag: member="qan::Node::getInEdges" ref="79839c651a1b2d154aa40c81953110bd" args="() const" -->
483 <div class="memitem">
484 <div class="memproto">
485 <table class="memname">
486 <tr>
487 <td class="memname">const <a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a>&amp; qan::Node::getInEdges </td>
488 <td>(</td>
489 <td class="paramname"> </td>
490 <td>&nbsp;)&nbsp;</td>
491 <td width="100%"> const<code> [inline]</code></td>
492 </tr>
493 </table>
494 </div>
495 <div class="memdoc">
498 Get a list of all nodes pointing to this node.
501 </div>
502 </div><p>
503 <a class="anchor" name="e323c57628d1f199a213236e163793c5"></a><!-- doxytag: member="qan::Node::getInEdges" ref="e323c57628d1f199a213236e163793c5" args="()" -->
504 <div class="memitem">
505 <div class="memproto">
506 <table class="memname">
507 <tr>
508 <td class="memname"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a>&amp; qan::Node::getInEdges </td>
509 <td>(</td>
510 <td class="paramname"> </td>
511 <td>&nbsp;)&nbsp;</td>
512 <td width="100%"><code> [inline]</code></td>
513 </tr>
514 </table>
515 </div>
516 <div class="memdoc">
519 Get a list of all nodes pointing to this node.
522 </div>
523 </div><p>
524 <a class="anchor" name="1438a52dae657bc8fb10395d6d7e6482"></a><!-- doxytag: member="qan::Node::getOutEdges" ref="1438a52dae657bc8fb10395d6d7e6482" args="() const" -->
525 <div class="memitem">
526 <div class="memproto">
527 <table class="memname">
528 <tr>
529 <td class="memname">const <a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a>&amp; qan::Node::getOutEdges </td>
530 <td>(</td>
531 <td class="paramname"> </td>
532 <td>&nbsp;)&nbsp;</td>
533 <td width="100%"> const<code> [inline]</code></td>
534 </tr>
535 </table>
536 </div>
537 <div class="memdoc">
540 Get a list of all node pointed by this node.
543 </div>
544 </div><p>
545 <a class="anchor" name="2251dc3ff5cdc7571923476977e7d76e"></a><!-- doxytag: member="qan::Node::getOutEdges" ref="2251dc3ff5cdc7571923476977e7d76e" args="()" -->
546 <div class="memitem">
547 <div class="memproto">
548 <table class="memname">
549 <tr>
550 <td class="memname"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a>&amp; qan::Node::getOutEdges </td>
551 <td>(</td>
552 <td class="paramname"> </td>
553 <td>&nbsp;)&nbsp;</td>
554 <td width="100%"><code> [inline]</code></td>
555 </tr>
556 </table>
557 </div>
558 <div class="memdoc">
561 Get a list of all node pointed by this node.
564 </div>
565 </div><p>
566 <a class="anchor" name="24f0975621b63f8d79129da710455194"></a><!-- doxytag: member="qan::Node::collectOutNodes" ref="24f0975621b63f8d79129da710455194" args="(Node::List &amp;outNodes)" -->
567 <div class="memitem">
568 <div class="memproto">
569 <table class="memname">
570 <tr>
571 <td class="memname">void qan::Node::collectOutNodes </td>
572 <td>(</td>
573 <td class="paramtype"><a class="el" href="classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">Node::List</a> &amp;&nbsp;</td>
574 <td class="paramname"> <em>outNodes</em> </td>
575 <td>&nbsp;)&nbsp;</td>
576 <td width="100%"></td>
577 </tr>
578 </table>
579 </div>
580 <div class="memdoc">
583 Collect a list of this node sub nodes.
586 </div>
587 </div><p>
588 <a class="anchor" name="0a744f3a3acca7452c93b3524e1d434a"></a><!-- doxytag: member="qan::Node::collectInNodes" ref="0a744f3a3acca7452c93b3524e1d434a" args="(Node::List &amp;outNodes)" -->
589 <div class="memitem">
590 <div class="memproto">
591 <table class="memname">
592 <tr>
593 <td class="memname">void qan::Node::collectInNodes </td>
594 <td>(</td>
595 <td class="paramtype"><a class="el" href="classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">Node::List</a> &amp;&nbsp;</td>
596 <td class="paramname"> <em>outNodes</em> </td>
597 <td>&nbsp;)&nbsp;</td>
598 <td width="100%"></td>
599 </tr>
600 </table>
601 </div>
602 <div class="memdoc">
605 Collect a list of this node in nodes.
608 </div>
609 </div><p>
610 <a class="anchor" name="8c8362b697e753d011ab09be61da1784"></a><!-- doxytag: member="qan::Node::collectOutNodesSet" ref="8c8362b697e753d011ab09be61da1784" args="(Node::Set &amp;outNodes) const " -->
611 <div class="memitem">
612 <div class="memproto">
613 <table class="memname">
614 <tr>
615 <td class="memname">void qan::Node::collectOutNodesSet </td>
616 <td>(</td>
617 <td class="paramtype"><a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;&nbsp;</td>
618 <td class="paramname"> <em>outNodes</em> </td>
619 <td>&nbsp;)&nbsp;</td>
620 <td width="100%"> const</td>
621 </tr>
622 </table>
623 </div>
624 <div class="memdoc">
627 Collect a set of unique nodes pointed by this node.
630 </div>
631 </div><p>
632 <a class="anchor" name="47df46dc4a73f86816fd924f3277ef4c"></a><!-- doxytag: member="qan::Node::collectInNodesSet" ref="47df46dc4a73f86816fd924f3277ef4c" args="(Node::Set &amp;nodes) const " -->
633 <div class="memitem">
634 <div class="memproto">
635 <table class="memname">
636 <tr>
637 <td class="memname">void qan::Node::collectInNodesSet </td>
638 <td>(</td>
639 <td class="paramtype"><a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;&nbsp;</td>
640 <td class="paramname"> <em>nodes</em> </td>
641 <td>&nbsp;)&nbsp;</td>
642 <td width="100%"> const</td>
643 </tr>
644 </table>
645 </div>
646 <div class="memdoc">
649 Collect a set of unique nodes referencing this node.
652 </div>
653 </div><p>
654 <a class="anchor" name="25e708c6521b8bab59950ac2a44f3984"></a><!-- doxytag: member="qan::Node::addInEdge" ref="25e708c6521b8bab59950ac2a44f3984" args="(Edge &amp;edge)" -->
655 <div class="memitem">
656 <div class="memproto">
657 <table class="memname">
658 <tr>
659 <td class="memname">void qan::Node::addInEdge </td>
660 <td>(</td>
661 <td class="paramtype"><a class="el" href="classqan_1_1_edge.html">Edge</a> &amp;&nbsp;</td>
662 <td class="paramname"> <em>edge</em> </td>
663 <td>&nbsp;)&nbsp;</td>
664 <td width="100%"><code> [inline]</code></td>
665 </tr>
666 </table>
667 </div>
668 <div class="memdoc">
671 Add an in edge.
674 </div>
675 </div><p>
676 <a class="anchor" name="ed22581175dd8e01eabbd57ab045bf60"></a><!-- doxytag: member="qan::Node::addOutEdge" ref="ed22581175dd8e01eabbd57ab045bf60" args="(Edge &amp;edge)" -->
677 <div class="memitem">
678 <div class="memproto">
679 <table class="memname">
680 <tr>
681 <td class="memname">void qan::Node::addOutEdge </td>
682 <td>(</td>
683 <td class="paramtype"><a class="el" href="classqan_1_1_edge.html">Edge</a> &amp;&nbsp;</td>
684 <td class="paramname"> <em>edge</em> </td>
685 <td>&nbsp;)&nbsp;</td>
686 <td width="100%"><code> [inline]</code></td>
687 </tr>
688 </table>
689 </div>
690 <div class="memdoc">
693 Add an out edge.
696 </div>
697 </div><p>
698 <a class="anchor" name="ee9a6b4d36f93891b8b14cebfccdd1f3"></a><!-- doxytag: member="qan::Node::getInDegree" ref="ee9a6b4d36f93891b8b14cebfccdd1f3" args="() const" -->
699 <div class="memitem">
700 <div class="memproto">
701 <table class="memname">
702 <tr>
703 <td class="memname">unsigned int qan::Node::getInDegree </td>
704 <td>(</td>
705 <td class="paramname"> </td>
706 <td>&nbsp;)&nbsp;</td>
707 <td width="100%"> const<code> [inline]</code></td>
708 </tr>
709 </table>
710 </div>
711 <div class="memdoc">
714 Get node in degree.
717 </div>
718 </div><p>
719 <a class="anchor" name="619d8eb03d9f32013bac998fdbe0a50f"></a><!-- doxytag: member="qan::Node::getOutDegree" ref="619d8eb03d9f32013bac998fdbe0a50f" args="() const" -->
720 <div class="memitem">
721 <div class="memproto">
722 <table class="memname">
723 <tr>
724 <td class="memname">unsigned int qan::Node::getOutDegree </td>
725 <td>(</td>
726 <td class="paramname"> </td>
727 <td>&nbsp;)&nbsp;</td>
728 <td width="100%"> const<code> [inline]</code></td>
729 </tr>
730 </table>
731 </div>
732 <div class="memdoc">
735 Get node out degree.
738 </div>
739 </div><p>
740 <a class="anchor" name="623dc68e19c812cca6f99189bac5f560"></a><!-- doxytag: member="qan::Node::getAdjacentNodesSet" ref="623dc68e19c812cca6f99189bac5f560" args="(Node::Set &amp;nodes) const " -->
741 <div class="memitem">
742 <div class="memproto">
743 <table class="memname">
744 <tr>
745 <td class="memname">void qan::Node::getAdjacentNodesSet </td>
746 <td>(</td>
747 <td class="paramtype"><a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;&nbsp;</td>
748 <td class="paramname"> <em>nodes</em> </td>
749 <td>&nbsp;)&nbsp;</td>
750 <td width="100%"> const</td>
751 </tr>
752 </table>
753 </div>
754 <div class="memdoc">
757 Get a list of nodes adjacent to this (all in and out nodes, without this).
760 </div>
761 </div><p>
762 <a class="anchor" name="669f70a26f059acfc1cb5569f221f76a"></a><!-- doxytag: member="qan::Node::getNonAdjacentNodesSet" ref="669f70a26f059acfc1cb5569f221f76a" args="(Node::Set &amp;nonAdjacentNodes, const Node::Set &amp;graphNodes) const" -->
763 <div class="memitem">
764 <div class="memproto">
765 <table class="memname">
766 <tr>
767 <td class="memname">void qan::Node::getNonAdjacentNodesSet </td>
768 <td>(</td>
769 <td class="paramtype"><a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;&nbsp;</td>
770 <td class="paramname"> <em>nonAdjacentNodes</em>, </td>
771 </tr>
772 <tr>
773 <td class="paramkey"></td>
774 <td></td>
775 <td class="paramtype">const <a class="el" href="classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set</a> &amp;&nbsp;</td>
776 <td class="paramname"> <em>graphNodes</em></td><td>&nbsp;</td>
777 </tr>
778 <tr>
779 <td></td>
780 <td>)</td>
781 <td></td><td></td><td width="100%"> const</td>
782 </tr>
783 </table>
784 </div>
785 <div class="memdoc">
788 Get a list of nodes non adjacent to this (all nodes minus the adjacent node set collected with <a class="el" href="classqan_1_1_node.html#623dc68e19c812cca6f99189bac5f560">getAdjacentNodesSet()</a>).
791 </div>
792 </div><p>
793 <a class="anchor" name="17a18b711b07092add34928ace862935"></a><!-- doxytag: member="qan::Node::isLeaf" ref="17a18b711b07092add34928ace862935" args="() const" -->
794 <div class="memitem">
795 <div class="memproto">
796 <table class="memname">
797 <tr>
798 <td class="memname">bool qan::Node::isLeaf </td>
799 <td>(</td>
800 <td class="paramname"> </td>
801 <td>&nbsp;)&nbsp;</td>
802 <td width="100%"> const<code> [inline]</code></td>
803 </tr>
804 </table>
805 </div>
806 <div class="memdoc">
809 Return true if this node is a "leaf" (ie has no out edges).
812 </div>
813 </div><p>
814 <a class="anchor" name="e0861fa912146bfad8681d67f6563eea"></a><!-- doxytag: member="qan::Node::getLabel" ref="e0861fa912146bfad8681d67f6563eea" args="() const" -->
815 <div class="memitem">
816 <div class="memproto">
817 <table class="memname">
818 <tr>
819 <td class="memname">const QString&amp; qan::Node::getLabel </td>
820 <td>(</td>
821 <td class="paramname"> </td>
822 <td>&nbsp;)&nbsp;</td>
823 <td width="100%"> const<code> [inline]</code></td>
824 </tr>
825 </table>
826 </div>
827 <div class="memdoc">
830 Get this node label.
833 </div>
834 </div><p>
835 <a class="anchor" name="368800923dda6614ea012e3d8eaf27df"></a><!-- doxytag: member="qan::Node::setLabel" ref="368800923dda6614ea012e3d8eaf27df" args="(const QString &amp;label)" -->
836 <div class="memitem">
837 <div class="memproto">
838 <table class="memname">
839 <tr>
840 <td class="memname">void qan::Node::setLabel </td>
841 <td>(</td>
842 <td class="paramtype">const QString &amp;&nbsp;</td>
843 <td class="paramname"> <em>label</em> </td>
844 <td>&nbsp;)&nbsp;</td>
845 <td width="100%"><code> [inline]</code></td>
846 </tr>
847 </table>
848 </div>
849 <div class="memdoc">
852 Set this node label.
855 </div>
856 </div><p>
857 <a class="anchor" name="f75665782bc36ca99ac4adfbb7d3cc3c"></a><!-- doxytag: member="qan::Node::setType" ref="f75665782bc36ca99ac4adfbb7d3cc3c" args="(int type)" -->
858 <div class="memitem">
859 <div class="memproto">
860 <table class="memname">
861 <tr>
862 <td class="memname">void qan::Node::setType </td>
863 <td>(</td>
864 <td class="paramtype">int&nbsp;</td>
865 <td class="paramname"> <em>type</em> </td>
866 <td>&nbsp;)&nbsp;</td>
867 <td width="100%"><code> [inline]</code></td>
868 </tr>
869 </table>
870 </div>
871 <div class="memdoc">
874 Set this node's user defined type.
877 </div>
878 </div><p>
879 <a class="anchor" name="1172c30f3d4394e0a449645421a97155"></a><!-- doxytag: member="qan::Node::getType" ref="1172c30f3d4394e0a449645421a97155" args="() const" -->
880 <div class="memitem">
881 <div class="memproto">
882 <table class="memname">
883 <tr>
884 <td class="memname">int qan::Node::getType </td>
885 <td>(</td>
886 <td class="paramname"> </td>
887 <td>&nbsp;)&nbsp;</td>
888 <td width="100%"> const<code> [inline]</code></td>
889 </tr>
890 </table>
891 </div>
892 <div class="memdoc">
895 Get this node's user defined type.
898 </div>
899 </div><p>
900 <a class="anchor" name="5af811cdea8adb172ef6f3c7913f4795"></a><!-- doxytag: member="qan::Node::getPosition" ref="5af811cdea8adb172ef6f3c7913f4795" args="()" -->
901 <div class="memitem">
902 <div class="memproto">
903 <table class="memname">
904 <tr>
905 <td class="memname"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a>&amp; qan::Node::getPosition </td>
906 <td>(</td>
907 <td class="paramname"> </td>
908 <td>&nbsp;)&nbsp;</td>
909 <td width="100%"><code> [inline]</code></td>
910 </tr>
911 </table>
912 </div>
913 <div class="memdoc">
919 </div>
920 </div><p>
921 <a class="anchor" name="63c67b70fd2e9b13e109d59aaab5df56"></a><!-- doxytag: member="qan::Node::getPosition" ref="63c67b70fd2e9b13e109d59aaab5df56" args="() const" -->
922 <div class="memitem">
923 <div class="memproto">
924 <table class="memname">
925 <tr>
926 <td class="memname">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a>&amp; qan::Node::getPosition </td>
927 <td>(</td>
928 <td class="paramname"> </td>
929 <td>&nbsp;)&nbsp;</td>
930 <td width="100%"> const<code> [inline]</code></td>
931 </tr>
932 </table>
933 </div>
934 <div class="memdoc">
940 </div>
941 </div><p>
942 <a class="anchor" name="f7272d462f64989ac8b7e156a391cd2d"></a><!-- doxytag: member="qan::Node::setPosition" ref="f7272d462f64989ac8b7e156a391cd2d" args="(VectorF &amp;position)" -->
943 <div class="memitem">
944 <div class="memproto">
945 <table class="memname">
946 <tr>
947 <td class="memname">void qan::Node::setPosition </td>
948 <td>(</td>
949 <td class="paramtype"><a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td>
950 <td class="paramname"> <em>position</em> </td>
951 <td>&nbsp;)&nbsp;</td>
952 <td width="100%"><code> [inline]</code></td>
953 </tr>
954 </table>
955 </div>
956 <div class="memdoc">
962 </div>
963 </div><p>
964 <a class="anchor" name="be83fb7409802840355e6d13c9a47366"></a><!-- doxytag: member="qan::Node::setPosition" ref="be83fb7409802840355e6d13c9a47366" args="(float x, float y)" -->
965 <div class="memitem">
966 <div class="memproto">
967 <table class="memname">
968 <tr>
969 <td class="memname">void qan::Node::setPosition </td>
970 <td>(</td>
971 <td class="paramtype">float&nbsp;</td>
972 <td class="paramname"> <em>x</em>, </td>
973 </tr>
974 <tr>
975 <td class="paramkey"></td>
976 <td></td>
977 <td class="paramtype">float&nbsp;</td>
978 <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
979 </tr>
980 <tr>
981 <td></td>
982 <td>)</td>
983 <td></td><td></td><td width="100%"><code> [inline]</code></td>
984 </tr>
985 </table>
986 </div>
987 <div class="memdoc">
993 </div>
994 </div><p>
995 <a class="anchor" name="0a418a49e373556b9de91915a12e365a"></a><!-- doxytag: member="qan::Node::getDimension" ref="0a418a49e373556b9de91915a12e365a" args="() const" -->
996 <div class="memitem">
997 <div class="memproto">
998 <table class="memname">
999 <tr>
1000 <td class="memname">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a>&amp; qan::Node::getDimension </td>
1001 <td>(</td>
1002 <td class="paramname"> </td>
1003 <td>&nbsp;)&nbsp;</td>
1004 <td width="100%"> const<code> [inline]</code></td>
1005 </tr>
1006 </table>
1007 </div>
1008 <div class="memdoc">
1012 </div>
1013 </div><p>
1014 <a class="anchor" name="939efb9ffef6a1e8d920fe9d6a11937f"></a><!-- doxytag: member="qan::Node::setDimension" ref="939efb9ffef6a1e8d920fe9d6a11937f" args="(const VectorF &amp;dimension)" -->
1015 <div class="memitem">
1016 <div class="memproto">
1017 <table class="memname">
1018 <tr>
1019 <td class="memname">void qan::Node::setDimension </td>
1020 <td>(</td>
1021 <td class="paramtype">const <a class="el" href="classqan_1_1_vector_f.html">VectorF</a> &amp;&nbsp;</td>
1022 <td class="paramname"> <em>dimension</em> </td>
1023 <td>&nbsp;)&nbsp;</td>
1024 <td width="100%"><code> [inline]</code></td>
1025 </tr>
1026 </table>
1027 </div>
1028 <div class="memdoc">
1032 </div>
1033 </div><p>
1034 <a class="anchor" name="e4d62782ff16bd8cebce54f40c5a6a12"></a><!-- doxytag: member="qan::Node::setDimension" ref="e4d62782ff16bd8cebce54f40c5a6a12" args="(float x, float y)" -->
1035 <div class="memitem">
1036 <div class="memproto">
1037 <table class="memname">
1038 <tr>
1039 <td class="memname">void qan::Node::setDimension </td>
1040 <td>(</td>
1041 <td class="paramtype">float&nbsp;</td>
1042 <td class="paramname"> <em>x</em>, </td>
1043 </tr>
1044 <tr>
1045 <td class="paramkey"></td>
1046 <td></td>
1047 <td class="paramtype">float&nbsp;</td>
1048 <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
1049 </tr>
1050 <tr>
1051 <td></td>
1052 <td>)</td>
1053 <td></td><td></td><td width="100%"><code> [inline]</code></td>
1054 </tr>
1055 </table>
1056 </div>
1057 <div class="memdoc">
1061 </div>
1062 </div><p>
1063 <a class="anchor" name="1410fb13d83912886e6d0b8caf50d2b0"></a><!-- doxytag: member="qan::Node::setDate" ref="1410fb13d83912886e6d0b8caf50d2b0" args="(const QString &amp;date)" -->
1064 <div class="memitem">
1065 <div class="memproto">
1066 <table class="memname">
1067 <tr>
1068 <td class="memname">void qan::Node::setDate </td>
1069 <td>(</td>
1070 <td class="paramtype">const QString &amp;&nbsp;</td>
1071 <td class="paramname"> <em>date</em> </td>
1072 <td>&nbsp;)&nbsp;</td>
1073 <td width="100%"></td>
1074 </tr>
1075 </table>
1076 </div>
1077 <div class="memdoc">
1080 Set the node date from a text string with the Posix Time format (ex: 2002-Jan-01 10:00:01).
1083 </div>
1084 </div><p>
1085 <a class="anchor" name="00ff1ccb4a0d11d25bed732905f5448b"></a><!-- doxytag: member="qan::Node::getDate" ref="00ff1ccb4a0d11d25bed732905f5448b" args="() const" -->
1086 <div class="memitem">
1087 <div class="memproto">
1088 <table class="memname">
1089 <tr>
1090 <td class="memname">const QDateTime* qan::Node::getDate </td>
1091 <td>(</td>
1092 <td class="paramname"> </td>
1093 <td>&nbsp;)&nbsp;</td>
1094 <td width="100%"> const<code> [inline]</code></td>
1095 </tr>
1096 </table>
1097 </div>
1098 <div class="memdoc">
1101 Return the node date under Posix Time format (0 if the date is undefined).
1104 </div>
1105 </div><p>
1106 <hr><h2>Member Data Documentation</h2>
1107 <a class="anchor" name="d50c5f71dfa9a7979f15fb8ba742b5da"></a><!-- doxytag: member="qan::Node::_attributes" ref="d50c5f71dfa9a7979f15fb8ba742b5da" args="" -->
1108 <div class="memitem">
1109 <div class="memproto">
1110 <table class="memname">
1111 <tr>
1112 <td class="memname">QList&lt; void* &gt; <a class="el" href="classqan_1_1_node.html#d50c5f71dfa9a7979f15fb8ba742b5da">qan::Node::_attributes</a><code> [private]</code> </td>
1113 </tr>
1114 </table>
1115 </div>
1116 <div class="memdoc">
1120 </div>
1121 </div><p>
1122 <a class="anchor" name="48398e651717e748dde39687fad5e81c"></a><!-- doxytag: member="qan::Node::_inEdges" ref="48398e651717e748dde39687fad5e81c" args="" -->
1123 <div class="memitem">
1124 <div class="memproto">
1125 <table class="memname">
1126 <tr>
1127 <td class="memname"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a> <a class="el" href="classqan_1_1_node.html#48398e651717e748dde39687fad5e81c">qan::Node::_inEdges</a><code> [private]</code> </td>
1128 </tr>
1129 </table>
1130 </div>
1131 <div class="memdoc">
1134 Input edges.
1137 </div>
1138 </div><p>
1139 <a class="anchor" name="781dd56f4dd4a804bd765746fc750437"></a><!-- doxytag: member="qan::Node::_outEdges" ref="781dd56f4dd4a804bd765746fc750437" args="" -->
1140 <div class="memitem">
1141 <div class="memproto">
1142 <table class="memname">
1143 <tr>
1144 <td class="memname"><a class="el" href="classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List</a> <a class="el" href="classqan_1_1_node.html#781dd56f4dd4a804bd765746fc750437">qan::Node::_outEdges</a><code> [private]</code> </td>
1145 </tr>
1146 </table>
1147 </div>
1148 <div class="memdoc">
1151 Output edges.
1154 </div>
1155 </div><p>
1156 <hr>The documentation for this class was generated from the following files:<ul>
1157 <li>C:/projects/qanava-0.1.0/src/<a class="el" href="qan_node_8h.html">qanNode.h</a><li>C:/projects/qanava-0.1.0/src/<a class="el" href="qan_node_8cpp.html">qanNode.cpp</a></ul>
1159 <hr style="width: 100%; height: 2px;">
1160 <table width="95%" height="48" border="0"
1161 cellpadding="0" cellspacing="0" style="text-align: left; width: 95%; height: 31px;">
1162 <tbody>
1163 <tr>
1164 <td height="48" style="font-family: Helvetica,Arial,sans-serif;">
1165 <dl>
1166 <dt><a href="http://www.libqanava.org"><font size="2">www.libqanava.org</font></a><font size="2">
1167 Qanava - QCanvas Avanc&eacute;</font></dt>
1168 </dl>
1169 </td>
1170 <td style="vertical-align: middle; text-align: right;"><span
1171 style="font-family: Helvetica,Arial,sans-serif;"><font size="2">Generated by</font></span>
1173 href="http://www.doxygen.org"><img alt="Doxygen logo"
1174 src="../images/doxygen.png"
1175 style="border: 0px solid ; width: 100px; height: 45px;" align="middle"></a></td>
1176 </tr>
1177 </tbody>
1178 </table>