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=
"ACOGraph";
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/ACOGraph.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/graph/ACOGraph.html" target=
"_top"><B>FRAMES
</B></A>
62 <A HREF=
"ACOGraph.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 ======== -->
96 <IMG SRC=
"../../resources/inherit.gif" ALT=
"extended by "><B>aco.graph.ACOGraph
</B>
100 <DT><PRE>public class
<B>ACOGraph
</B><DT>extends java.lang.Object
</DL>
108 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
110 <A NAME=
"constructor_summary"><!-- --></A>
111 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
112 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
113 <TH ALIGN=
"left" COLSPAN=
"2"><FONT SIZE=
"+2">
114 <B>Constructor Summary
</B></FONT></TH>
116 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
117 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#ACOGraph(aco.mediator.ACOMediator)">ACOGraph
</A></B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom)
</CODE>
120 </TD>
122 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
123 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#ACOGraph(aco.mediator.ACOMediator, aco.graph.data.CoordinateData)">ACOGraph
</A></B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom,
124 <A HREF=
"../../aco/graph/data/CoordinateData.html" title=
"class in aco.graph.data">CoordinateData
</A> coordinateData)
</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> double
</CODE></FONT></TD>
142 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#getChoiceInformation(int, int)">getChoiceInformation
</A></B>(int
x,
146 </TD>
148 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
149 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
150 <CODE> java.util.HashMap
<java.lang.Integer,
<A HREF=
"../../aco/misc/CoordinatePair.html" title=
"class in aco.misc">CoordinatePair
</A><java.lang.Integer,java.lang.Integer
>></CODE></FONT></TD>
151 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#getCoordinateData()">getCoordinateData
</A></B>()
</CODE>
154 </TD>
156 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
157 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
158 <CODE> <A HREF=
"../../aco/misc/CoordinatePair.html" title=
"class in aco.misc">CoordinatePair
</A><java.lang.Integer,java.lang.Integer
></CODE></FONT></TD>
159 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#getCoordinates(int)">getCoordinates
</A></B>(int
City)
</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/graph/ACOGraph.html#getDistance(int, int)">getDistance
</A></B>(int
x,
171 </TD>
173 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
174 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
175 <CODE> double
</CODE></FONT></TD>
176 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#getHeuristicInformation(int, int)">getHeuristicInformation
</A></B>(int
x,
180 </TD>
182 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
183 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
184 <CODE> int
</CODE></FONT></TD>
185 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#getNearestNeighbour(int, int)">getNearestNeighbour
</A></B>(int
x,
189 </TD>
191 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
192 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
193 <CODE> double
</CODE></FONT></TD>
194 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#getPheromone(int, int)">getPheromone
</A></B>(int
x,
198 </TD>
200 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
201 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
202 <CODE> void
</CODE></FONT></TD>
203 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#initializeFromCoordinates(aco.graph.data.CoordinateData)">initializeFromCoordinates
</A></B>(
<A HREF=
"../../aco/graph/data/CoordinateData.html" title=
"class in aco.graph.data">CoordinateData
</A> coordinateData)
</CODE>
206 </TD>
208 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
209 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
210 <CODE> void
</CODE></FONT></TD>
211 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#setChoiceInformation(int, int, double)">setChoiceInformation
</A></B>(int
x,
213 double
v)
</CODE>
216 </TD>
218 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
219 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
220 <CODE> void
</CODE></FONT></TD>
221 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#setDistance(int, int, int)">setDistance
</A></B>(int
x,
226 </TD>
228 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
229 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
230 <CODE> void
</CODE></FONT></TD>
231 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#setHeuristicInformation(int, int, double)">setHeuristicInformation
</A></B>(int
x,
233 double
v)
</CODE>
236 </TD>
238 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
239 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
240 <CODE> void
</CODE></FONT></TD>
241 <TD><CODE><B><A HREF=
"../../aco/graph/ACOGraph.html#setPheromone(int, int, double)">setPheromone
</A></B>(int
x,
243 double
v)
</CODE>
246 </TD>
249 <A NAME=
"methods_inherited_from_class_java.lang.Object"><!-- --></A>
250 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
251 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
252 <TH ALIGN=
"left"><B>Methods inherited from class java.lang.Object
</B></TH>
254 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
255 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></TD>
261 <!-- ========= CONSTRUCTOR DETAIL ======== -->
263 <A NAME=
"constructor_detail"><!-- --></A>
264 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
265 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
266 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
267 <B>Constructor Detail
</B></FONT></TH>
271 <A NAME=
"ACOGraph(aco.mediator.ACOMediator)"><!-- --></A><H3>
274 public
<B>ACOGraph
</B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom)
</PRE>
279 <A NAME=
"ACOGraph(aco.mediator.ACOMediator, aco.graph.data.CoordinateData)"><!-- --></A><H3>
282 public
<B>ACOGraph
</B>(
<A HREF=
"../../aco/mediator/ACOMediator.html" title=
"class in aco.mediator">ACOMediator
</A> acom,
283 <A HREF=
"../../aco/graph/data/CoordinateData.html" title=
"class in aco.graph.data">CoordinateData
</A> coordinateData)
</PRE>
287 <!-- ============ METHOD DETAIL ========== -->
289 <A NAME=
"method_detail"><!-- --></A>
290 <TABLE BORDER=
"1" WIDTH=
"100%" CELLPADDING=
"3" CELLSPACING=
"0" SUMMARY=
"">
291 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
292 <TH ALIGN=
"left" COLSPAN=
"1"><FONT SIZE=
"+2">
293 <B>Method Detail
</B></FONT></TH>
297 <A NAME=
"initializeFromCoordinates(aco.graph.data.CoordinateData)"><!-- --></A><H3>
298 initializeFromCoordinates
</H3>
300 public void
<B>initializeFromCoordinates
</B>(
<A HREF=
"../../aco/graph/data/CoordinateData.html" title=
"class in aco.graph.data">CoordinateData
</A> coordinateData)
</PRE>
308 <A NAME=
"getNearestNeighbour(int, int)"><!-- --></A><H3>
309 getNearestNeighbour
</H3>
311 public int
<B>getNearestNeighbour
</B>(int
x,
320 <A NAME=
"getDistance(int, int)"><!-- --></A><H3>
323 public int
<B>getDistance
</B>(int
x,
332 <A NAME=
"setDistance(int, int, int)"><!-- --></A><H3>
335 public void
<B>setDistance
</B>(int
x,
345 <A NAME=
"getCoordinates(int)"><!-- --></A><H3>
348 public
<A HREF=
"../../aco/misc/CoordinatePair.html" title=
"class in aco.misc">CoordinatePair
</A><java.lang.Integer,java.lang.Integer
> <B>getCoordinates
</B>(int
City)
</PRE>
356 <A NAME=
"getCoordinateData()"><!-- --></A><H3>
357 getCoordinateData
</H3>
359 public java.util.HashMap
<java.lang.Integer,
<A HREF=
"../../aco/misc/CoordinatePair.html" title=
"class in aco.misc">CoordinatePair
</A><java.lang.Integer,java.lang.Integer
>> <B>getCoordinateData
</B>()
</PRE>
367 <A NAME=
"getPheromone(int, int)"><!-- --></A><H3>
370 public double
<B>getPheromone
</B>(int
x,
379 <A NAME=
"setPheromone(int, int, double)"><!-- --></A><H3>
382 public void
<B>setPheromone
</B>(int
x,
392 <A NAME=
"getChoiceInformation(int, int)"><!-- --></A><H3>
393 getChoiceInformation
</H3>
395 public double
<B>getChoiceInformation
</B>(int
x,
404 <A NAME=
"setChoiceInformation(int, int, double)"><!-- --></A><H3>
405 setChoiceInformation
</H3>
407 public void
<B>setChoiceInformation
</B>(int
x,
417 <A NAME=
"getHeuristicInformation(int, int)"><!-- --></A><H3>
418 getHeuristicInformation
</H3>
420 public double
<B>getHeuristicInformation
</B>(int
x,
429 <A NAME=
"setHeuristicInformation(int, int, double)"><!-- --></A><H3>
430 setHeuristicInformation
</H3>
432 public void
<B>setHeuristicInformation
</B>(int
x,
440 <!-- ========= END OF CLASS DATA ========= -->
444 <!-- ======= START OF BOTTOM NAVBAR ====== -->
445 <A NAME=
"navbar_bottom"><!-- --></A>
446 <A HREF=
"#skip-navbar_bottom" title=
"Skip navigation links"></A>
447 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0" SUMMARY=
"">
449 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
450 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
451 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3" SUMMARY=
"">
452 <TR ALIGN=
"center" VALIGN=
"top">
453 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../overview-summary.html"><FONT CLASS=
"NavBarFont1"><B>Overview
</B></FONT></A> </TD>
454 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
455 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
456 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"class-use/ACOGraph.html"><FONT CLASS=
"NavBarFont1"><B>Use
</B></FONT></A> </TD>
457 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
458 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
459 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-files/index-1.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
460 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
464 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
470 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
471 PREV CLASS
472 NEXT CLASS
</FONT></TD>
473 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
474 <A HREF=
"../../index.html?aco/graph/ACOGraph.html" target=
"_top"><B>FRAMES
</B></A>
475 <A HREF=
"ACOGraph.html" target=
"_top"><B>NO FRAMES
</B></A>
476 <SCRIPT type=
"text/javascript">
479 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
484 <A HREF=
"../../allclasses-noframe.html"><B>All Classes
</B></A>
491 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
492 SUMMARY:
NESTED
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
493 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
494 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
497 <A NAME=
"skip-navbar_bottom"></A>
498 <!-- ======== END OF BOTTOM NAVBAR ======= -->