+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.6.0_18) on Tue Feb 09 10:57:28 CET 2010 -->
-<TITLE>
-Mapping
-</TITLE>
-
-<META NAME="date" CONTENT="2010-02-09">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Mapping";
- }
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-<HR>
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../and/Mapping/LSM.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
- <A HREF="../../and/Mapping/QM.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?and/Mapping/Mapping.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Mapping.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-and.Mapping</FONT>
-<BR>
-Class Mapping</H2>
-<PRE>
-java.lang.Object
- <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Mapping</B>
-</PRE>
-<DL>
-<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
-</DL>
-<HR>
-<DL>
-<DT><PRE>public class <B>Mapping</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
-</PRE>
-
-<P>
-Class representing the tasks mapping on clusters and/or nodes
-<P>
-
-<P>
-<DL>
-<DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#and.Mapping.Mapping">Serialized Form</A></DL>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#Mapping()">Mapping</A></B>()</CODE>
-
-<BR>
- Default constructor</TD>
-</TR>
-</TABLE>
-
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#addMapping(and.Mapping.Association)">addMapping</A></B>(<A HREF="../../and/Mapping/Association.html" title="class in and.Mapping">Association</A> _a)</CODE>
-
-<BR>
- Add a mapping association in the general mapping.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#addMapping(and.Mapping.Cluster, java.util.ArrayList)">addMapping</A></B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A> c,
- java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> at)</CODE>
-
-<BR>
- Add in the mapping an association between a cluster and tasks set.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#calcDepExt()">calcDepExt</A></B>()</CODE>
-
-<BR>
- Return the amount of external tasks dependencies, in cluster point of view.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#getIdOfAssociation(and.Mapping.GNode)">getIdOfAssociation</A></B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> _g)</CODE>
-
-<BR>
- Return the position of the association containing
- the GNode _g.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.util.ArrayList<<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#getMappedGNodes()">getMappedGNodes</A></B>()</CODE>
-
-<BR>
- Return the list of GNodes on which tasks are mapped, in order
- of the task number.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.util.ArrayList<<A HREF="../../and/Mapping/Association.html" title="class in and.Mapping">Association</A>></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#getMapping()">getMapping</A></B>()</CODE>
-
-<BR>
- Return the mapping done.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#initMapping()">initMapping</A></B>()</CODE>
-
-<BR>
- Initialization of the Mapping variables</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#insertMapping(and.Mapping.Association)">insertMapping</A></B>(<A HREF="../../and/Mapping/Association.html" title="class in and.Mapping">Association</A> _a)</CODE>
-
-<BR>
- Insert the association at the right place.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#print()">print</A></B>()</CODE>
-
-<BR>
- Print the status of the mapping done, according to its type.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../and/Mapping/Mapping.html#removeGNode(and.Mapping.GNode)">removeGNode</A></B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> _deadNode)</CODE>
-
-<BR>
- Remove a failed node from the mapping.</TD>
-</TR>
-</TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
-</TR>
-</TABLE>
-
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="Mapping()"><!-- --></A><H3>
-Mapping</H3>
-<PRE>
-public <B>Mapping</B>()</PRE>
-<DL>
-<DD>Default constructor
-<P>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="initMapping()"><!-- --></A><H3>
-initMapping</H3>
-<PRE>
-public void <B>initMapping</B>()</PRE>
-<DL>
-<DD>Initialization of the Mapping variables
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addMapping(and.Mapping.Cluster, java.util.ArrayList)"><!-- --></A><H3>
-addMapping</H3>
-<PRE>
-public void <B>addMapping</B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A> c,
- java.util.ArrayList<<A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A>> at)</PRE>
-<DL>
-<DD>Add in the mapping an association between a cluster and tasks set.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>c</CODE> - Cluster of the association<DD><CODE>at</CODE> - Tasks set to be associated</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="addMapping(and.Mapping.Association)"><!-- --></A><H3>
-addMapping</H3>
-<PRE>
-public void <B>addMapping</B>(<A HREF="../../and/Mapping/Association.html" title="class in and.Mapping">Association</A> _a)</PRE>
-<DL>
-<DD>Add a mapping association in the general mapping.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>_a</CODE> - Association between a task and a node</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="insertMapping(and.Mapping.Association)"><!-- --></A><H3>
-insertMapping</H3>
-<PRE>
-public void <B>insertMapping</B>(<A HREF="../../and/Mapping/Association.html" title="class in and.Mapping">Association</A> _a)</PRE>
-<DL>
-<DD>Insert the association at the right place.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>_a</CODE> - The association to be inserted</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removeGNode(and.Mapping.GNode)"><!-- --></A><H3>
-removeGNode</H3>
-<PRE>
-public <A HREF="../../and/Mapping/GTask.html" title="class in and.Mapping">GTask</A> <B>removeGNode</B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> _deadNode)</PRE>
-<DL>
-<DD>Remove a failed node from the mapping.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>_deadNode</CODE> - The failed node
-<DT><B>Returns:</B><DD>The task associated with the failed node</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMappedGNodes()"><!-- --></A><H3>
-getMappedGNodes</H3>
-<PRE>
-public java.util.ArrayList<<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A>> <B>getMappedGNodes</B>()</PRE>
-<DL>
-<DD>Return the list of GNodes on which tasks are mapped, in order
- of the task number.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The ordered list, according to the GTasks id, of GNodes involved in the mapping</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="print()"><!-- --></A><H3>
-print</H3>
-<PRE>
-public void <B>print</B>()</PRE>
-<DL>
-<DD>Print the status of the mapping done, according to its type.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getMapping()"><!-- --></A><H3>
-getMapping</H3>
-<PRE>
-public java.util.ArrayList<<A HREF="../../and/Mapping/Association.html" title="class in and.Mapping">Association</A>> <B>getMapping</B>()</PRE>
-<DL>
-<DD>Return the mapping done.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The mapping</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getIdOfAssociation(and.Mapping.GNode)"><!-- --></A><H3>
-getIdOfAssociation</H3>
-<PRE>
-public int <B>getIdOfAssociation</B>(<A HREF="../../and/Mapping/GNode.html" title="class in and.Mapping">GNode</A> _g)</PRE>
-<DL>
-<DD>Return the position of the association containing
- the GNode _g.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>_g</CODE> - The GNode to be search
-<DT><B>Returns:</B><DD>The position of the association</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="calcDepExt()"><!-- --></A><H3>
-calcDepExt</H3>
-<PRE>
-public int <B>calcDepExt</B>()</PRE>
-<DL>
-<DD>Return the amount of external tasks dependencies, in cluster point of view.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>The amount of external dependencies</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../and/Mapping/LSM.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
- <A HREF="../../and/Mapping/QM.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../index.html?and/Mapping/Mapping.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Mapping.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-
-</BODY>
-</HTML>