Logo AND Algorithmique Numérique Distribuée

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