documentation files
[aco.git] / doc / javadoc / aco / strategy / acs / ACSStrategy.html
blob89cf9d1edf3ce3ee201bca3e92058cca733df090
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_18) on Mon Jul 05 12:01:08 CEST 2010 -->
6 <TITLE>
7 ACSStrategy
8 </TITLE>
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="ACSStrategy";
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
25 </HEAD>
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
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="">
35 <TR>
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>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ACSStrategy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 </EM>
53 </TD>
54 </TR>
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../aco/strategy/acs/ACSPheromoneStrategy.html" title="class in aco.strategy.acs"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../aco/strategy/acs/ACSTauZeroStrategy.html" title="class in aco.strategy.acs"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?aco/strategy/acs/ACSStrategy.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="ACSStrategy.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 aco.strategy.acs</FONT>
92 <BR>
93 Class ACSStrategy</H2>
94 <PRE>
95 java.lang.Object
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../aco/strategy/ACOStrategy.html" title="class in aco.strategy">aco.strategy.ACOStrategy</A>
97 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>aco.strategy.acs.ACSStrategy</B>
98 </PRE>
99 <HR>
100 <DL>
101 <DT><PRE>public class <B>ACSStrategy</B><DT>extends <A HREF="../../../aco/strategy/ACOStrategy.html" title="class in aco.strategy">ACOStrategy</A></DL>
102 </PRE>
105 <HR>
109 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
111 <A NAME="constructor_summary"><!-- --></A>
112 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
113 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
115 <B>Constructor Summary</B></FONT></TH>
116 </TR>
117 <TR BGCOLOR="white" CLASS="TableRowColor">
118 <TD><CODE><B><A HREF="../../../aco/strategy/acs/ACSStrategy.html#ACSStrategy(aco.mediator.acs.ACSMediator)">ACSStrategy</A></B>(<A HREF="../../../aco/mediator/acs/ACSMediator.html" title="class in aco.mediator.acs">ACSMediator</A>&nbsp;acom)</CODE>
120 <BR>
121 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122 </TR>
123 </TABLE>
124 &nbsp;
125 <!-- ========== METHOD SUMMARY =========== -->
127 <A NAME="method_summary"><!-- --></A>
128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
130 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
131 <B>Method Summary</B></FONT></TH>
132 </TR>
133 <TR BGCOLOR="white" CLASS="TableRowColor">
134 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135 <CODE>&nbsp;void</CODE></FONT></TD>
136 <TD><CODE><B><A HREF="../../../aco/strategy/acs/ACSStrategy.html#ACODecisionRule(aco.ant.Ant, int)">ACODecisionRule</A></B>(<A HREF="../../../aco/ant/Ant.html" title="class in aco.ant">Ant</A>&nbsp;ant,
137 int&nbsp;Step)</CODE>
139 <BR>
140 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
141 </TR>
142 </TABLE>
143 &nbsp;<A NAME="methods_inherited_from_class_aco.strategy.ACOStrategy"><!-- --></A>
144 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
146 <TH ALIGN="left"><B>Methods inherited from class aco.strategy.<A HREF="../../../aco/strategy/ACOStrategy.html" title="class in aco.strategy">ACOStrategy</A></B></TH>
147 </TR>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD><CODE><A HREF="../../../aco/strategy/ACOStrategy.html#computeTourLength(aco.ant.Ant)">computeTourLength</A>, <A HREF="../../../aco/strategy/ACOStrategy.html#pickInitialRandomCity(aco.ant.Ant)">pickInitialRandomCity</A></CODE></TD>
150 </TR>
151 </TABLE>
152 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
153 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
154 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
155 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
159 </TR>
160 </TABLE>
161 &nbsp;
164 <!-- ========= CONSTRUCTOR DETAIL ======== -->
166 <A NAME="constructor_detail"><!-- --></A>
167 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
169 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
170 <B>Constructor Detail</B></FONT></TH>
171 </TR>
172 </TABLE>
174 <A NAME="ACSStrategy(aco.mediator.acs.ACSMediator)"><!-- --></A><H3>
175 ACSStrategy</H3>
176 <PRE>
177 public <B>ACSStrategy</B>(<A HREF="../../../aco/mediator/acs/ACSMediator.html" title="class in aco.mediator.acs">ACSMediator</A>&nbsp;acom)</PRE>
178 <DL>
179 </DL>
181 <!-- ============ METHOD DETAIL ========== -->
183 <A NAME="method_detail"><!-- --></A>
184 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
186 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
187 <B>Method Detail</B></FONT></TH>
188 </TR>
189 </TABLE>
191 <A NAME="ACODecisionRule(aco.ant.Ant, int)"><!-- --></A><H3>
192 ACODecisionRule</H3>
193 <PRE>
194 public void <B>ACODecisionRule</B>(<A HREF="../../../aco/ant/Ant.html" title="class in aco.ant">Ant</A>&nbsp;ant,
195 int&nbsp;Step)</PRE>
196 <DL>
197 <DD><DL>
198 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../aco/strategy/ACOStrategy.html#ACODecisionRule(aco.ant.Ant, int)">ACODecisionRule</A></CODE> in class <CODE><A HREF="../../../aco/strategy/ACOStrategy.html" title="class in aco.strategy">ACOStrategy</A></CODE></DL>
199 </DD>
200 <DD><DL>
201 </DL>
202 </DD>
203 </DL>
204 <!-- ========= END OF CLASS DATA ========= -->
205 <HR>
208 <!-- ======= START OF BOTTOM NAVBAR ====== -->
209 <A NAME="navbar_bottom"><!-- --></A>
210 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
211 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
212 <TR>
213 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
214 <A NAME="navbar_bottom_firstrow"><!-- --></A>
215 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
216 <TR ALIGN="center" VALIGN="top">
217 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
218 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
219 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
220 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ACSStrategy.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
221 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
222 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
223 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
224 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
225 </TR>
226 </TABLE>
227 </TD>
228 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
229 </EM>
230 </TD>
231 </TR>
233 <TR>
234 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
235 &nbsp;<A HREF="../../../aco/strategy/acs/ACSPheromoneStrategy.html" title="class in aco.strategy.acs"><B>PREV CLASS</B></A>&nbsp;
236 &nbsp;<A HREF="../../../aco/strategy/acs/ACSTauZeroStrategy.html" title="class in aco.strategy.acs"><B>NEXT CLASS</B></A></FONT></TD>
237 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
238 <A HREF="../../../index.html?aco/strategy/acs/ACSStrategy.html" target="_top"><B>FRAMES</B></A> &nbsp;
239 &nbsp;<A HREF="ACSStrategy.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
240 &nbsp;<SCRIPT type="text/javascript">
241 <!--
242 if(window==top) {
243 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
245 //-->
246 </SCRIPT>
247 <NOSCRIPT>
248 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
249 </NOSCRIPT>
252 </FONT></TD>
253 </TR>
254 <TR>
255 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
256 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
257 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
258 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
259 </TR>
260 </TABLE>
261 <A NAME="skip-navbar_bottom"></A>
262 <!-- ======== END OF BOTTOM NAVBAR ======= -->
264 <HR>
266 </BODY>
267 </HTML>