1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_0) on Tue Feb 02 14:44:19 CET 2010 -->
10 <META NAME="date" CONTENT="2010-02-02">
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
14 <SCRIPT type="text/javascript">
15 function windowTitle()
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="Graph";
27 <BODY BGCOLOR="white" onload="windowTitle();">
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="">
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> </TD>
41 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Graph.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
58 <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>
61 <A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>
62 <SCRIPT type="text/javascript">
65 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
70 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
83 <A NAME="skip-navbar_top"></A>
84 <!-- ========= END OF TOP NAVBAR ========= -->
87 <!-- ======== START OF CLASS DATA ======== -->
95 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Graph</B>
98 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
102 <DT><PRE>public class <B>Graph</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
106 Class representing the interaction graph of an application
111 <DT><B>Author:</B></DT>
112 <DD>Sébastien Miquée</DD>
113 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.Graph">Serialized Form</A></DL>
118 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
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>
126 <TR BGCOLOR="white" CLASS="TableRowColor">
127 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#Graph()">Graph</A></B>()</CODE>
130 Default constructor.</TD>
134 <!-- ========== METHOD SUMMARY =========== -->
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>
142 <TR BGCOLOR="white" CLASS="TableRowColor">
143 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144 <CODE> 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> t)</CODE>
148 Add a task in the interaction graph.</TD>
150 <TR BGCOLOR="white" CLASS="TableRowColor">
151 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152 <CODE> double</CODE></FONT></TD>
153 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getAverageDep()">getAverageDep</A></B>()</CODE>
156 Return the average of dependencies of tasks in the graph.</TD>
158 <TR BGCOLOR="white" CLASS="TableRowColor">
159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160 <CODE> java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>></CODE></FONT></TD>
161 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getGraph()">getGraph</A></B>()</CODE>
164 Return the graph in a tasks list form.</TD>
166 <TR BGCOLOR="white" CLASS="TableRowColor">
167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168 <CODE> int</CODE></FONT></TD>
169 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getNbGTask()">getNbGTask</A></B>()</CODE>
172 Return the amount of tasks in the graph.</TD>
174 <TR BGCOLOR="white" CLASS="TableRowColor">
175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176 <CODE> void</CODE></FONT></TD>
177 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#print()">print</A></B>()</CODE>
180 Print the graph in a text version.</TD>
183 <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>
188 <TR BGCOLOR="white" CLASS="TableRowColor">
189 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
195 <!-- ========= CONSTRUCTOR DETAIL ======== -->
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>
205 <A NAME="Graph()"><!-- --></A><H3>
208 public <B>Graph</B>()</PRE>
210 <DD>Default constructor.
214 <!-- ============ METHOD DETAIL ========== -->
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>
224 <A NAME="getNbGTask()"><!-- --></A><H3>
227 public int <B>getNbGTask</B>()</PRE>
229 <DD>Return the amount of tasks in the graph.
236 <DT><B>Returns:</B><DD>The amount of tasks</DL>
241 <A NAME="addGTask(and.Mapping.GTask)"><!-- --></A><H3>
244 public void <B>addGTask</B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> t)</PRE>
246 <DD>Add a task in the interaction graph.
252 <DT><B>Parameters:</B><DD><CODE>t</CODE> - Task to be add</DL>
257 <A NAME="getGraph()"><!-- --></A><H3>
260 public java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> <B>getGraph</B>()</PRE>
262 <DD>Return the graph in a tasks list form.
269 <DT><B>Returns:</B><DD>The tasks list</DL>
274 <A NAME="getAverageDep()"><!-- --></A><H3>
277 public double <B>getAverageDep</B>()</PRE>
279 <DD>Return the average of dependencies of tasks in the graph.
286 <DT><B>Returns:</B><DD>The average of dependencies</DL>
291 <A NAME="print()"><!-- --></A><H3>
294 public void <B>print</B>()</PRE>
296 <DD>Print the graph in a text version.
305 <!-- ========= END OF CLASS DATA ========= -->
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="">
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> </TD>
319 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
320 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Graph.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
321 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
322 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
323 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
324 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
328 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
334 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
335 <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
336 <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>
339 <A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>
340 <SCRIPT type="text/javascript">
343 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
348 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
355 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
356 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
357 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
358 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
361 <A NAME="skip-navbar_bottom"></A>
362 <!-- ======== END OF BOTTOM NAVBAR ======= -->