Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding javadoc.
[mapping.git] / javadoc / and / Mapping / Graph.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_0) on Tue Feb 02 14:44:19 CET 2010 -->
6 <TITLE>
7 Graph
8 </TITLE>
9
10 <META NAME="date" CONTENT="2010-02-02">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17     if (location.href.indexOf('is-external=true') == -1) {
18         parent.document.title="Graph";
19     }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39   <TR ALIGN="center" VALIGN="top">
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
41   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Graph.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47   </TR>
48 </TABLE>
49 </TD>
50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51 </EM>
52 </TD>
53 </TR>
54
55 <TR>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 &nbsp;<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping"><B>PREV CLASS</B></A>&nbsp;
58 &nbsp;<A HREF="../../and/Mapping/Grid.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
59 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60   <A HREF="../../index.html?and/Mapping/Graph.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61 &nbsp;<A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62 &nbsp;<SCRIPT type="text/javascript">
63   <!--
64   if(window==top) {
65     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
66   }
67   //-->
68 </SCRIPT>
69 <NOSCRIPT>
70   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
71 </NOSCRIPT>
72
73
74 </FONT></TD>
75 </TR>
76 <TR>
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81 </TR>
82 </TABLE>
83 <A NAME="skip-navbar_top"></A>
84 <!-- ========= END OF TOP NAVBAR ========= -->
85
86 <HR>
87 <!-- ======== START OF CLASS DATA ======== -->
88 <H2>
89 <FONT SIZE="-1">
90 and.Mapping</FONT>
91 <BR>
92 Class Graph</H2>
93 <PRE>
94 java.lang.Object
95   <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Graph</B>
96 </PRE>
97 <DL>
98 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
99 </DL>
100 <HR>
101 <DL>
102 <DT><PRE>public class <B>Graph</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
103 </PRE>
104
105 <P>
106 Class representing the interaction graph of an application
107 <P>
108
109 <P>
110 <DL>
111 <DT><B>Author:</B></DT>
112   <DD>S&eacute;bastien Miqu&eacute;e</DD>
113 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.Graph">Serialized Form</A></DL>
114 <HR>
115
116 <P>
117
118 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
119
120 <A NAME="constructor_summary"><!-- --></A>
121 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124 <B>Constructor Summary</B></FONT></TH>
125 </TR>
126 <TR BGCOLOR="white" CLASS="TableRowColor">
127 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#Graph()">Graph</A></B>()</CODE>
128
129 <BR>
130 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor.</TD>
131 </TR>
132 </TABLE>
133 &nbsp;
134 <!-- ========== METHOD SUMMARY =========== -->
135
136 <A NAME="method_summary"><!-- --></A>
137 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
140 <B>Method Summary</B></FONT></TH>
141 </TR>
142 <TR BGCOLOR="white" CLASS="TableRowColor">
143 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144 <CODE>&nbsp;void</CODE></FONT></TD>
145 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#addGTask(and.Mapping.GTask)">addGTask</A></B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&nbsp;t)</CODE>
146
147 <BR>
148 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a task in the interaction graph.</TD>
149 </TR>
150 <TR BGCOLOR="white" CLASS="TableRowColor">
151 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152 <CODE>&nbsp;double</CODE></FONT></TD>
153 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getAverageDep()">getAverageDep</A></B>()</CODE>
154
155 <BR>
156 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the average of dependencies of tasks in the graph.</TD>
157 </TR>
158 <TR BGCOLOR="white" CLASS="TableRowColor">
159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160 <CODE>&nbsp;java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt;</CODE></FONT></TD>
161 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getGraph()">getGraph</A></B>()</CODE>
162
163 <BR>
164 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the graph in a tasks list form.</TD>
165 </TR>
166 <TR BGCOLOR="white" CLASS="TableRowColor">
167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168 <CODE>&nbsp;int</CODE></FONT></TD>
169 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getNbGTask()">getNbGTask</A></B>()</CODE>
170
171 <BR>
172 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the amount of tasks in the graph.</TD>
173 </TR>
174 <TR BGCOLOR="white" CLASS="TableRowColor">
175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176 <CODE>&nbsp;void</CODE></FONT></TD>
177 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#print()">print</A></B>()</CODE>
178
179 <BR>
180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print the graph in a text version.</TD>
181 </TR>
182 </TABLE>
183 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
184 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
186 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
187 </TR>
188 <TR BGCOLOR="white" CLASS="TableRowColor">
189 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
190 </TR>
191 </TABLE>
192 &nbsp;
193 <P>
194
195 <!-- ========= CONSTRUCTOR DETAIL ======== -->
196
197 <A NAME="constructor_detail"><!-- --></A>
198 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
199 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
200 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
201 <B>Constructor Detail</B></FONT></TH>
202 </TR>
203 </TABLE>
204
205 <A NAME="Graph()"><!-- --></A><H3>
206 Graph</H3>
207 <PRE>
208 public <B>Graph</B>()</PRE>
209 <DL>
210 <DD>Default constructor.
211 <P>
212 </DL>
213
214 <!-- ============ METHOD DETAIL ========== -->
215
216 <A NAME="method_detail"><!-- --></A>
217 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
218 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
219 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
220 <B>Method Detail</B></FONT></TH>
221 </TR>
222 </TABLE>
223
224 <A NAME="getNbGTask()"><!-- --></A><H3>
225 getNbGTask</H3>
226 <PRE>
227 public int <B>getNbGTask</B>()</PRE>
228 <DL>
229 <DD>Return the amount of tasks in the graph.
230 <P>
231 <DD><DL>
232 </DL>
233 </DD>
234 <DD><DL>
235
236 <DT><B>Returns:</B><DD>The amount of tasks</DL>
237 </DD>
238 </DL>
239 <HR>
240
241 <A NAME="addGTask(and.Mapping.GTask)"><!-- --></A><H3>
242 addGTask</H3>
243 <PRE>
244 public void <B>addGTask</B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&nbsp;t)</PRE>
245 <DL>
246 <DD>Add a task in the interaction graph.
247 <P>
248 <DD><DL>
249 </DL>
250 </DD>
251 <DD><DL>
252 <DT><B>Parameters:</B><DD><CODE>t</CODE> - Task to be add</DL>
253 </DD>
254 </DL>
255 <HR>
256
257 <A NAME="getGraph()"><!-- --></A><H3>
258 getGraph</H3>
259 <PRE>
260 public java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt; <B>getGraph</B>()</PRE>
261 <DL>
262 <DD>Return the graph in a tasks list form.
263 <P>
264 <DD><DL>
265 </DL>
266 </DD>
267 <DD><DL>
268
269 <DT><B>Returns:</B><DD>The tasks list</DL>
270 </DD>
271 </DL>
272 <HR>
273
274 <A NAME="getAverageDep()"><!-- --></A><H3>
275 getAverageDep</H3>
276 <PRE>
277 public double <B>getAverageDep</B>()</PRE>
278 <DL>
279 <DD>Return the average of dependencies of tasks in the graph.
280 <P>
281 <DD><DL>
282 </DL>
283 </DD>
284 <DD><DL>
285
286 <DT><B>Returns:</B><DD>The average of dependencies</DL>
287 </DD>
288 </DL>
289 <HR>
290
291 <A NAME="print()"><!-- --></A><H3>
292 print</H3>
293 <PRE>
294 public void <B>print</B>()</PRE>
295 <DL>
296 <DD>Print the graph in a text version.
297 <P>
298 <DD><DL>
299 </DL>
300 </DD>
301 <DD><DL>
302 </DL>
303 </DD>
304 </DL>
305 <!-- ========= END OF CLASS DATA ========= -->
306 <HR>
307
308
309 <!-- ======= START OF BOTTOM NAVBAR ====== -->
310 <A NAME="navbar_bottom"><!-- --></A>
311 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
312 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
313 <TR>
314 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
315 <A NAME="navbar_bottom_firstrow"><!-- --></A>
316 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
317   <TR ALIGN="center" VALIGN="top">
318   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
319   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
320   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Graph.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
321   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
322   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
323   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
324   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
325   </TR>
326 </TABLE>
327 </TD>
328 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
329 </EM>
330 </TD>
331 </TR>
332
333 <TR>
334 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
335 &nbsp;<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping"><B>PREV CLASS</B></A>&nbsp;
336 &nbsp;<A HREF="../../and/Mapping/Grid.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
337 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
338   <A HREF="../../index.html?and/Mapping/Graph.html" target="_top"><B>FRAMES</B></A>  &nbsp;
339 &nbsp;<A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
340 &nbsp;<SCRIPT type="text/javascript">
341   <!--
342   if(window==top) {
343     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
344   }
345   //-->
346 </SCRIPT>
347 <NOSCRIPT>
348   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
349 </NOSCRIPT>
350
351
352 </FONT></TD>
353 </TR>
354 <TR>
355 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
356   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
357 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
358 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
359 </TR>
360 </TABLE>
361 <A NAME="skip-navbar_bottom"></A>
362 <!-- ======== END OF BOTTOM NAVBAR ======= -->
363
364 <HR>
365
366 </BODY>
367 </HTML>