1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00
graphhopper-jsprit/doc/basics/VehicleRoutingAlgorithm.html
Stefan Schroeder 0730c465dc relax api
2013-10-09 15:17:55 +02:00

470 lines
20 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_51) on Wed Oct 09 15:10:19 CEST 2013 -->
<TITLE>
VehicleRoutingAlgorithm
</TITLE>
<META NAME="date" CONTENT="2013-10-09">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="VehicleRoutingAlgorithm";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VehicleRoutingAlgorithm.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../basics/Service.Builder.html" title="class in basics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../basics/VehicleRoutingProblem.html" title="class in basics"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?basics/VehicleRoutingAlgorithm.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="VehicleRoutingAlgorithm.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
basics</FONT>
<BR>
Class VehicleRoutingAlgorithm</H2>
<PRE>
java.lang.Object
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>basics.VehicleRoutingAlgorithm</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>VehicleRoutingAlgorithm</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
Algorithm that solves a <A HREF="../basics/VehicleRoutingProblem.html" title="class in basics"><CODE>VehicleRoutingProblem</CODE></A>.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>stefan schroeder</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#NOBREAK">NOBREAK</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#VehicleRoutingAlgorithm(basics.VehicleRoutingProblem, java.util.Collection, basics.algo.SearchStrategyManager)">VehicleRoutingAlgorithm</A></B>(<A HREF="../basics/VehicleRoutingProblem.html" title="class in basics">VehicleRoutingProblem</A>&nbsp;problem,
java.util.Collection&lt;<A HREF="../basics/VehicleRoutingProblemSolution.html" title="class in basics">VehicleRoutingProblemSolution</A>&gt;&nbsp;initialSolutions,
<A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo">SearchStrategyManager</A>&nbsp;searchStrategyManager)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#VehicleRoutingAlgorithm(basics.VehicleRoutingProblem, basics.algo.SearchStrategyManager)">VehicleRoutingAlgorithm</A></B>(<A HREF="../basics/VehicleRoutingProblem.html" title="class in basics">VehicleRoutingProblem</A>&nbsp;problem,
<A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo">SearchStrategyManager</A>&nbsp;searchStrategyManager)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#addInitialSolution(basics.VehicleRoutingProblemSolution)">addInitialSolution</A></B>(<A HREF="../basics/VehicleRoutingProblemSolution.html" title="class in basics">VehicleRoutingProblemSolution</A>&nbsp;solution)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds solution to the collection of initial solutions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../basics/algo/VehicleRoutingAlgorithmListeners.html" title="class in basics.algo">VehicleRoutingAlgorithmListeners</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#getAlgorithmListeners()">getAlgorithmListeners</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#getNuOfIterations()">getNuOfIterations</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of iterations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo">SearchStrategyManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#getSearchStrategyManager()">getSearchStrategyManager</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the <A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo"><CODE>SearchStrategyManager</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Collection&lt;<A HREF="../basics/VehicleRoutingProblemSolution.html" title="class in basics">VehicleRoutingProblemSolution</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#searchSolutions()">searchSolutions</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs the vehicle routing algorithm and returns a number of generated solutions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#setNuOfIterations(int)">setNuOfIterations</A></B>(int&nbsp;nOfIterations)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#setPrematureAlgorithmBreaker(basics.algo.PrematureAlgorithmBreaker)">setPrematureAlgorithmBreaker</A></B>(<A HREF="../basics/algo/PrematureAlgorithmBreaker.html" title="interface in basics.algo">PrematureAlgorithmBreaker</A>&nbsp;prematureAlgorithmBreaker)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../basics/VehicleRoutingAlgorithm.html#setPrematureBreak(int)">setPrematureBreak</A></B>(int&nbsp;nuIterationsWithoutImprovement)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets premature break.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="NOBREAK"><!-- --></A><H3>
NOBREAK</H3>
<PRE>
public static final int <B>NOBREAK</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#basics.VehicleRoutingAlgorithm.NOBREAK">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="VehicleRoutingAlgorithm(basics.VehicleRoutingProblem, basics.algo.SearchStrategyManager)"><!-- --></A><H3>
VehicleRoutingAlgorithm</H3>
<PRE>
public <B>VehicleRoutingAlgorithm</B>(<A HREF="../basics/VehicleRoutingProblem.html" title="class in basics">VehicleRoutingProblem</A>&nbsp;problem,
<A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo">SearchStrategyManager</A>&nbsp;searchStrategyManager)</PRE>
<DL>
</DL>
<HR>
<A NAME="VehicleRoutingAlgorithm(basics.VehicleRoutingProblem, java.util.Collection, basics.algo.SearchStrategyManager)"><!-- --></A><H3>
VehicleRoutingAlgorithm</H3>
<PRE>
public <B>VehicleRoutingAlgorithm</B>(<A HREF="../basics/VehicleRoutingProblem.html" title="class in basics">VehicleRoutingProblem</A>&nbsp;problem,
java.util.Collection&lt;<A HREF="../basics/VehicleRoutingProblemSolution.html" title="class in basics">VehicleRoutingProblemSolution</A>&gt;&nbsp;initialSolutions,
<A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo">SearchStrategyManager</A>&nbsp;searchStrategyManager)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="addInitialSolution(basics.VehicleRoutingProblemSolution)"><!-- --></A><H3>
addInitialSolution</H3>
<PRE>
public void <B>addInitialSolution</B>(<A HREF="../basics/VehicleRoutingProblemSolution.html" title="class in basics">VehicleRoutingProblemSolution</A>&nbsp;solution)</PRE>
<DL>
<DD>Adds solution to the collection of initial solutions.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>solution</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="setPrematureBreak(int)"><!-- --></A><H3>
setPrematureBreak</H3>
<PRE>
public void <B>setPrematureBreak</B>(int&nbsp;nuIterationsWithoutImprovement)</PRE>
<DL>
<DD>Sets premature break.
<p>This breaks the algorithm prematurely after the assigned number of iterations without improvement (see input parameter).
Improvement is what <A HREF="../algorithms/acceptors/SolutionAcceptor.html" title="interface in algorithms.acceptors"><CODE>SolutionAcceptor</CODE></A> understands about improvement. Or to put it in other words, the algo breaks prematurely after
the assigned number of iterations without solution-acceptance.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nuIterationsWithoutImprovement</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="setPrematureAlgorithmBreaker(basics.algo.PrematureAlgorithmBreaker)"><!-- --></A><H3>
setPrematureAlgorithmBreaker</H3>
<PRE>
public void <B>setPrematureAlgorithmBreaker</B>(<A HREF="../basics/algo/PrematureAlgorithmBreaker.html" title="interface in basics.algo">PrematureAlgorithmBreaker</A>&nbsp;prematureAlgorithmBreaker)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSearchStrategyManager()"><!-- --></A><H3>
getSearchStrategyManager</H3>
<PRE>
public <A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo">SearchStrategyManager</A> <B>getSearchStrategyManager</B>()</PRE>
<DL>
<DD>Gets the <A HREF="../basics/algo/SearchStrategyManager.html" title="class in basics.algo"><CODE>SearchStrategyManager</CODE></A>.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>SearchStrategyManager</DL>
</DD>
</DL>
<HR>
<A NAME="searchSolutions()"><!-- --></A><H3>
searchSolutions</H3>
<PRE>
public java.util.Collection&lt;<A HREF="../basics/VehicleRoutingProblemSolution.html" title="class in basics">VehicleRoutingProblemSolution</A>&gt; <B>searchSolutions</B>()</PRE>
<DL>
<DD>Runs the vehicle routing algorithm and returns a number of generated solutions.
<p>The algorithm runs as long as it is specified in nuOfIterations and prematureBreak. In each iteration it selects a searchStrategy according
to searchStrategyManager and runs the strategy to improve solutions.
<p>Note that clients are allowed to observe/listen the algorithm. See <A HREF="../basics/algo/VehicleRoutingAlgorithmListener.html" title="interface in basics.algo"><CODE>VehicleRoutingAlgorithmListener</CODE></A> and its according listeners.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Collection<VehicleRoutingProblemSolution> the solutions<DT><B>See Also:</B><DD><CODE>SearchStrategyManager}, {@link VehicleRoutingAlgorithmListener}, {@link AlgorithmStartsListener}, {@link AlgorithmEndsListener}, {@link IterationStartsListener}, {@link IterationEndsListener}</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getNuOfIterations()"><!-- --></A><H3>
getNuOfIterations</H3>
<PRE>
public int <B>getNuOfIterations</B>()</PRE>
<DL>
<DD>Returns the number of iterations.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>iterations</DL>
</DD>
</DL>
<HR>
<A NAME="getAlgorithmListeners()"><!-- --></A><H3>
getAlgorithmListeners</H3>
<PRE>
public <A HREF="../basics/algo/VehicleRoutingAlgorithmListeners.html" title="class in basics.algo">VehicleRoutingAlgorithmListeners</A> <B>getAlgorithmListeners</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setNuOfIterations(int)"><!-- --></A><H3>
setNuOfIterations</H3>
<PRE>
public void <B>setNuOfIterations</B>(int&nbsp;nOfIterations)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/VehicleRoutingAlgorithm.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../basics/Service.Builder.html" title="class in basics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../basics/VehicleRoutingProblem.html" title="class in basics"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?basics/VehicleRoutingAlgorithm.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="VehicleRoutingAlgorithm.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>