convergence checkers should not be serializable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb545b5bc0
commit
6135415f31
|
@ -17,8 +17,6 @@
|
||||||
|
|
||||||
package org.apache.commons.math.optimization;
|
package org.apache.commons.math.optimization;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import org.apache.commons.math.util.MathUtils;
|
import org.apache.commons.math.util.MathUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,12 +31,7 @@ import org.apache.commons.math.util.MathUtils;
|
||||||
* @version $Revision: 757180 $ $Date: 2009-03-22 13:54:45 +0100 (dim., 22 mars 2009) $
|
* @version $Revision: 757180 $ $Date: 2009-03-22 13:54:45 +0100 (dim., 22 mars 2009) $
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class SimpleRealPointChecker implements RealConvergenceChecker, Serializable {
|
public class SimpleRealPointChecker implements RealConvergenceChecker {
|
||||||
// TODO: Add Serializable documentation
|
|
||||||
// TODO: Check Serializable implementation
|
|
||||||
|
|
||||||
/** Serializable version identifier. */
|
|
||||||
private static final long serialVersionUID = 2490271385513842607L;
|
|
||||||
|
|
||||||
/** Default relative threshold. */
|
/** Default relative threshold. */
|
||||||
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
|
|
||||||
package org.apache.commons.math.optimization;
|
package org.apache.commons.math.optimization;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import org.apache.commons.math.util.MathUtils;
|
import org.apache.commons.math.util.MathUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,12 +31,7 @@ import org.apache.commons.math.util.MathUtils;
|
||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class SimpleScalarValueChecker implements RealConvergenceChecker, Serializable {
|
public class SimpleScalarValueChecker implements RealConvergenceChecker {
|
||||||
// TODO: Add Serializable documentation
|
|
||||||
// TODO: Check Serializable implementation
|
|
||||||
|
|
||||||
/** Serializable version identifier. */
|
|
||||||
private static final long serialVersionUID = 2490271385513842607L;
|
|
||||||
|
|
||||||
/** Default relative threshold. */
|
/** Default relative threshold. */
|
||||||
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
|
|
||||||
package org.apache.commons.math.optimization;
|
package org.apache.commons.math.optimization;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import org.apache.commons.math.util.MathUtils;
|
import org.apache.commons.math.util.MathUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,12 +31,7 @@ import org.apache.commons.math.util.MathUtils;
|
||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class SimpleVectorialPointChecker implements VectorialConvergenceChecker, Serializable {
|
public class SimpleVectorialPointChecker implements VectorialConvergenceChecker {
|
||||||
// TODO: Add Serializable documentation
|
|
||||||
// TODO: Check Serializable implementation
|
|
||||||
|
|
||||||
/** Serializable version identifier. */
|
|
||||||
private static final long serialVersionUID = 6571098732056285089L;
|
|
||||||
|
|
||||||
/** Default relative threshold. */
|
/** Default relative threshold. */
|
||||||
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
|
|
||||||
package org.apache.commons.math.optimization;
|
package org.apache.commons.math.optimization;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import org.apache.commons.math.util.MathUtils;
|
import org.apache.commons.math.util.MathUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,12 +31,7 @@ import org.apache.commons.math.util.MathUtils;
|
||||||
* @version $Revision$ $Date$
|
* @version $Revision$ $Date$
|
||||||
* @since 2.0
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class SimpleVectorialValueChecker implements VectorialConvergenceChecker, Serializable {
|
public class SimpleVectorialValueChecker implements VectorialConvergenceChecker {
|
||||||
// TODO: Add Serializable documentation
|
|
||||||
// TODO: Check Serializable implementation
|
|
||||||
|
|
||||||
/** Serializable version identifier. */
|
|
||||||
private static final long serialVersionUID = -3892196630780700808L;
|
|
||||||
|
|
||||||
/** Default relative threshold. */
|
/** Default relative threshold. */
|
||||||
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
|
||||||
|
|
Loading…
Reference in New Issue