documentation files
[aco.git] / doc / javadoc / aco / strategy / distance / ATT_DistanceStrategy.html
blob53e7d977993cf51ebda926589a5320a043b28d23
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:11 CEST 2010 -->
6 <TITLE>
7 ATT_DistanceStrategy
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="ATT_DistanceStrategy";
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/ATT_DistanceStrategy.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;PREV CLASS&nbsp;
59 &nbsp;<A HREF="../../../aco/strategy/distance/EUC_2D_DistanceStrategy.html" title="class in aco.strategy.distance"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?aco/strategy/distance/ATT_DistanceStrategy.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="ATT_DistanceStrategy.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.distance</FONT>
92 <BR>
93 Class ATT_DistanceStrategy</H2>
94 <PRE>
95 java.lang.Object
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../aco/strategy/DistanceStrategy.html" title="class in aco.strategy">aco.strategy.DistanceStrategy</A>
97 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>aco.strategy.distance.ATT_DistanceStrategy</B>
98 </PRE>
99 <HR>
100 <DL>
101 <DT><PRE>public class <B>ATT_DistanceStrategy</B><DT>extends <A HREF="../../../aco/strategy/DistanceStrategy.html" title="class in aco.strategy">DistanceStrategy</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/distance/ATT_DistanceStrategy.html#ATT_DistanceStrategy(aco.mediator.ACOMediator)">ATT_DistanceStrategy</A></B>(<A HREF="../../../aco/mediator/ACOMediator.html" title="class in aco.mediator">ACOMediator</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;int</CODE></FONT></TD>
136 <TD><CODE><B><A HREF="../../../aco/strategy/distance/ATT_DistanceStrategy.html#computeDistance(aco.misc.CoordinatePair, aco.misc.CoordinatePair)">computeDistance</A></B>(<A HREF="../../../aco/misc/CoordinatePair.html" title="class in aco.misc">CoordinatePair</A>&lt;java.lang.Integer,java.lang.Integer&gt;&nbsp;CityOne,
137 <A HREF="../../../aco/misc/CoordinatePair.html" title="class in aco.misc">CoordinatePair</A>&lt;java.lang.Integer,java.lang.Integer&gt;&nbsp;CityTwo)</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.DistanceStrategy"><!-- --></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/DistanceStrategy.html" title="class in aco.strategy">DistanceStrategy</A></B></TH>
147 </TR>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD><CODE><A HREF="../../../aco/strategy/DistanceStrategy.html#computeDistances()">computeDistances</A>, <A HREF="../../../aco/strategy/DistanceStrategy.html#getStrategyFromTSPLibReader(aco.tsplibreader.TSPLibReader, aco.mediator.ACOMediator)">getStrategyFromTSPLibReader</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="ATT_DistanceStrategy(aco.mediator.ACOMediator)"><!-- --></A><H3>
175 ATT_DistanceStrategy</H3>
176 <PRE>
177 public <B>ATT_DistanceStrategy</B>(<A HREF="../../../aco/mediator/ACOMediator.html" title="class in aco.mediator">ACOMediator</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="computeDistance(aco.misc.CoordinatePair, aco.misc.CoordinatePair)"><!-- --></A><H3>
192 computeDistance</H3>
193 <PRE>
194 public int <B>computeDistance</B>(<A HREF="../../../aco/misc/CoordinatePair.html" title="class in aco.misc">CoordinatePair</A>&lt;java.lang.Integer,java.lang.Integer&gt;&nbsp;CityOne,
195 <A HREF="../../../aco/misc/CoordinatePair.html" title="class in aco.misc">CoordinatePair</A>&lt;java.lang.Integer,java.lang.Integer&gt;&nbsp;CityTwo)</PRE>
196 <DL>
197 <DD><DL>
198 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../aco/strategy/DistanceStrategy.html#computeDistance(aco.misc.CoordinatePair, aco.misc.CoordinatePair)">computeDistance</A></CODE> in class <CODE><A HREF="../../../aco/strategy/DistanceStrategy.html" title="class in aco.strategy">DistanceStrategy</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/ATT_DistanceStrategy.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;PREV CLASS&nbsp;
236 &nbsp;<A HREF="../../../aco/strategy/distance/EUC_2D_DistanceStrategy.html" title="class in aco.strategy.distance"><B>NEXT CLASS</B></A></FONT></TD>
237 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
238 <A HREF="../../../index.html?aco/strategy/distance/ATT_DistanceStrategy.html" target="_top"><B>FRAMES</B></A> &nbsp;
239 &nbsp;<A HREF="ATT_DistanceStrategy.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>