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 Mon Jul 05 12:01:07 CEST 2010 -->
10 <META NAME=
"date" CONTENT=
"2010-07-05">
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=
"Environment";
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=
"../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
41 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
42 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
43 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/Environment.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
44 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
45 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
46 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-files/index-1.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
47 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
51 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
57 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
58 PREV CLASS
59 NEXT CLASS
</FONT></TD>
60 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
61 <A HREF=
"../../index.html?aco/environment/Environment.html" target=
"_top"><B>FRAMES
</B></A>
62 <A HREF=
"Environment.html" target=
"_top"><B>NO FRAMES
</B></A>
63 <SCRIPT type=
"text/javascript">
66 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
71 <A HREF=
"../../allclasses-noframe.html"><B>All Classes
</B></A>
78 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
79 SUMMARY:
NESTED
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
80 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
81 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
84 <A NAME=
"skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
88 <!-- ======== START OF CLASS DATA ======== -->
91 aco.environment
</FONT>
93 Class Environment
</H2>
96 <IMG SRC=
"../../resources/inherit.gif" ALT=
"extended by ">java.util.Observable
97 <IMG SRC=
"../../resources/inherit.gif" ALT=
"extended by "><B>aco.environment.Environment
</B>
100 <DT><B>All Implemented Interfaces:
</B> <DD>java.lang.Runnable
</DD>
103 <DT><B>Direct Known Subclasses:
</B> <DD><A HREF=
"../../aco/environment/acs/ACSEnvironment.html" title=
"class in aco.environment.acs">ACSEnvironment
</A>,
<A HREF=
"../../aco/environment/as/ASEnvironment.html" title=
"class in aco.environment.as">ASEnvironment
</A></DD>
107 <DT><PRE>public abstract class
<B>Environment
</B><DT>extends java.util.Observable
<DT>implements java.lang.Runnable
</DL>
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=
"../../aco/environment/Environment.html#Environment(aco.mediator.ACOMediator)">Environment
</A></B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom)
</CODE>
127 </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=
"../../aco/environment/Environment.html#addGlobalBestTour(java.lang.Integer, int[])">addGlobalBestTour
</A></B>(java.lang.Integer
TourLength,
143 int[]
Tour)
</CODE>
146 </TD>
148 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
149 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
150 <CODE> int[]
</CODE></FONT></TD>
151 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#getGlobalBestTour()">getGlobalBestTour
</A></B>()
</CODE>
154 </TD>
156 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
157 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
158 <CODE> int
</CODE></FONT></TD>
159 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#getGlobalBestTour(int)">getGlobalBestTour
</A></B>(int
index)
</CODE>
162 </TD>
164 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
165 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
166 <CODE> int
</CODE></FONT></TD>
167 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#getGlobalBestTourIteration()">getGlobalBestTourIteration
</A></B>()
</CODE>
170 </TD>
172 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
173 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
174 <CODE> int
</CODE></FONT></TD>
175 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#getGlobalBestTourLength()">getGlobalBestTourLength
</A></B>()
</CODE>
178 </TD>
180 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
181 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
182 <CODE> java.util.SortedMap
<java.lang.Integer,int[]
></CODE></FONT></TD>
183 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#getGlobalBestTourMap()">getGlobalBestTourMap
</A></B>()
</CODE>
186 </TD>
188 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
189 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
190 <CODE> void
</CODE></FONT></TD>
191 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#run()">run
</A></B>()
</CODE>
194 </TD>
196 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
197 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
198 <CODE> void
</CODE></FONT></TD>
199 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#setGlobalBestTour(int[])">setGlobalBestTour
</A></B>(int[]
GlobalBestTour)
</CODE>
202 </TD>
204 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
205 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
206 <CODE> void
</CODE></FONT></TD>
207 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#setGlobalBestTour(int, int)">setGlobalBestTour
</A></B>(int
index,
208 int
GlobalBestTour)
</CODE>
211 </TD>
213 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
214 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
215 <CODE> void
</CODE></FONT></TD>
216 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#setGlobalBestTourIteration(int)">setGlobalBestTourIteration
</A></B>(int
GlobalBestTourIteration)
</CODE>
219 </TD>
221 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
222 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
223 <CODE> void
</CODE></FONT></TD>
224 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#setGlobalBestTourLength(int)">setGlobalBestTourLength
</A></B>(int
GlobalBestTourLength)
</CODE>
227 </TD>
229 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
230 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
231 <CODE> java.lang.String
</CODE></FONT></TD>
232 <TD><CODE><B><A HREF=
"../../aco/environment/Environment.html#toString()">toString
</A></B>()
</CODE>
235 </TD>
238 <A NAME=
"methods_inherited_from_class_java.util.Observable"><!-- --></A>
239 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
240 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
241 <TH ALIGN=
"left"><B>Methods inherited from class java.util.Observable
</B></TH>
243 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
244 <TD><CODE>addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
</CODE></TD>
247 <A NAME=
"methods_inherited_from_class_java.lang.Object"><!-- --></A>
248 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
249 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
250 <TH ALIGN=
"left"><B>Methods inherited from class java.lang.Object
</B></TH>
252 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
253 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
</CODE></TD>
259 <!-- ========= CONSTRUCTOR DETAIL ======== -->
261 <A NAME=
"constructor_detail"><!-- --></A>
262 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
263 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
264 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
265 <B>Constructor Detail
</B></FONT></TH>
269 <A NAME=
"Environment(aco.mediator.ACOMediator)"><!-- --></A><H3>
272 public
<B>Environment
</B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom)
</PRE>
276 <!-- ============ METHOD DETAIL ========== -->
278 <A NAME=
"method_detail"><!-- --></A>
279 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
280 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
281 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
282 <B>Method Detail
</B></FONT></TH>
286 <A NAME=
"run()"><!-- --></A><H3>
289 public void
<B>run
</B>()
</PRE>
292 <DT><B>Specified by:
</B><DD><CODE>run
</CODE> in interface
<CODE>java.lang.Runnable
</CODE></DL>
300 <A NAME=
"getGlobalBestTour()"><!-- --></A><H3>
301 getGlobalBestTour
</H3>
303 public int[]
<B>getGlobalBestTour
</B>()
</PRE>
314 <A NAME=
"getGlobalBestTour(int)"><!-- --></A><H3>
315 getGlobalBestTour
</H3>
317 public int
<B>getGlobalBestTour
</B>(int
index)
</PRE>
328 <A NAME=
"setGlobalBestTour(int[])"><!-- --></A><H3>
329 setGlobalBestTour
</H3>
331 public void
<B>setGlobalBestTour
</B>(int[]
GlobalBestTour)
</PRE>
342 <A NAME=
"setGlobalBestTour(int, int)"><!-- --></A><H3>
343 setGlobalBestTour
</H3>
345 public void
<B>setGlobalBestTour
</B>(int
index,
346 int
GlobalBestTour)
</PRE>
357 <A NAME=
"getGlobalBestTourLength()"><!-- --></A><H3>
358 getGlobalBestTourLength
</H3>
360 public int
<B>getGlobalBestTourLength
</B>()
</PRE>
371 <A NAME=
"setGlobalBestTourLength(int)"><!-- --></A><H3>
372 setGlobalBestTourLength
</H3>
374 public void
<B>setGlobalBestTourLength
</B>(int
GlobalBestTourLength)
</PRE>
385 <A NAME=
"getGlobalBestTourIteration()"><!-- --></A><H3>
386 getGlobalBestTourIteration
</H3>
388 public int
<B>getGlobalBestTourIteration
</B>()
</PRE>
399 <A NAME=
"setGlobalBestTourIteration(int)"><!-- --></A><H3>
400 setGlobalBestTourIteration
</H3>
402 public void
<B>setGlobalBestTourIteration
</B>(int
GlobalBestTourIteration)
</PRE>
413 <A NAME=
"getGlobalBestTourMap()"><!-- --></A><H3>
414 getGlobalBestTourMap
</H3>
416 public java.util.SortedMap
<java.lang.Integer,int[]
> <B>getGlobalBestTourMap
</B>()
</PRE>
427 <A NAME=
"addGlobalBestTour(java.lang.Integer, int[])"><!-- --></A><H3>
428 addGlobalBestTour
</H3>
430 public void
<B>addGlobalBestTour
</B>(java.lang.Integer
TourLength,
431 int[]
Tour)
</PRE>
442 <A NAME=
"toString()"><!-- --></A><H3>
445 public java.lang.String
<B>toString
</B>()
</PRE>
448 <DT><B>Overrides:
</B><DD><CODE>toString
</CODE> in class
<CODE>java.lang.Object
</CODE></DL>
454 <!-- ========= END OF CLASS DATA ========= -->
458 <!-- ======= START OF BOTTOM NAVBAR ====== -->
459 <A NAME=
"navbar_bottom"><!-- --></A>
460 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
461 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
463 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
464 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
465 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
466 <TR ALIGN=
"center" VALIGN=
"top">
467 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
468 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
469 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
470 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/Environment.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
471 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
472 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
473 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-files/index-1.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
474 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
478 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
484 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
485 PREV CLASS
486 NEXT CLASS
</FONT></TD>
487 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
488 <A HREF=
"../../index.html?aco/environment/Environment.html" target=
"_top"><B>FRAMES
</B></A>
489 <A HREF=
"Environment.html" target=
"_top"><B>NO FRAMES
</B></A>
490 <SCRIPT type=
"text/javascript">
493 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
498 <A HREF=
"../../allclasses-noframe.html"><B>All Classes
</B></A>
505 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
506 SUMMARY:
NESTED
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
507 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
508 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
511 <A NAME=
"skip-navbar_bottom"></A>
512 <!-- ======== END OF BOTTOM NAVBAR ======= -->