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">
7 <!-- Generated by Doxygen 1.5.1-p1 -->
10 <li><a href=
"index.html"><span>Main
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
Pages
</span></a></li>
19 <li><a href=
"annotated.html"><span>Class
List
</span></a></li>
20 <li><a href=
"hierarchy.html"><span>Class
Hierarchy
</span></a></li>
21 <li><a href=
"functions.html"><span>Class
Members
</span></a></li>
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>
28 <code>#include
<qanNode.h
></code>
30 <a href=
"classqan_1_1_node-members.html">List of all members.
</a><table border=
"0" cellpadding=
"0" cellspacing=
"0">
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
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b960">Role
</a> {
<br>
35 <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,
40 <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
45 <tr><td class=
"mdescLeft"> </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
</td><td class=
"memItemRight" valign=
"bottom">{
<a class=
"el" href=
"classqan_1_1_node.html#4a0b87f167ad4c0f6727718a8a70e6349db6760da1e4aa747be3007b01d158b0">StdAttributeCount
</a> =
5
49 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">const QString
& </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"> </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
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_node.html#368800923dda6614ea012e3d8eaf27df">setLabel
</a> (const QString
&label)
</td></tr>
54 <tr><td class=
"mdescLeft"> </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
</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"> </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
</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"> </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> & </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"> </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> & </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"> </td><td class=
"mdescRight"> <a href=
"#63c67b70fd2e9b13e109d59aaab5df56"></a><br></td></tr>
67 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</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> &position)
</td></tr>
69 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight"> <a href=
"#f7272d462f64989ac8b7e156a391cd2d"></a><br></td></tr>
70 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</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"> </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> & </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
</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> &dimension)
</td></tr>
77 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</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
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_node.html#1410fb13d83912886e6d0b8caf50d2b0">setDate
</a> (const QString
&date)
</td></tr>
81 <tr><td class=
"mdescLeft"> </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 *
</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"> </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
< <a class=
"el" href=
"classqan_1_1_node.html">Node
</a> *
> </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"> </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
< <a class=
"el" href=
"classqan_1_1_node.html">Node
</a> *
> </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"> </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> </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"> </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> </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"> </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> & </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"> </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> & </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"> </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> & </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"> </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> & </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"> </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
</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> &outNodes)
</td></tr>
113 <tr><td class=
"mdescLeft"> </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
</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> &outNodes)
</td></tr>
116 <tr><td class=
"mdescLeft"> </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
</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> &outNodes) const
</td></tr>
119 <tr><td class=
"mdescLeft"> </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
</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> &nodes) const
</td></tr>
122 <tr><td class=
"mdescLeft"> </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
</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> &edge)
</td></tr>
125 <tr><td class=
"mdescLeft"> </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
</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> &edge)
</td></tr>
128 <tr><td class=
"mdescLeft"> </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
</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"> </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
</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"> </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
</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> &nodes) const
</td></tr>
137 <tr><td class=
"mdescLeft"> </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
</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> &nonAdjacentNodes, const
<a class=
"el" href=
"classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set
</a> &graphNodes) const
</td></tr>
140 <tr><td class=
"mdescLeft"> </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
</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"> </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
< void *
> </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
<typename T
> </td></tr>
149 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</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
<typename T
> </td></tr>
152 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">T *
</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
<typename T
> </td></tr>
155 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">const T *
</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
<typename T
> </td></tr>
158 <tr><td class=
"memTemplItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memTemplItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_node.html#0f803c12093f828053be3f24ad931b42">setAttribute
</a> (int role, const T
&t)
</td></tr>
160 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</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"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_node.html#377962bb5427a952fca66ae578d39f8d">Node
</a> (const QString
&label)
</td></tr>
166 <tr><td class=
"mdescLeft"> </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"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1_node.html#7d46d677a05f184ded07fc4001441fcf">Node
</a> (const QString
&label, int type)
</td></tr>
169 <tr><td class=
"mdescLeft"> </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"> </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"> </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"> </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> &n)
</td></tr>
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">
185 <td class=
"memname">typedef QList
< <a class=
"el" href=
"classqan_1_1_node.html">Node
</a>*
> <a class=
"el" href=
"classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">qan::Node::List
</a> </td>
192 Typedef for a QT list of pointer on
<a class=
"el" href=
"classqan_1_1_node.html">Node
</a>.
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">
202 <td class=
"memname">typedef QSet
< <a class=
"el" href=
"classqan_1_1_node.html">Node
</a>*
> <a class=
"el" href=
"classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">qan::Node::Set
</a> </td>
209 Typedef for a QT set of pointer on
<a class=
"el" href=
"classqan_1_1_node.html">Node
</a>.
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">
220 <td class=
"memname">enum
<a class=
"el" href=
"classqan_1_1_node.html#8dc4e34d6abd4a62e70938aab2a7b960">qan::Node::Role
</a> </td>
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> </td><td>
233 <tr><td valign=
"top"><em><a class=
"anchor" name=
"8dc4e34d6abd4a62e70938aab2a7b9600402528098473ed2793fe40f4cebd5b4"></a><!-- doxytag: member="LABEL" ref="8dc4e34d6abd4a62e70938aab2a7b9600402528098473ed2793fe40f4cebd5b4" args="" -->LABEL
</em> </td><td>
235 <tr><td valign=
"top"><em><a class=
"anchor" name=
"8dc4e34d6abd4a62e70938aab2a7b960bf155f89e6311c1c34d781e7b2b955b9"></a><!-- doxytag: member="POSITION" ref="8dc4e34d6abd4a62e70938aab2a7b960bf155f89e6311c1c34d781e7b2b955b9" args="" -->POSITION
</em> </td><td>
237 <tr><td valign=
"top"><em><a class=
"anchor" name=
"8dc4e34d6abd4a62e70938aab2a7b9607375e76ac32ed92082811095ca7369dd"></a><!-- doxytag: member="DIMENSION" ref="8dc4e34d6abd4a62e70938aab2a7b9607375e76ac32ed92082811095ca7369dd" args="" -->DIMENSION
</em> </td><td>
239 <tr><td valign=
"top"><em><a class=
"anchor" name=
"8dc4e34d6abd4a62e70938aab2a7b960e53e8c3471130c6beb581b94b38381df"></a><!-- doxytag: member="DATE" ref="8dc4e34d6abd4a62e70938aab2a7b960e53e8c3471130c6beb581b94b38381df" args="" -->DATE
</em> </td><td>
241 <tr><td valign=
"top"><em><a class=
"anchor" name=
"8dc4e34d6abd4a62e70938aab2a7b96025b7248402c4842e9cb77b017aa69da4"></a><!-- doxytag: member="USER" ref="8dc4e34d6abd4a62e70938aab2a7b96025b7248402c4842e9cb77b017aa69da4" args="" -->USER
</em> </td><td>
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">
253 <td class=
"memname">anonymous enum
</td>
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> </td><td>
269 <hr><h2>Constructor
& Destructor Documentation
</h2>
270 <a class=
"anchor" name=
"377962bb5427a952fca66ae578d39f8d"></a><!-- doxytag: member="qan::Node::Node" ref="377962bb5427a952fca66ae578d39f8d" args="(const QString &label)" -->
271 <div class=
"memitem">
272 <div class=
"memproto">
273 <table class=
"memname">
275 <td class=
"memname">qan::Node::Node
</td>
277 <td class=
"paramtype">const QString
& </td>
278 <td class=
"paramname"> <em>label
</em> </td>
279 <td> )
</td>
280 <td width=
"100%"></td>
287 <a class=
"el" href=
"classqan_1_1_node.html">Node
</a> constructor with label initialisation.
292 <a class=
"anchor" name=
"7d46d677a05f184ded07fc4001441fcf"></a><!-- doxytag: member="qan::Node::Node" ref="7d46d677a05f184ded07fc4001441fcf" args="(const QString &label, int type)" -->
293 <div class=
"memitem">
294 <div class=
"memproto">
295 <table class=
"memname">
297 <td class=
"memname">qan::Node::Node
</td>
299 <td class=
"paramtype">const QString
& </td>
300 <td class=
"paramname"> <em>label
</em>,
</td>
303 <td class=
"paramkey"></td>
305 <td class=
"paramtype">int
</td>
306 <td class=
"paramname"> <em>type
</em></td><td> </td>
311 <td></td><td></td><td width=
"100%"></td>
318 <a class=
"el" href=
"classqan_1_1_node.html">Node
</a> constructor with label and type initialisation.
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">
328 <td class=
"memname">qan::Node::~Node
</td>
330 <td class=
"paramname"> </td>
331 <td> )
</td>
332 <td width=
"100%"><code> [inline]
</code></td>
339 <a class=
"el" href=
"classqan_1_1_node.html">Node
</a> destructor.
344 <a class=
"anchor" name=
"e238ac1de453acc924797c4b5c7145f0"></a><!-- doxytag: member="qan::Node::Node" ref="e238ac1de453acc924797c4b5c7145f0" args="(const Node &n)" -->
345 <div class=
"memitem">
346 <div class=
"memproto">
347 <table class=
"memname">
349 <td class=
"memname">qan::Node::Node
</td>
351 <td class=
"paramtype">const
<a class=
"el" href=
"classqan_1_1_node.html">Node
</a> & </td>
352 <td class=
"paramname"> <em>n
</em> </td>
353 <td> )
</td>
354 <td width=
"100%"><code> [private]
</code></td>
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
<typename T
> </div>
370 <table class=
"memname">
372 <td class=
"memname">void qan::Node::addAttribute
</td>
374 <td class=
"paramtype">T
</td>
375 <td class=
"paramname"> <em>t
</em> </td>
376 <td> )
</td>
377 <td width=
"100%"><code> [inline]
</code></td>
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
<typename T
> </div>
392 <table class=
"memname">
394 <td class=
"memname">T* qan::Node::getAttribute
</td>
396 <td class=
"paramtype">int
</td>
397 <td class=
"paramname"> <em>role
</em> </td>
398 <td> )
</td>
399 <td width=
"100%"><code> [inline]
</code></td>
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
<typename T
> </div>
414 <table class=
"memname">
416 <td class=
"memname">const T* qan::Node::getAttribute
</td>
418 <td class=
"paramtype">int
</td>
419 <td class=
"paramname"> <em>role
</em> </td>
420 <td> )
</td>
421 <td width=
"100%"> const
<code> [inline]
</code></td>
431 <a class=
"anchor" name=
"0f803c12093f828053be3f24ad931b42"></a><!-- doxytag: member="qan::Node::setAttribute" ref="0f803c12093f828053be3f24ad931b42" args="(int role, const T &t)" -->
432 <div class=
"memitem">
433 <div class=
"memproto">
434 <div class=
"memtemplate">
435 template
<typename T
> </div>
436 <table class=
"memname">
438 <td class=
"memname">void qan::Node::setAttribute
</td>
440 <td class=
"paramtype">int
</td>
441 <td class=
"paramname"> <em>role
</em>,
</td>
444 <td class=
"paramkey"></td>
446 <td class=
"paramtype">const T
& </td>
447 <td class=
"paramname"> <em>t
</em></td><td> </td>
452 <td></td><td></td><td width=
"100%"><code> [inline]
</code></td>
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">
467 <td class=
"memname">void qan::Node::initAttributes
</td>
469 <td class=
"paramtype">unsigned int
</td>
470 <td class=
"paramname"> <em>attributeCount
</em> </td>
471 <td> )
</td>
472 <td width=
"100%"><code> [inline]
</code></td>
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">
487 <td class=
"memname">const
<a class=
"el" href=
"classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List
</a>& qan::Node::getInEdges
</td>
489 <td class=
"paramname"> </td>
490 <td> )
</td>
491 <td width=
"100%"> const
<code> [inline]
</code></td>
498 Get a list of all nodes pointing to this node.
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">
508 <td class=
"memname"><a class=
"el" href=
"classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List
</a>& qan::Node::getInEdges
</td>
510 <td class=
"paramname"> </td>
511 <td> )
</td>
512 <td width=
"100%"><code> [inline]
</code></td>
519 Get a list of all nodes pointing to this node.
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">
529 <td class=
"memname">const
<a class=
"el" href=
"classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List
</a>& qan::Node::getOutEdges
</td>
531 <td class=
"paramname"> </td>
532 <td> )
</td>
533 <td width=
"100%"> const
<code> [inline]
</code></td>
540 Get a list of all node pointed by this node.
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">
550 <td class=
"memname"><a class=
"el" href=
"classqan_1_1_edge.html#97c75000b04e7d9d3c0c09727baee325">Edge::List
</a>& qan::Node::getOutEdges
</td>
552 <td class=
"paramname"> </td>
553 <td> )
</td>
554 <td width=
"100%"><code> [inline]
</code></td>
561 Get a list of all node pointed by this node.
566 <a class=
"anchor" name=
"24f0975621b63f8d79129da710455194"></a><!-- doxytag: member="qan::Node::collectOutNodes" ref="24f0975621b63f8d79129da710455194" args="(Node::List &outNodes)" -->
567 <div class=
"memitem">
568 <div class=
"memproto">
569 <table class=
"memname">
571 <td class=
"memname">void qan::Node::collectOutNodes
</td>
573 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">Node::List
</a> & </td>
574 <td class=
"paramname"> <em>outNodes
</em> </td>
575 <td> )
</td>
576 <td width=
"100%"></td>
583 Collect a list of this node sub nodes.
588 <a class=
"anchor" name=
"0a744f3a3acca7452c93b3524e1d434a"></a><!-- doxytag: member="qan::Node::collectInNodes" ref="0a744f3a3acca7452c93b3524e1d434a" args="(Node::List &outNodes)" -->
589 <div class=
"memitem">
590 <div class=
"memproto">
591 <table class=
"memname">
593 <td class=
"memname">void qan::Node::collectInNodes
</td>
595 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node.html#14ef52faa7bb412b800499ec118f1737">Node::List
</a> & </td>
596 <td class=
"paramname"> <em>outNodes
</em> </td>
597 <td> )
</td>
598 <td width=
"100%"></td>
605 Collect a list of this node in nodes.
610 <a class=
"anchor" name=
"8c8362b697e753d011ab09be61da1784"></a><!-- doxytag: member="qan::Node::collectOutNodesSet" ref="8c8362b697e753d011ab09be61da1784" args="(Node::Set &outNodes) const " -->
611 <div class=
"memitem">
612 <div class=
"memproto">
613 <table class=
"memname">
615 <td class=
"memname">void qan::Node::collectOutNodesSet
</td>
617 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set
</a> & </td>
618 <td class=
"paramname"> <em>outNodes
</em> </td>
619 <td> )
</td>
620 <td width=
"100%"> const
</td>
627 Collect a set of unique nodes pointed by this node.
632 <a class=
"anchor" name=
"47df46dc4a73f86816fd924f3277ef4c"></a><!-- doxytag: member="qan::Node::collectInNodesSet" ref="47df46dc4a73f86816fd924f3277ef4c" args="(Node::Set &nodes) const " -->
633 <div class=
"memitem">
634 <div class=
"memproto">
635 <table class=
"memname">
637 <td class=
"memname">void qan::Node::collectInNodesSet
</td>
639 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set
</a> & </td>
640 <td class=
"paramname"> <em>nodes
</em> </td>
641 <td> )
</td>
642 <td width=
"100%"> const
</td>
649 Collect a set of unique nodes referencing this node.
654 <a class=
"anchor" name=
"25e708c6521b8bab59950ac2a44f3984"></a><!-- doxytag: member="qan::Node::addInEdge" ref="25e708c6521b8bab59950ac2a44f3984" args="(Edge &edge)" -->
655 <div class=
"memitem">
656 <div class=
"memproto">
657 <table class=
"memname">
659 <td class=
"memname">void qan::Node::addInEdge
</td>
661 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_edge.html">Edge
</a> & </td>
662 <td class=
"paramname"> <em>edge
</em> </td>
663 <td> )
</td>
664 <td width=
"100%"><code> [inline]
</code></td>
676 <a class=
"anchor" name=
"ed22581175dd8e01eabbd57ab045bf60"></a><!-- doxytag: member="qan::Node::addOutEdge" ref="ed22581175dd8e01eabbd57ab045bf60" args="(Edge &edge)" -->
677 <div class=
"memitem">
678 <div class=
"memproto">
679 <table class=
"memname">
681 <td class=
"memname">void qan::Node::addOutEdge
</td>
683 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_edge.html">Edge
</a> & </td>
684 <td class=
"paramname"> <em>edge
</em> </td>
685 <td> )
</td>
686 <td width=
"100%"><code> [inline]
</code></td>
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">
703 <td class=
"memname">unsigned int qan::Node::getInDegree
</td>
705 <td class=
"paramname"> </td>
706 <td> )
</td>
707 <td width=
"100%"> const
<code> [inline]
</code></td>
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">
724 <td class=
"memname">unsigned int qan::Node::getOutDegree
</td>
726 <td class=
"paramname"> </td>
727 <td> )
</td>
728 <td width=
"100%"> const
<code> [inline]
</code></td>
740 <a class=
"anchor" name=
"623dc68e19c812cca6f99189bac5f560"></a><!-- doxytag: member="qan::Node::getAdjacentNodesSet" ref="623dc68e19c812cca6f99189bac5f560" args="(Node::Set &nodes) const " -->
741 <div class=
"memitem">
742 <div class=
"memproto">
743 <table class=
"memname">
745 <td class=
"memname">void qan::Node::getAdjacentNodesSet
</td>
747 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set
</a> & </td>
748 <td class=
"paramname"> <em>nodes
</em> </td>
749 <td> )
</td>
750 <td width=
"100%"> const
</td>
757 Get a list of nodes adjacent to this (all in and out nodes, without this).
762 <a class=
"anchor" name=
"669f70a26f059acfc1cb5569f221f76a"></a><!-- doxytag: member="qan::Node::getNonAdjacentNodesSet" ref="669f70a26f059acfc1cb5569f221f76a" args="(Node::Set &nonAdjacentNodes, const Node::Set &graphNodes) const" -->
763 <div class=
"memitem">
764 <div class=
"memproto">
765 <table class=
"memname">
767 <td class=
"memname">void qan::Node::getNonAdjacentNodesSet
</td>
769 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set
</a> & </td>
770 <td class=
"paramname"> <em>nonAdjacentNodes
</em>,
</td>
773 <td class=
"paramkey"></td>
775 <td class=
"paramtype">const
<a class=
"el" href=
"classqan_1_1_node.html#5a42a82d36077fe68a5a55481f83eab3">Node::Set
</a> & </td>
776 <td class=
"paramname"> <em>graphNodes
</em></td><td> </td>
781 <td></td><td></td><td width=
"100%"> const
</td>
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>).
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">
798 <td class=
"memname">bool qan::Node::isLeaf
</td>
800 <td class=
"paramname"> </td>
801 <td> )
</td>
802 <td width=
"100%"> const
<code> [inline]
</code></td>
809 Return true if this node is a
"leaf" (ie has no out edges).
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">
819 <td class=
"memname">const QString
& qan::Node::getLabel
</td>
821 <td class=
"paramname"> </td>
822 <td> )
</td>
823 <td width=
"100%"> const
<code> [inline]
</code></td>
835 <a class=
"anchor" name=
"368800923dda6614ea012e3d8eaf27df"></a><!-- doxytag: member="qan::Node::setLabel" ref="368800923dda6614ea012e3d8eaf27df" args="(const QString &label)" -->
836 <div class=
"memitem">
837 <div class=
"memproto">
838 <table class=
"memname">
840 <td class=
"memname">void qan::Node::setLabel
</td>
842 <td class=
"paramtype">const QString
& </td>
843 <td class=
"paramname"> <em>label
</em> </td>
844 <td> )
</td>
845 <td width=
"100%"><code> [inline]
</code></td>
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">
862 <td class=
"memname">void qan::Node::setType
</td>
864 <td class=
"paramtype">int
</td>
865 <td class=
"paramname"> <em>type
</em> </td>
866 <td> )
</td>
867 <td width=
"100%"><code> [inline]
</code></td>
874 Set this node's user defined type.
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">
884 <td class=
"memname">int qan::Node::getType
</td>
886 <td class=
"paramname"> </td>
887 <td> )
</td>
888 <td width=
"100%"> const
<code> [inline]
</code></td>
895 Get this node's user defined type.
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">
905 <td class=
"memname"><a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a>& qan::Node::getPosition
</td>
907 <td class=
"paramname"> </td>
908 <td> )
</td>
909 <td width=
"100%"><code> [inline]
</code></td>
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">
926 <td class=
"memname">const
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a>& qan::Node::getPosition
</td>
928 <td class=
"paramname"> </td>
929 <td> )
</td>
930 <td width=
"100%"> const
<code> [inline]
</code></td>
942 <a class=
"anchor" name=
"f7272d462f64989ac8b7e156a391cd2d"></a><!-- doxytag: member="qan::Node::setPosition" ref="f7272d462f64989ac8b7e156a391cd2d" args="(VectorF &position)" -->
943 <div class=
"memitem">
944 <div class=
"memproto">
945 <table class=
"memname">
947 <td class=
"memname">void qan::Node::setPosition
</td>
949 <td class=
"paramtype"><a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> & </td>
950 <td class=
"paramname"> <em>position
</em> </td>
951 <td> )
</td>
952 <td width=
"100%"><code> [inline]
</code></td>
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">
969 <td class=
"memname">void qan::Node::setPosition
</td>
971 <td class=
"paramtype">float
</td>
972 <td class=
"paramname"> <em>x
</em>,
</td>
975 <td class=
"paramkey"></td>
977 <td class=
"paramtype">float
</td>
978 <td class=
"paramname"> <em>y
</em></td><td> </td>
983 <td></td><td></td><td width=
"100%"><code> [inline]
</code></td>
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">
1000 <td class=
"memname">const
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a>& qan::Node::getDimension
</td>
1002 <td class=
"paramname"> </td>
1003 <td> )
</td>
1004 <td width=
"100%"> const
<code> [inline]
</code></td>
1008 <div class=
"memdoc">
1014 <a class=
"anchor" name=
"939efb9ffef6a1e8d920fe9d6a11937f"></a><!-- doxytag: member="qan::Node::setDimension" ref="939efb9ffef6a1e8d920fe9d6a11937f" args="(const VectorF &dimension)" -->
1015 <div class=
"memitem">
1016 <div class=
"memproto">
1017 <table class=
"memname">
1019 <td class=
"memname">void qan::Node::setDimension
</td>
1021 <td class=
"paramtype">const
<a class=
"el" href=
"classqan_1_1_vector_f.html">VectorF
</a> & </td>
1022 <td class=
"paramname"> <em>dimension
</em> </td>
1023 <td> )
</td>
1024 <td width=
"100%"><code> [inline]
</code></td>
1028 <div class=
"memdoc">
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">
1039 <td class=
"memname">void qan::Node::setDimension
</td>
1041 <td class=
"paramtype">float
</td>
1042 <td class=
"paramname"> <em>x
</em>,
</td>
1045 <td class=
"paramkey"></td>
1047 <td class=
"paramtype">float
</td>
1048 <td class=
"paramname"> <em>y
</em></td><td> </td>
1053 <td></td><td></td><td width=
"100%"><code> [inline]
</code></td>
1057 <div class=
"memdoc">
1063 <a class=
"anchor" name=
"1410fb13d83912886e6d0b8caf50d2b0"></a><!-- doxytag: member="qan::Node::setDate" ref="1410fb13d83912886e6d0b8caf50d2b0" args="(const QString &date)" -->
1064 <div class=
"memitem">
1065 <div class=
"memproto">
1066 <table class=
"memname">
1068 <td class=
"memname">void qan::Node::setDate
</td>
1070 <td class=
"paramtype">const QString
& </td>
1071 <td class=
"paramname"> <em>date
</em> </td>
1072 <td> )
</td>
1073 <td width=
"100%"></td>
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).
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">
1090 <td class=
"memname">const QDateTime* qan::Node::getDate
</td>
1092 <td class=
"paramname"> </td>
1093 <td> )
</td>
1094 <td width=
"100%"> const
<code> [inline]
</code></td>
1098 <div class=
"memdoc">
1101 Return the node date under Posix Time format (
0 if the date is undefined).
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">
1112 <td class=
"memname">QList
< void*
> <a class=
"el" href=
"classqan_1_1_node.html#d50c5f71dfa9a7979f15fb8ba742b5da">qan::Node::_attributes
</a><code> [private]
</code> </td>
1116 <div class=
"memdoc">
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">
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>
1131 <div class=
"memdoc">
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">
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>
1148 <div class=
"memdoc">
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;">
1164 <td height=
"48" style=
"font-family: Helvetica,Arial,sans-serif;">
1166 <dt><a href=
"http://www.libqanava.org"><font size=
"2">www.libqanava.org
</font></a><font size=
"2">
1167 Qanava - QCanvas Avanc
é</font></dt>
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>