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="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="class-use/Architecture.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/Algo.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
58 <A HREF="../../and/Mapping/Association.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/Architecture.html" target="_top"><B>FRAMES</B></A>
61 <A HREF="Architecture.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 ======== -->
92 Class Architecture</H2>
95 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>and.Mapping.Architecture</B>
99 <DT><PRE>public class <B>Architecture</B><DT>extends java.lang.Object</DL>
103 Class representing a set of clusters forming a network architecture
108 <DT><B>Author:</B></DT>
109 <DD>Sébastien Miquée</DD>
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/Architecture.html#Architecture()">Architecture</A></B>()</CODE>
127 Default constructor.</TD>
131 <!-- ========== METHOD SUMMARY =========== -->
133 <A NAME="method_summary"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137 <B>Method Summary</B></FONT></TH>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <CODE> void</CODE></FONT></TD>
142 <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>
145 Add a cluster in the architecture.</TD>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149 <CODE> java.util.ArrayList<<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>></CODE></FONT></TD>
150 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#getArchi()">getArchi</A></B>()</CODE>
153 Return the architecture in a clusters list form.</TD>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157 <CODE> int</CODE></FONT></TD>
158 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#getNbClusters()">getNbClusters</A></B>()</CODE>
161 Return the amount of clusters in the architecture.</TD>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165 <CODE> int</CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../and/Mapping/Architecture.html#getNbNodes()">getNbNodes</A></B>()</CODE>
169 Return the amount of computing nodes in the architecture.</TD>
172 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
173 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
174 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
175 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
184 <!-- ========= CONSTRUCTOR DETAIL ======== -->
186 <A NAME="constructor_detail"><!-- --></A>
187 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
188 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
189 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
190 <B>Constructor Detail</B></FONT></TH>
194 <A NAME="Architecture()"><!-- --></A><H3>
197 public <B>Architecture</B>()</PRE>
199 <DD>Default constructor.
203 <!-- ============ METHOD DETAIL ========== -->
205 <A NAME="method_detail"><!-- --></A>
206 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
207 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
208 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
209 <B>Method Detail</B></FONT></TH>
213 <A NAME="addCluster(and.Mapping.Cluster)"><!-- --></A><H3>
216 public void <B>addCluster</B>(<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A> c)</PRE>
218 <DD>Add a cluster in the architecture.
221 <DT><B>Parameters:</B><DD><CODE>c</CODE> - Cluster to be add.</DL>
226 <A NAME="getNbNodes()"><!-- --></A><H3>
229 public int <B>getNbNodes</B>()</PRE>
231 <DD>Return the amount of computing nodes in the architecture.
235 <DT><B>Returns:</B><DD>The amount of nodes</DL>
240 <A NAME="getNbClusters()"><!-- --></A><H3>
243 public int <B>getNbClusters</B>()</PRE>
245 <DD>Return the amount of clusters in the architecture.
249 <DT><B>Returns:</B><DD>The amoutn of clusters</DL>
254 <A NAME="getArchi()"><!-- --></A><H3>
257 public java.util.ArrayList<<A HREF="../../and/Mapping/Cluster.html" title="class in and.Mapping">Cluster</A>> <B>getArchi</B>()</PRE>
259 <DD>Return the architecture in a clusters list form.
263 <DT><B>Returns:</B><DD>A clusters list</DL>
266 <!-- ========= END OF CLASS DATA ========= -->
270 <!-- ======= START OF BOTTOM NAVBAR ====== -->
271 <A NAME="navbar_bottom"><!-- --></A>
272 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
273 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
275 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
276 <A NAME="navbar_bottom_firstrow"><!-- --></A>
277 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
278 <TR ALIGN="center" VALIGN="top">
279 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../and/Mapping/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
280 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
281 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Architecture.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
282 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
283 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
284 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
285 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
289 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
295 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
296 <A HREF="../../and/Mapping/Algo.html" title="class in and.Mapping"><B>PREV CLASS</B></A>
297 <A HREF="../../and/Mapping/Association.html" title="class in and.Mapping"><B>NEXT CLASS</B></A></FONT></TD>
298 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
299 <A HREF="../../index.html?and/Mapping/Architecture.html" target="_top"><B>FRAMES</B></A>
300 <A HREF="Architecture.html" target="_top"><B>NO FRAMES</B></A>
301 <SCRIPT type="text/javascript">
304 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
309 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
316 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
317 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
318 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
319 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
322 <A NAME="skip-navbar_bottom"></A>
323 <!-- ======== END OF BOTTOM NAVBAR ======= -->