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 Sun Feb 07 23:55:35 CET 2010 -->
10 <META NAME="date" CONTENT="2010-02-07">
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="GTask";
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/Grid.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
57 <A HREF="../../and/Mapping/Linpack.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/GTask.html" target="_top"><B>FRAMES</B></A>
60 <A HREF="GTask.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.GTask</B>
97 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
101 <DT><PRE>public class <B>GTask</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
105 Class representing an application task
110 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.GTask">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/GTask.html#GTask()">GTask</A></B>()</CODE>
127 Default constructor.</TD>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#GTask(int)">GTask</A></B>(int _n)</CODE>
133 Constructor.</TD>
137 <!-- ========== METHOD SUMMARY =========== -->
139 <A NAME="method_summary"><!-- --></A>
140 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
142 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
143 <B>Method Summary</B></FONT></TH>
145 <TR BGCOLOR="white" CLASS="TableRowColor">
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147 <CODE> void</CODE></FONT></TD>
148 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#addDependance(java.util.ArrayList)">addDependance</A></B>(java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> at)</CODE>
151 Add a dependencies list to the task.</TD>
153 <TR BGCOLOR="white" CLASS="TableRowColor">
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155 <CODE> void</CODE></FONT></TD>
156 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#addDependance(and.Mapping.GTask)">addDependance</A></B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> _t)</CODE>
159 Add a dependency to the task.</TD>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163 <CODE> java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>></CODE></FONT></TD>
164 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getDependencies()">getDependencies</A></B>()</CODE>
167 Return the task's dependencies list.</TD>
169 <TR BGCOLOR="white" CLASS="TableRowColor">
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171 <CODE> int</CODE></FONT></TD>
172 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getNbDep()">getNbDep</A></B>()</CODE>
175 Return the amount of dependencies of the task.</TD>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179 <CODE> int</CODE></FONT></TD>
180 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getNum()">getNum</A></B>()</CODE>
183 Return the task's number.</TD>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 <CODE> int</CODE></FONT></TD>
188 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#getWeight()">getWeight</A></B>()</CODE>
191 Return the task's weight.</TD>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195 <CODE> java.lang.String</CODE></FONT></TD>
196 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#printDep()">printDep</A></B>()</CODE>
199 Return the task's dependencies list in a text form.</TD>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE> void</CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#setWeight(int)">setWeight</A></B>(int _p)</CODE>
207 Define the task's computing weight.</TD>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE> java.lang.String</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../and/Mapping/GTask.html#toString()">toString</A></B>()</CODE>
215 Return the task's number in a string.</TD>
218 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
219 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
220 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
221 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
223 <TR BGCOLOR="white" CLASS="TableRowColor">
224 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
230 <!-- ========= CONSTRUCTOR DETAIL ======== -->
232 <A NAME="constructor_detail"><!-- --></A>
233 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
234 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
235 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
236 <B>Constructor Detail</B></FONT></TH>
240 <A NAME="GTask()"><!-- --></A><H3>
243 public <B>GTask</B>()</PRE>
245 <DD>Default constructor.
250 <A NAME="GTask(int)"><!-- --></A><H3>
253 public <B>GTask</B>(int _n)</PRE>
258 <DT><B>Parameters:</B><DD><CODE>_n</CODE> - Task number</DL>
261 <!-- ============ METHOD DETAIL ========== -->
263 <A NAME="method_detail"><!-- --></A>
264 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
265 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
266 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
267 <B>Method Detail</B></FONT></TH>
271 <A NAME="addDependance(and.Mapping.GTask)"><!-- --></A><H3>
274 public void <B>addDependance</B>(<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> _t)</PRE>
276 <DD>Add a dependency to the task.
282 <DT><B>Parameters:</B><DD><CODE>_t</CODE> - Dependency task</DL>
287 <A NAME="toString()"><!-- --></A><H3>
290 public java.lang.String <B>toString</B>()</PRE>
292 <DD>Return the task's number in a string.
295 <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
299 <DT><B>Returns:</B><DD>A String containing the task's number</DL>
304 <A NAME="addDependance(java.util.ArrayList)"><!-- --></A><H3>
307 public void <B>addDependance</B>(java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> at)</PRE>
309 <DD>Add a dependencies list to the task.
315 <DT><B>Parameters:</B><DD><CODE>at</CODE> - The dependencies list</DL>
320 <A NAME="setWeight(int)"><!-- --></A><H3>
323 public void <B>setWeight</B>(int _p)</PRE>
325 <DD>Define the task's computing weight.
331 <DT><B>Parameters:</B><DD><CODE>_p</CODE> - The computing weight</DL>
336 <A NAME="getWeight()"><!-- --></A><H3>
339 public int <B>getWeight</B>()</PRE>
341 <DD>Return the task's weight.
348 <DT><B>Returns:</B><DD>The task's weight</DL>
353 <A NAME="getDependencies()"><!-- --></A><H3>
356 public java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> <B>getDependencies</B>()</PRE>
358 <DD>Return the task's dependencies list.
365 <DT><B>Returns:</B><DD>The dependencies list</DL>
370 <A NAME="getNum()"><!-- --></A><H3>
373 public int <B>getNum</B>()</PRE>
375 <DD>Return the task's number.
382 <DT><B>Returns:</B><DD>The task's number</DL>
387 <A NAME="getNbDep()"><!-- --></A><H3>
390 public int <B>getNbDep</B>()</PRE>
392 <DD>Return the amount of dependencies of the task.
399 <DT><B>Returns:</B><DD>The amount of dependencies</DL>
404 <A NAME="printDep()"><!-- --></A><H3>
407 public java.lang.String <B>printDep</B>()</PRE>
409 <DD>Return the task's dependencies list in a text form.
416 <DT><B>Returns:</B><DD>The String containing the dependencies list</DL>
419 <!-- ========= END OF CLASS DATA ========= -->
423 <!-- ======= START OF BOTTOM NAVBAR ====== -->
424 <A NAME="navbar_bottom"><!-- --></A>
425 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
426 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
428 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
429 <A NAME="navbar_bottom_firstrow"><!-- --></A>
430 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
431 <TR ALIGN="center" VALIGN="top">
432 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
433 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
434 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
435 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
436 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
437 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
441 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
447 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
448 <A HREF="../../and/Mapping/Grid.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
449 <A HREF="../../and/Mapping/Linpack.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
450 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
451 <A HREF="../../index.html?and/Mapping/GTask.html" target="_top"><B>FRAMES</B></A>
452 <A HREF="GTask.html" target="_top"><B>NO FRAMES</B></A>
453 <SCRIPT type="text/javascript">
456 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
461 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
468 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
469 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
470 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
471 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
474 <A NAME="skip-navbar_bottom"></A>
475 <!-- ======== END OF BOTTOM NAVBAR ======= -->