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:11 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=
"ATT_DistanceStrategy";
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/ATT_DistanceStrategy.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/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>
62 <A HREF=
"ATT_DistanceStrategy.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.strategy.distance
</FONT>
93 Class ATT_DistanceStrategy
</H2>
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>
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>
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>
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> acom)
</CODE>
121 </TD>
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>
133 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
134 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
135 <CODE> 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><java.lang.Integer,java.lang.Integer
> CityOne,
137 <A HREF=
"../../../aco/misc/CoordinatePair.html" title=
"class in aco.misc">CoordinatePair
</A><java.lang.Integer,java.lang.Integer
> CityTwo)
</CODE>
140 </TD>
143 <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>
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>
152 <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>
157 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
158 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></TD>
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>
174 <A NAME=
"ATT_DistanceStrategy(aco.mediator.ACOMediator)"><!-- --></A><H3>
175 ATT_DistanceStrategy
</H3>
177 public
<B>ATT_DistanceStrategy
</B>(
<A HREF=
"../../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom)
</PRE>
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>
191 <A NAME=
"computeDistance(aco.misc.CoordinatePair, aco.misc.CoordinatePair)"><!-- --></A><H3>
194 public int
<B>computeDistance
</B>(
<A HREF=
"../../../aco/misc/CoordinatePair.html" title=
"class in aco.misc">CoordinatePair
</A><java.lang.Integer,java.lang.Integer
> CityOne,
195 <A HREF=
"../../../aco/misc/CoordinatePair.html" title=
"class in aco.misc">CoordinatePair
</A><java.lang.Integer,java.lang.Integer
> CityTwo)
</PRE>
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>
204 <!-- ========= END OF CLASS DATA ========= -->
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=
"">
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> </TD>
218 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
219 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
220 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/ATT_DistanceStrategy.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
221 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
222 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
223 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../index-files/index-1.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
224 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
228 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
234 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
235 PREV CLASS
236 <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>
239 <A HREF=
"ATT_DistanceStrategy.html" target=
"_top"><B>NO FRAMES
</B></A>
240 <SCRIPT type=
"text/javascript">
243 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
248 <A HREF=
"../../../allclasses-noframe.html"><B>All Classes
</B></A>
255 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
256 SUMMARY:
NESTED
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
257 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
258 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
261 <A NAME=
"skip-navbar_bottom"></A>
262 <!-- ======== END OF BOTTOM NAVBAR ======= -->