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:34 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="Architecture";
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/Algo.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
57 <A HREF="../../and/Mapping/Association.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/Architecture.html" target="_top"><B>FRAMES</B></A>
60 <A HREF="Architecture.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 ======== -->
91 Class Architecture</H2>
94 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Architecture</B>
98 <DT><PRE>public class <B>Architecture</B><DT>extends java.lang.Object</DL>
102 Class representing a set of clusters forming a network architecture
110 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
112 <A NAME="constructor_summary"><!-- --></A>
113 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
114 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
116 <B>Constructor Summary</B></FONT></TH>
118 <TR BGCOLOR="white" CLASS="TableRowColor">
119 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#Architecture()">Architecture</A></B>()</CODE>
122 Default constructor.</TD>
126 <!-- ========== METHOD SUMMARY =========== -->
128 <A NAME="method_summary"><!-- --></A>
129 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
131 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
132 <B>Method Summary</B></FONT></TH>
134 <TR BGCOLOR="white" CLASS="TableRowColor">
135 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136 <CODE> void</CODE></FONT></TD>
137 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#addCluster(and.Mapping.Cluster)">addCluster</A></B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A> c)</CODE>
140 Add a cluster in the architecture.</TD>
142 <TR BGCOLOR="white" CLASS="TableRowColor">
143 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144 <CODE> java.util.ArrayList<<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>></CODE></FONT></TD>
145 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#getArchi()">getArchi</A></B>()</CODE>
148 Return the architecture in a clusters list form.</TD>
150 <TR BGCOLOR="white" CLASS="TableRowColor">
151 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152 <CODE> int</CODE></FONT></TD>
153 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#getNbClusters()">getNbClusters</A></B>()</CODE>
156 Return the amount of clusters in the architecture.</TD>
158 <TR BGCOLOR="white" CLASS="TableRowColor">
159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160 <CODE> int</CODE></FONT></TD>
161 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#getNbNodes()">getNbNodes</A></B>()</CODE>
164 Return the amount of computing nodes in the architecture.</TD>
167 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
168 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
170 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
172 <TR BGCOLOR="white" CLASS="TableRowColor">
173 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
179 <!-- ========= CONSTRUCTOR DETAIL ======== -->
181 <A NAME="constructor_detail"><!-- --></A>
182 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
183 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
184 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
185 <B>Constructor Detail</B></FONT></TH>
189 <A NAME="Architecture()"><!-- --></A><H3>
192 public <B>Architecture</B>()</PRE>
194 <DD>Default constructor.
198 <!-- ============ METHOD DETAIL ========== -->
200 <A NAME="method_detail"><!-- --></A>
201 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
203 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
204 <B>Method Detail</B></FONT></TH>
208 <A NAME="addCluster(and.Mapping.Cluster)"><!-- --></A><H3>
211 public void <B>addCluster</B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A> c)</PRE>
213 <DD>Add a cluster in the architecture.
216 <DT><B>Parameters:</B><DD><CODE>c</CODE> - Cluster to be add.</DL>
221 <A NAME="getNbNodes()"><!-- --></A><H3>
224 public int <B>getNbNodes</B>()</PRE>
226 <DD>Return the amount of computing nodes in the architecture.
230 <DT><B>Returns:</B><DD>The amount of nodes</DL>
235 <A NAME="getNbClusters()"><!-- --></A><H3>
238 public int <B>getNbClusters</B>()</PRE>
240 <DD>Return the amount of clusters in the architecture.
244 <DT><B>Returns:</B><DD>The amoutn of clusters</DL>
249 <A NAME="getArchi()"><!-- --></A><H3>
252 public java.util.ArrayList<<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>> <B>getArchi</B>()</PRE>
254 <DD>Return the architecture in a clusters list form.
258 <DT><B>Returns:</B><DD>A clusters list</DL>
261 <!-- ========= END OF CLASS DATA ========= -->
265 <!-- ======= START OF BOTTOM NAVBAR ====== -->
266 <A NAME="navbar_bottom"><!-- --></A>
267 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
268 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
270 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
271 <A NAME="navbar_bottom_firstrow"><!-- --></A>
272 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
273 <TR ALIGN="center" VALIGN="top">
274 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
275 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
276 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
277 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
278 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
279 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
283 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
289 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
290 <A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
291 <A HREF="../../and/Mapping/Association.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
292 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
293 <A HREF="../../index.html?and/Mapping/Architecture.html" target="_top"><B>FRAMES</B></A>
294 <A HREF="Architecture.html" target="_top"><B>NO FRAMES</B></A>
295 <SCRIPT type="text/javascript">
298 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
303 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
310 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
311 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
312 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
313 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
316 <A NAME="skip-navbar_bottom"></A>
317 <!-- ======== END OF BOTTOM NAVBAR ======= -->