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:10 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=
"ACOStrategy";
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/ACOStrategy.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 <A HREF=
"../../aco/strategy/ChoiceInformationStrategy.html" title=
"class in aco.strategy"><B>NEXT CLASS
</B></A></FONT></TD>
60 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
61 <A HREF=
"../../index.html?aco/strategy/ACOStrategy.html" target=
"_top"><B>FRAMES
</B></A>
62 <A HREF=
"ACOStrategy.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 ======== -->
93 Class ACOStrategy
</H2>
96 <IMG SRC=
"../../resources/inherit.gif" ALT=
"extended by "><B>aco.strategy.ACOStrategy
</B>
99 <DT><B>Direct Known Subclasses:
</B> <DD><A HREF=
"../../aco/strategy/acs/ACSStrategy.html" title=
"class in aco.strategy.acs">ACSStrategy
</A>,
<A HREF=
"../../aco/strategy/as/ASStrategy.html" title=
"class in aco.strategy.as">ASStrategy
</A></DD>
103 <DT><PRE>public abstract class
<B>ACOStrategy
</B><DT>extends java.lang.Object
</DL>
111 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
113 <A NAME=
"constructor_summary"><!-- --></A>
114 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
115 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
116 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
117 <B>Constructor Summary
</B></FONT></TH>
119 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
120 <TD><CODE><B><A HREF=
"../../aco/strategy/ACOStrategy.html#ACOStrategy(aco.mediator.ACOMediator)">ACOStrategy
</A></B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom)
</CODE>
123 </TD>
127 <!-- ========== METHOD SUMMARY =========== -->
129 <A NAME=
"method_summary"><!-- --></A>
130 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
131 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
132 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
133 <B>Method Summary
</B></FONT></TH>
135 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
136 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
137 <CODE>abstract
void
</CODE></FONT></TD>
138 <TD><CODE><B><A HREF=
"../../aco/strategy/ACOStrategy.html#ACODecisionRule(aco.ant.Ant, int)">ACODecisionRule
</A></B>(
<A HREF=
"../../aco/ant/Ant.html" title=
"class in aco.ant">Ant
</A> ant,
139 int
Step)
</CODE>
142 </TD>
144 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
145 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
146 <CODE> void
</CODE></FONT></TD>
147 <TD><CODE><B><A HREF=
"../../aco/strategy/ACOStrategy.html#computeTourLength(aco.ant.Ant)">computeTourLength
</A></B>(
<A HREF=
"../../aco/ant/Ant.html" title=
"class in aco.ant">Ant
</A> ant)
</CODE>
150 </TD>
152 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
153 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
154 <CODE> void
</CODE></FONT></TD>
155 <TD><CODE><B><A HREF=
"../../aco/strategy/ACOStrategy.html#pickInitialRandomCity(aco.ant.Ant)">pickInitialRandomCity
</A></B>(
<A HREF=
"../../aco/ant/Ant.html" title=
"class in aco.ant">Ant
</A> ant)
</CODE>
158 </TD>
161 <A NAME=
"methods_inherited_from_class_java.lang.Object"><!-- --></A>
162 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
163 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
164 <TH ALIGN=
"left"><B>Methods inherited from class java.lang.Object
</B></TH>
166 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
167 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></TD>
173 <!-- ========= CONSTRUCTOR DETAIL ======== -->
175 <A NAME=
"constructor_detail"><!-- --></A>
176 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
177 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
178 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
179 <B>Constructor Detail
</B></FONT></TH>
183 <A NAME=
"ACOStrategy(aco.mediator.ACOMediator)"><!-- --></A><H3>
186 public
<B>ACOStrategy
</B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom)
</PRE>
190 <!-- ============ METHOD DETAIL ========== -->
192 <A NAME=
"method_detail"><!-- --></A>
193 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
194 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
195 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
196 <B>Method Detail
</B></FONT></TH>
200 <A NAME=
"computeTourLength(aco.ant.Ant)"><!-- --></A><H3>
201 computeTourLength
</H3>
203 public void
<B>computeTourLength
</B>(
<A HREF=
"../../aco/ant/Ant.html" title=
"class in aco.ant">Ant
</A> ant)
</PRE>
211 <A NAME=
"pickInitialRandomCity(aco.ant.Ant)"><!-- --></A><H3>
212 pickInitialRandomCity
</H3>
214 public void
<B>pickInitialRandomCity
</B>(
<A HREF=
"../../aco/ant/Ant.html" title=
"class in aco.ant">Ant
</A> ant)
</PRE>
222 <A NAME=
"ACODecisionRule(aco.ant.Ant, int)"><!-- --></A><H3>
225 public abstract void
<B>ACODecisionRule
</B>(
<A HREF=
"../../aco/ant/Ant.html" title=
"class in aco.ant">Ant
</A> ant,
232 <!-- ========= END OF CLASS DATA ========= -->
236 <!-- ======= START OF BOTTOM NAVBAR ====== -->
237 <A NAME=
"navbar_bottom"><!-- --></A>
238 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
239 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
241 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
242 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
243 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
244 <TR ALIGN=
"center" VALIGN=
"top">
245 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
246 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
247 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
248 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/ACOStrategy.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
249 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
250 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
251 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-files/index-1.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
252 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
256 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
262 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
263 PREV CLASS
264 <A HREF=
"../../aco/strategy/ChoiceInformationStrategy.html" title=
"class in aco.strategy"><B>NEXT CLASS
</B></A></FONT></TD>
265 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
266 <A HREF=
"../../index.html?aco/strategy/ACOStrategy.html" target=
"_top"><B>FRAMES
</B></A>
267 <A HREF=
"ACOStrategy.html" target=
"_top"><B>NO FRAMES
</B></A>
268 <SCRIPT type=
"text/javascript">
271 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
276 <A HREF=
"../../allclasses-noframe.html"><B>All Classes
</B></A>
283 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
284 SUMMARY:
NESTED
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
285 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
286 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
289 <A NAME=
"skip-navbar_bottom"></A>
290 <!-- ======== END OF BOTTOM NAVBAR ======= -->