Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
0aa965143debbb3ee9c83cbf2acc794fbe9bae91
[mapping.git] / javadoc / and / Mapping / Association.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 Sun Feb 07 23:55:34 CET 2010 -->
6 <TITLE>
7 Association
8 </TITLE>
9
10 <META NAME="date" CONTENT="2010-02-07">
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="Association";
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/Architecture.html" title="class in and.Mapping"><B>PREV CLASS</B></A>&nbsp;
57 &nbsp;<A HREF="../../and/Mapping/Cluster.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/Association.html" target="_top"><B>FRAMES</B></A>  &nbsp;
60 &nbsp;<A HREF="Association.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 Association</H2>
92 <PRE>
93 java.lang.Object
94   <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Association</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>Association</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
102 </PRE>
103
104 <P>
105 Class representing an association between a tasks list and a cluster
106  on which they are mapped, or between a task and a computing node
107 <P>
108
109 <P>
110 <DL>
111 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.Association">Serialized Form</A></DL>
112 <HR>
113
114 <P>
115
116 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
117
118 <A NAME="constructor_summary"><!-- --></A>
119 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122 <B>Constructor Summary</B></FONT></TH>
123 </TR>
124 <TR BGCOLOR="white" CLASS="TableRowColor">
125 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#Association()">Association</A></B>()</CODE>
126
127 <BR>
128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor.</TD>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#Association(and.Mapping.Cluster, java.util.ArrayList)">Association</A></B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>&nbsp;_c,
132             java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt;&nbsp;_at)</CODE>
133
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
136 </TR>
137 <TR BGCOLOR="white" CLASS="TableRowColor">
138 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#Association(and.Mapping.GNode, and.Mapping.GTask)">Association</A></B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>&nbsp;_g,
139             <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&nbsp;_t)</CODE>
140
141 <BR>
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
143 </TR>
144 </TABLE>
145 &nbsp;
146 <!-- ========== METHOD SUMMARY =========== -->
147
148 <A NAME="method_summary"><!-- --></A>
149 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
150 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
151 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
152 <B>Method Summary</B></FONT></TH>
153 </TR>
154 <TR BGCOLOR="white" CLASS="TableRowColor">
155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156 <CODE>&nbsp;<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A></CODE></FONT></TD>
157 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getCluster()">getCluster</A></B>()</CODE>
158
159 <BR>
160 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated cluster.</TD>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164 <CODE>&nbsp;<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A></CODE></FONT></TD>
165 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getGNode()">getGNode</A></B>()</CODE>
166
167 <BR>
168 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated computing node.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <CODE>&nbsp;java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt;</CODE></FONT></TD>
173 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getGtask()">getGtask</A></B>()</CODE>
174
175 <BR>
176 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated tasks list.</TD>
177 </TR>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <CODE>&nbsp;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A></CODE></FONT></TD>
181 <TD><CODE><B><A HREF="../../and/Mapping/Association.html#getGTask()">getGTask</A></B>()</CODE>
182
183 <BR>
184 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the associated task.</TD>
185 </TR>
186 </TABLE>
187 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
188 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
190 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
191 </TR>
192 <TR BGCOLOR="white" CLASS="TableRowColor">
193 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
194 </TR>
195 </TABLE>
196 &nbsp;
197 <P>
198
199 <!-- ========= CONSTRUCTOR DETAIL ======== -->
200
201 <A NAME="constructor_detail"><!-- --></A>
202 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
204 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
205 <B>Constructor Detail</B></FONT></TH>
206 </TR>
207 </TABLE>
208
209 <A NAME="Association()"><!-- --></A><H3>
210 Association</H3>
211 <PRE>
212 public <B>Association</B>()</PRE>
213 <DL>
214 <DD>Default constructor.
215 <P>
216 </DL>
217 <HR>
218
219 <A NAME="Association(and.Mapping.Cluster, java.util.ArrayList)"><!-- --></A><H3>
220 Association</H3>
221 <PRE>
222 public <B>Association</B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>&nbsp;_c,
223                    java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt;&nbsp;_at)</PRE>
224 <DL>
225 <DD>Constructor.
226 <P>
227 <DL>
228 <DT><B>Parameters:</B><DD><CODE>_c</CODE> - Associated cluster<DD><CODE>_at</CODE> - Tasks list</DL>
229 </DL>
230 <HR>
231
232 <A NAME="Association(and.Mapping.GNode, and.Mapping.GTask)"><!-- --></A><H3>
233 Association</H3>
234 <PRE>
235 public <B>Association</B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>&nbsp;_g,
236                    <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&nbsp;_t)</PRE>
237 <DL>
238 <DD>Constructor.
239 <P>
240 <DL>
241 <DT><B>Parameters:</B><DD><CODE>_g</CODE> - Associated computing node<DD><CODE>_t</CODE> - Associated task</DL>
242 </DL>
243
244 <!-- ============ METHOD DETAIL ========== -->
245
246 <A NAME="method_detail"><!-- --></A>
247 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
248 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
249 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
250 <B>Method Detail</B></FONT></TH>
251 </TR>
252 </TABLE>
253
254 <A NAME="getCluster()"><!-- --></A><H3>
255 getCluster</H3>
256 <PRE>
257 public <A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A> <B>getCluster</B>()</PRE>
258 <DL>
259 <DD>Return the associated cluster.
260 <P>
261 <DD><DL>
262 </DL>
263 </DD>
264 <DD><DL>
265
266 <DT><B>Returns:</B><DD>The associated cluster</DL>
267 </DD>
268 </DL>
269 <HR>
270
271 <A NAME="getGtask()"><!-- --></A><H3>
272 getGtask</H3>
273 <PRE>
274 public java.util.ArrayList&lt;<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>&gt; <B>getGtask</B>()</PRE>
275 <DL>
276 <DD>Return the associated tasks list.
277 <P>
278 <DD><DL>
279 </DL>
280 </DD>
281 <DD><DL>
282
283 <DT><B>Returns:</B><DD>The associated tasks list</DL>
284 </DD>
285 </DL>
286 <HR>
287
288 <A NAME="getGNode()"><!-- --></A><H3>
289 getGNode</H3>
290 <PRE>
291 public <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> <B>getGNode</B>()</PRE>
292 <DL>
293 <DD>Return the associated computing node.
294 <P>
295 <DD><DL>
296 </DL>
297 </DD>
298 <DD><DL>
299
300 <DT><B>Returns:</B><DD>The associated node</DL>
301 </DD>
302 </DL>
303 <HR>
304
305 <A NAME="getGTask()"><!-- --></A><H3>
306 getGTask</H3>
307 <PRE>
308 public <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> <B>getGTask</B>()</PRE>
309 <DL>
310 <DD>Return the associated task.
311 <P>
312 <DD><DL>
313 </DL>
314 </DD>
315 <DD><DL>
316
317 <DT><B>Returns:</B><DD>The associated task</DL>
318 </DD>
319 </DL>
320 <!-- ========= END OF CLASS DATA ========= -->
321 <HR>
322
323
324 <!-- ======= START OF BOTTOM NAVBAR ====== -->
325 <A NAME="navbar_bottom"><!-- --></A>
326 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
327 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
328 <TR>
329 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
330 <A NAME="navbar_bottom_firstrow"><!-- --></A>
331 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
332   <TR ALIGN="center" VALIGN="top">
333   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
334   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
335   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
336   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
337   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
338   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
339   </TR>
340 </TABLE>
341 </TD>
342 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
343 </EM>
344 </TD>
345 </TR>
346
347 <TR>
348 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
349 &nbsp;<A HREF="../../and/Mapping/Architecture.html" title="class in and.Mapping"><B>PREV CLASS</B></A>&nbsp;
350 &nbsp;<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
351 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
352   <A HREF="../../index.html?and/Mapping/Association.html" target="_top"><B>FRAMES</B></A>  &nbsp;
353 &nbsp;<A HREF="Association.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
354 &nbsp;<SCRIPT type="text/javascript">
355   <!--
356   if(window==top) {
357     document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
358   }
359   //-->
360 </SCRIPT>
361 <NOSCRIPT>
362   <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
363 </NOSCRIPT>
364
365
366 </FONT></TD>
367 </TR>
368 <TR>
369 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
370   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
371 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
372 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
373 </TR>
374 </TABLE>
375 <A NAME="skip-navbar_bottom"></A>
376 <!-- ======== END OF BOTTOM NAVBAR ======= -->
377
378 <HR>
379
380 </BODY>
381 </HTML>