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="QM";
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/QM.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/Mapping.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
58 <A HREF="../../and/Mapping/Simple.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/QM.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="QM.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 "><A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping">and.Mapping.Algo</A>
96 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.QM</B>
99 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
103 <DT><PRE>public class <B>QM</B><DT>extends <A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping">Algo</A></DL>
107 Implementation of the AIAC Quick Quality Map (AIAC-QM) algorithm
112 <DT><B>Version:</B></DT>
114 <DT><B>Author:</B></DT>
115 <DD>Sébastien Miquée</DD>
116 <DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.QM">Serialized Form</A></DL>
121 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
123 <A NAME="constructor_summary"><!-- --></A>
124 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127 <B>Constructor Summary</B></FONT></TH>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD><CODE><B><A HREF="../../and/Mapping/QM.html#QM()">QM</A></B>()</CODE>
133 Default constructor.</TD>
135 <TR BGCOLOR="white" CLASS="TableRowColor">
136 <TD><CODE><B><A HREF="../../and/Mapping/QM.html#QM(and.Mapping.Graph, and.Mapping.Grid, double)">QM</A></B>(<A HREF="../../and/Mapping/Graph.html" title="class in and.Mapping">Graph</A> _gr,
137 <A HREF="../../and/Mapping/Grid.html" title="class in and.Mapping">Grid</A> _gd,
138 double _f)</CODE>
141 Constructor</TD>
145 <!-- ========== METHOD SUMMARY =========== -->
147 <A NAME="method_summary"><!-- --></A>
148 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
151 <B>Method Summary</B></FONT></TH>
153 <TR BGCOLOR="white" CLASS="TableRowColor">
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155 <CODE> <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A></CODE></FONT></TD>
156 <TD><CODE><B><A HREF="../../and/Mapping/QM.html#getOtherGNode()">getOtherGNode</A></B>()</CODE>
159 Find a new node, which may not takes part into the computation process.</TD>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163 <CODE> void</CODE></FONT></TD>
164 <TD><CODE><B><A HREF="../../and/Mapping/QM.html#map()">map</A></B>()</CODE>
167 Mapping function.</TD>
169 <TR BGCOLOR="white" CLASS="TableRowColor">
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171 <CODE> <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A></CODE></FONT></TD>
172 <TD><CODE><B><A HREF="../../and/Mapping/QM.html#replaceNode(and.Mapping.GNode, java.util.ArrayList)">replaceNode</A></B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> _dead,
173 java.util.ArrayList<<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>> _ag)</CODE>
176 Replace a fallen node by a new one, according to the mapping policy.</TD>
179 <A NAME="methods_inherited_from_class_and.Mapping.Algo"><!-- --></A>
180 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
181 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
182 <TH ALIGN="left"><B>Methods inherited from class and.Mapping.<A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping">Algo</A></B></TH>
184 <TR BGCOLOR="white" CLASS="TableRowColor">
185 <TD><CODE><A HREF="../../and/Mapping/Algo.html#getMapping()">getMapping</A></CODE></TD>
188 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
189 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
190 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
191 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
200 <!-- ========= CONSTRUCTOR DETAIL ======== -->
202 <A NAME="constructor_detail"><!-- --></A>
203 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
204 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
205 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
206 <B>Constructor Detail</B></FONT></TH>
210 <A NAME="QM()"><!-- --></A><H3>
213 public <B>QM</B>()</PRE>
215 <DD>Default constructor.
220 <A NAME="QM(and.Mapping.Graph, and.Mapping.Grid, double)"><!-- --></A><H3>
223 public <B>QM</B>(<A HREF="../../and/Mapping/Graph.html" title="class in and.Mapping">Graph</A> _gr,
224 <A HREF="../../and/Mapping/Grid.html" title="class in and.Mapping">Grid</A> _gd,
225 double _f)</PRE>
230 <DT><B>Parameters:</B><DD><CODE>_gr</CODE> - Application graph to be mapped on<DD><CODE>_gd</CODE> - Grid graph<DD><CODE>_f</CODE> - Search factor</DL>
233 <!-- ============ METHOD DETAIL ========== -->
235 <A NAME="method_detail"><!-- --></A>
236 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
237 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
238 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
239 <B>Method Detail</B></FONT></TH>
243 <A NAME="map()"><!-- --></A><H3>
246 public void <B>map</B>()</PRE>
248 <DD><B>Description copied from class: <CODE><A HREF="../../and/Mapping/Algo.html#map()">Algo</A></CODE></B></DD>
249 <DD>Mapping function.
252 <DT><B>Specified by:</B><DD><CODE><A HREF="../../and/Mapping/Algo.html#map()">map</A></CODE> in class <CODE><A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping">Algo</A></CODE></DL>
260 <A NAME="replaceNode(and.Mapping.GNode, java.util.ArrayList)"><!-- --></A><H3>
263 public <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> <B>replaceNode</B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> _dead,
264 java.util.ArrayList<<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>> _ag)</PRE>
266 <DD><B>Description copied from class: <CODE><A HREF="../../and/Mapping/Algo.html#replaceNode(and.Mapping.GNode, java.util.ArrayList)">Algo</A></CODE></B></DD>
267 <DD>Replace a fallen node by a new one, according to the mapping policy.
270 <DT><B>Specified by:</B><DD><CODE><A HREF="../../and/Mapping/Algo.html#replaceNode(and.Mapping.GNode, java.util.ArrayList)">replaceNode</A></CODE> in class <CODE><A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping">Algo</A></CODE></DL>
273 <DT><B>Parameters:</B><DD><CODE>_dead</CODE> - The fallen node to be replaced<DD><CODE>_ag</CODE> - The list of all available computing nodes
274 <DT><B>Returns:</B><DD>The new node</DL>
279 <A NAME="getOtherGNode()"><!-- --></A><H3>
282 public <A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> <B>getOtherGNode</B>()</PRE>
284 <DD><B>Description copied from class: <CODE><A HREF="../../and/Mapping/Algo.html#getOtherGNode()">Algo</A></CODE></B></DD>
285 <DD>Find a new node, which may not takes part into the computation process.
286 Typically such kind of node is used to create a new spawner or a new super-node,
287 in order to bring fault tolerance.
290 <DT><B>Specified by:</B><DD><CODE><A HREF="../../and/Mapping/Algo.html#getOtherGNode()">getOtherGNode</A></CODE> in class <CODE><A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping">Algo</A></CODE></DL>
294 <DT><B>Returns:</B><DD>Another node which will not compute</DL>
297 <!-- ========= END OF CLASS DATA ========= -->
301 <!-- ======= START OF BOTTOM NAVBAR ====== -->
302 <A NAME="navbar_bottom"><!-- --></A>
303 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
304 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
306 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
307 <A NAME="navbar_bottom_firstrow"><!-- --></A>
308 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
309 <TR ALIGN="center" VALIGN="top">
310 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
311 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
312 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QM.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
313 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
314 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
315 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
316 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
320 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
326 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
327 <A HREF="../../and/Mapping/Mapping.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
328 <A HREF="../../and/Mapping/Simple.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
329 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
330 <A HREF="../../index.html?and/Mapping/QM.html" target="_top"><B>FRAMES</B></A>
331 <A HREF="QM.html" target="_top"><B>NO FRAMES</B></A>
332 <SCRIPT type="text/javascript">
335 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
340 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
347 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
348 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
349 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
350 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
353 <A NAME="skip-navbar_bottom"></A>
354 <!-- ======== END OF BOTTOM NAVBAR ======= -->