annotate libs/commons-math-2.1/docs/apidocs/org/apache/commons/math/optimization/RealConvergenceChecker.html @ 32:d7a43156a79b default tip

new tabs
author dwinter
date Mon, 10 Oct 2011 17:52:22 +0200
parents 878723cc40fb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
2 <!--NewPage-->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
3 <HTML>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
4 <HEAD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
5 <!-- Generated by javadoc (build 1.6.0_17) on Sat Mar 27 22:46:15 EDT 2010 -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
7 <TITLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
8 RealConvergenceChecker (Commons Math 2.1 API)
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
9 </TITLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
10
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
11 <META NAME="date" CONTENT="2010-03-27">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
12
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
14
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
15 <SCRIPT type="text/javascript">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
16 function windowTitle()
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
17 {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
18 if (location.href.indexOf('is-external=true') == -1) {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
19 parent.document.title="RealConvergenceChecker (Commons Math 2.1 API)";
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
20 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
21 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
22 </SCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
23 <NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
24 </NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
25
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
26 </HEAD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
27
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
28 <BODY BGCOLOR="white" onload="windowTitle();">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
29 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
30
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
31
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
32 <!-- ========= START OF TOP NAVBAR ======= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
33 <A NAME="navbar_top"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
36 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
38 <A NAME="navbar_top_firstrow"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
40 <TR ALIGN="center" VALIGN="top">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RealConvergenceChecker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
49 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
50 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
51 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
53 </EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
54 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
55 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
56
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
57 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
59 &nbsp;<A HREF="../../../../../org/apache/commons/math/optimization/OptimizationException.html" title="class in org.apache.commons.math.optimization"><B>PREV CLASS</B></A>&nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
60 &nbsp;<A HREF="../../../../../org/apache/commons/math/optimization/RealPointValuePair.html" title="class in org.apache.commons.math.optimization"><B>NEXT CLASS</B></A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
62 <A HREF="../../../../../index.html?org/apache/commons/math/optimization/RealConvergenceChecker.html" target="_top"><B>FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
63 &nbsp;<A HREF="RealConvergenceChecker.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
64 &nbsp;<SCRIPT type="text/javascript">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
65 <!--
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
66 if(window==top) {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
68 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
69 //-->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
70 </SCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
71 <NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
73 </NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
74
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
75
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
76 </FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
77 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
78 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
80 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
82 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
83 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
84 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
85 <A NAME="skip-navbar_top"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
86 <!-- ========= END OF TOP NAVBAR ========= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
87
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
88 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
89 <!-- ======== START OF CLASS DATA ======== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
90 <H2>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
91 <FONT SIZE="-1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
92 org.apache.commons.math.optimization</FONT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
93 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
94 Interface RealConvergenceChecker</H2>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
95 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
96 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/commons/math/optimization/SimpleRealPointChecker.html" title="class in org.apache.commons.math.optimization">SimpleRealPointChecker</A>, <A HREF="../../../../../org/apache/commons/math/optimization/SimpleScalarValueChecker.html" title="class in org.apache.commons.math.optimization">SimpleScalarValueChecker</A></DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
97 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
98 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
99 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
100 <DT><PRE>public interface <A HREF="../../../../../src-html/org/apache/commons/math/optimization/RealConvergenceChecker.html#line.37"><B>RealConvergenceChecker</B></A></DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
101 </PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
102
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
103 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
104 This interface specifies how to check if an <A HREF="../../../../../org/apache/commons/math/optimization/MultivariateRealOptimizer.html" title="interface in org.apache.commons.math.optimization"><CODE>optimization
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
105 algorithm</CODE></A> has converged.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
106
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
107 <p>Deciding if convergence has been reached is a problem-dependent issue. The
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
108 user should provide a class implementing this interface to allow the optimization
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
109 algorithm to stop its search according to the problem at hand.</p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
110 <p>For convenience, two implementations that fit simple needs are already provided:
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
111 <A HREF="../../../../../org/apache/commons/math/optimization/SimpleScalarValueChecker.html" title="class in org.apache.commons.math.optimization"><CODE>SimpleScalarValueChecker</CODE></A> and <A HREF="../../../../../org/apache/commons/math/optimization/SimpleRealPointChecker.html" title="class in org.apache.commons.math.optimization"><CODE>SimpleRealPointChecker</CODE></A>. The first
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
112 one considers convergence is reached when the objective function value does not
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
113 change much anymore, it does not use the point set at all. The second one
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
114 considers convergence is reached when the input point set does not change
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
115 much anymore, it does not use objective function value at all.</p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
116 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
117
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
118 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
119 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
120 <DT><B>Since:</B></DT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
121 <DD>2.0</DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
122 <DT><B>Version:</B></DT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
123 <DD>$Revision: 799857 $ $Date: 2009-08-01 09:07:12 -0400 (Sat, 01 Aug 2009) $</DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
124 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
125 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
126
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
127 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
128
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
129 <!-- ========== METHOD SUMMARY =========== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
130
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
131 <A NAME="method_summary"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
134 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
135 <B>Method Summary</B></FONT></TH>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
136 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
137 <TR BGCOLOR="white" CLASS="TableRowColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
139 <CODE>&nbsp;boolean</CODE></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
140 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/RealConvergenceChecker.html#converged(int, org.apache.commons.math.optimization.RealPointValuePair, org.apache.commons.math.optimization.RealPointValuePair)">converged</A></B>(int&nbsp;iteration,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
141 <A HREF="../../../../../org/apache/commons/math/optimization/RealPointValuePair.html" title="class in org.apache.commons.math.optimization">RealPointValuePair</A>&nbsp;previous,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
142 <A HREF="../../../../../org/apache/commons/math/optimization/RealPointValuePair.html" title="class in org.apache.commons.math.optimization">RealPointValuePair</A>&nbsp;current)</CODE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
143
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
144 <BR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if the optimization algorithm has converged considering the last points.</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
146 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
147 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
148 &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
149 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
150
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
151 <!-- ============ METHOD DETAIL ========== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
152
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
153 <A NAME="method_detail"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
154 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
155 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
156 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
157 <B>Method Detail</B></FONT></TH>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
158 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
159 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
160
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
161 <A NAME="converged(int, org.apache.commons.math.optimization.RealPointValuePair, org.apache.commons.math.optimization.RealPointValuePair)"><!-- --></A><H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
162 converged</H3>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
163 <PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
164 boolean <A HREF="../../../../../src-html/org/apache/commons/math/optimization/RealConvergenceChecker.html#line.53"><B>converged</B></A>(int&nbsp;iteration,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
165 <A HREF="../../../../../org/apache/commons/math/optimization/RealPointValuePair.html" title="class in org.apache.commons.math.optimization">RealPointValuePair</A>&nbsp;previous,
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
166 <A HREF="../../../../../org/apache/commons/math/optimization/RealPointValuePair.html" title="class in org.apache.commons.math.optimization">RealPointValuePair</A>&nbsp;current)</PRE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
167 <DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
168 <DD>Check if the optimization algorithm has converged considering the last points.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
169 <p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
170 This method may be called several time from the same algorithm iteration with
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
171 different points. This can be detected by checking the iteration number at each
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
172 call if needed. Each time this method is called, the previous and current point
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
173 correspond to points with the same role at each iteration, so they can be
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
174 compared. As an example, simplex-based algorithms call this method for all
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
175 points of the simplex, not only for the best or worst ones.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
176 </p>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
177 <P>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
178 <DD><DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
179 <DT><B>Parameters:</B><DD><CODE>iteration</CODE> - index of current iteration<DD><CODE>previous</CODE> - point from previous iteration<DD><CODE>current</CODE> - point from current iteration
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
180 <DT><B>Returns:</B><DD>true if the algorithm is considered to have converged</DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
181 </DD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
182 </DL>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
183 <!-- ========= END OF CLASS DATA ========= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
184 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
185
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
186
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
187 <!-- ======= START OF BOTTOM NAVBAR ====== -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
188 <A NAME="navbar_bottom"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
189 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
190 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
191 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
192 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
193 <A NAME="navbar_bottom_firstrow"><!-- --></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
194 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
195 <TR ALIGN="center" VALIGN="top">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
196 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
197 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
198 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
199 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RealConvergenceChecker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
200 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
201 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
202 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
203 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
204 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
205 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
206 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
207 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
208 </EM>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
209 </TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
210 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
211
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
212 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
213 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
214 &nbsp;<A HREF="../../../../../org/apache/commons/math/optimization/OptimizationException.html" title="class in org.apache.commons.math.optimization"><B>PREV CLASS</B></A>&nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
215 &nbsp;<A HREF="../../../../../org/apache/commons/math/optimization/RealPointValuePair.html" title="class in org.apache.commons.math.optimization"><B>NEXT CLASS</B></A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
216 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
217 <A HREF="../../../../../index.html?org/apache/commons/math/optimization/RealConvergenceChecker.html" target="_top"><B>FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
218 &nbsp;<A HREF="RealConvergenceChecker.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
219 &nbsp;<SCRIPT type="text/javascript">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
220 <!--
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
221 if(window==top) {
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
222 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
223 }
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
224 //-->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
225 </SCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
226 <NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
227 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
228 </NOSCRIPT>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
229
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
230
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
231 </FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
232 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
233 <TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
234 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
235 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
236 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
237 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
238 </TR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
239 </TABLE>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
240 <A NAME="skip-navbar_bottom"></A>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
241 <!-- ======== END OF BOTTOM NAVBAR ======= -->
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
242
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
243 <HR>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
244 Copyright &#169; 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
245 </BODY>
878723cc40fb commons-math-2.1 added
dwinter
parents:
diff changeset
246 </HTML>