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_18) on Tue Feb 09 10:57:28 CET 2010 -->
10 <META NAME="date" CONTENT="2010-02-09">
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="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
57 <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>
60 <A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>
61 <SCRIPT type="text/javascript">
64 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
69 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
82 <A NAME="skip-navbar_top"></A>
83 <!-- ========= END OF TOP NAVBAR ========= -->
86 <!-- ======== START OF CLASS DATA ======== -->
94 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Graph</B>
97 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
101 <DT><PRE>public class <B>Graph</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
105 Class representing the interaction graph of an application
110 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.Graph">Serialized Form</A></DL>
115 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
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>
123 <TR BGCOLOR="white" CLASS="TableRowColor">
124 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#Graph()">Graph</A></B>()</CODE>
127 Default constructor.</TD>
131 <!-- ========== METHOD SUMMARY =========== -->
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>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <CODE> 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> t)</CODE>
145 Add a task in the interaction graph.</TD>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149 <CODE> double</CODE></FONT></TD>
150 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getAverageDep()">getAverageDep</A></B>()</CODE>
153 Return the average of dependencies of tasks in the graph.</TD>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157 <CODE> java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>></CODE></FONT></TD>
158 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getGraph()">getGraph</A></B>()</CODE>
161 Return the graph in a tasks list form.</TD>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165 <CODE> int</CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#getNbGTask()">getNbGTask</A></B>()</CODE>
169 Return the amount of tasks in the graph.</TD>
171 <TR BGCOLOR="white" CLASS="TableRowColor">
172 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173 <CODE> void</CODE></FONT></TD>
174 <TD><CODE><B><A HREF="../../and/Mapping/Graph.html#print()">print</A></B>()</CODE>
177 Print the graph in a text version.</TD>
180 <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>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
192 <!-- ========= CONSTRUCTOR DETAIL ======== -->
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>
202 <A NAME="Graph()"><!-- --></A><H3>
205 public <B>Graph</B>()</PRE>
207 <DD>Default constructor.
211 <!-- ============ METHOD DETAIL ========== -->
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>
221 <A NAME="getNbGTask()"><!-- --></A><H3>
224 public int <B>getNbGTask</B>()</PRE>
226 <DD>Return the amount of tasks in the graph.
233 <DT><B>Returns:</B><DD>The amount of tasks</DL>
238 <A NAME="addGTask(and.Mapping.GTask)"><!-- --></A><H3>
241 public void <B>addGTask</B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> t)</PRE>
243 <DD>Add a task in the interaction graph.
249 <DT><B>Parameters:</B><DD><CODE>t</CODE> - Task to be add</DL>
254 <A NAME="getGraph()"><!-- --></A><H3>
257 public java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> <B>getGraph</B>()</PRE>
259 <DD>Return the graph in a tasks list form.
266 <DT><B>Returns:</B><DD>The tasks list</DL>
271 <A NAME="getAverageDep()"><!-- --></A><H3>
274 public double <B>getAverageDep</B>()</PRE>
276 <DD>Return the average of dependencies of tasks in the graph.
283 <DT><B>Returns:</B><DD>The average of dependencies</DL>
288 <A NAME="print()"><!-- --></A><H3>
291 public void <B>print</B>()</PRE>
293 <DD>Print the graph in a text version.
302 <!-- ========= END OF CLASS DATA ========= -->
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="">
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> </TD>
316 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
317 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
318 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
319 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
320 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
324 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
330 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
331 <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
332 <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>
335 <A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>
336 <SCRIPT type="text/javascript">
339 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
344 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
351 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
352 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
353 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
354 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
357 <A NAME="skip-navbar_bottom"></A>
358 <!-- ======== END OF BOTTOM NAVBAR ======= -->