updated serialization metadata as we now serialize secondary equations too

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1176745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-09-28 06:18:40 +00:00
parent b5724e1cc0
commit 5313f6aaae
18 changed files with 34 additions and 34 deletions

View File

@ -47,8 +47,8 @@ import org.apache.commons.math.ode.sampling.StepInterpolator;
class ClassicalRungeKuttaStepInterpolator class ClassicalRungeKuttaStepInterpolator
extends RungeKuttaStepInterpolator { extends RungeKuttaStepInterpolator {
/** Serializable version identifier */ /** Serializable version identifier. */
private static final long serialVersionUID = -6576285612589783992L; private static final long serialVersionUID = 20110928L;
/** Simple constructor. /** Simple constructor.
* This constructor builds an instance that is not usable yet, the * This constructor builds an instance that is not usable yet, the

View File

@ -71,8 +71,8 @@ class DormandPrince54StepInterpolator
/** Shampine (1986) Dense output, element 6. */ /** Shampine (1986) Dense output, element 6. */
private static final double D6 = 69997945.0 / 29380423.0; private static final double D6 = 69997945.0 / 29380423.0;
/** Serializable version identifier */ /** Serializable version identifier. */
private static final long serialVersionUID = 4104157279605906956L; private static final long serialVersionUID = 20110928L;
/** First vector for interpolation. */ /** First vector for interpolation. */
private double[] v1; private double[] v1;

View File

@ -38,8 +38,8 @@ import org.apache.commons.math.ode.sampling.StepInterpolator;
class DormandPrince853StepInterpolator class DormandPrince853StepInterpolator
extends RungeKuttaStepInterpolator { extends RungeKuttaStepInterpolator {
/** Serializable version identifier */ /** Serializable version identifier. */
private static final long serialVersionUID = 7152276390558450974L; private static final long serialVersionUID = 20110928L;
/** Propagation weights, element 1. */ /** Propagation weights, element 1. */
private static final double B_01 = 104257.0 / 1920240.0; private static final double B_01 = 104257.0 / 1920240.0;

View File

@ -41,8 +41,8 @@ import org.apache.commons.math.ode.sampling.StepInterpolator;
class EulerStepInterpolator class EulerStepInterpolator
extends RungeKuttaStepInterpolator { extends RungeKuttaStepInterpolator {
/** Serializable version identifier */ /** Serializable version identifier. */
private static final long serialVersionUID = -7179861704951334960L; private static final long serialVersionUID = 20110928L;
/** Simple constructor. /** Simple constructor.
* This constructor builds an instance that is not usable yet, the * This constructor builds an instance that is not usable yet, the

View File

@ -53,8 +53,8 @@ class GillStepInterpolator
/** Second Gill coefficient. */ /** Second Gill coefficient. */
private static final double TWO_PLUS_SQRT_2 = 2 + FastMath.sqrt(2.0); private static final double TWO_PLUS_SQRT_2 = 2 + FastMath.sqrt(2.0);
/** Serializable version identifier */ /** Serializable version identifier. */
private static final long serialVersionUID = -107804074496313322L; private static final long serialVersionUID = 20110928L;
/** Simple constructor. /** Simple constructor.
* This constructor builds an instance that is not usable yet, the * This constructor builds an instance that is not usable yet, the

View File

@ -79,7 +79,7 @@ class GraggBulirschStoerStepInterpolator
extends AbstractStepInterpolator { extends AbstractStepInterpolator {
/** Serializable version identifier. */ /** Serializable version identifier. */
private static final long serialVersionUID = 7320613236731409847L; private static final long serialVersionUID = 20110928L;
/** Slope at the beginning of the step. */ /** Slope at the beginning of the step. */
private double[] y0Dot; private double[] y0Dot;

View File

@ -33,7 +33,7 @@ class HighamHall54StepInterpolator
extends RungeKuttaStepInterpolator { extends RungeKuttaStepInterpolator {
/** Serializable version identifier */ /** Serializable version identifier */
private static final long serialVersionUID = -3583240427587318654L; private static final long serialVersionUID = 20110928L;
/** Simple constructor. /** Simple constructor.
* This constructor builds an instance that is not usable yet, the * This constructor builds an instance that is not usable yet, the

View File

@ -43,8 +43,8 @@ import org.apache.commons.math.ode.sampling.StepInterpolator;
class MidpointStepInterpolator class MidpointStepInterpolator
extends RungeKuttaStepInterpolator { extends RungeKuttaStepInterpolator {
/** Serializable version identifier */ /** Serializable version identifier */
private static final long serialVersionUID = -865524111506042509L; private static final long serialVersionUID = 20110928L;
/** Simple constructor. /** Simple constructor.
* This constructor builds an instance that is not usable yet, the * This constructor builds an instance that is not usable yet, the

View File

@ -48,8 +48,8 @@ import org.apache.commons.math.ode.sampling.StepInterpolator;
class ThreeEighthesStepInterpolator class ThreeEighthesStepInterpolator
extends RungeKuttaStepInterpolator { extends RungeKuttaStepInterpolator {
/** Serializable version identifier */ /** Serializable version identifier */
private static final long serialVersionUID = -3345024435978721931L; private static final long serialVersionUID = 20110928L;
/** Simple constructor. /** Simple constructor.
* This constructor builds an instance that is not usable yet, the * This constructor builds an instance that is not usable yet, the

View File

@ -61,8 +61,8 @@ public class ClassicalRungeKuttaStepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 753000); Assert.assertTrue(bos.size () > 750000);
Assert.assertTrue(bos.size () < 754000); Assert.assertTrue(bos.size () < 800000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -73,8 +73,8 @@ public class DormandPrince54StepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 126000); Assert.assertTrue(bos.size () > 125000);
Assert.assertTrue(bos.size () < 127000); Assert.assertTrue(bos.size () < 130000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -73,8 +73,8 @@ public class DormandPrince853StepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 88000); Assert.assertTrue(bos.size () > 85000);
Assert.assertTrue(bos.size () < 89000); Assert.assertTrue(bos.size () < 95000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -61,8 +61,8 @@ public class GillStepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 753000); Assert.assertTrue(bos.size () > 750000);
Assert.assertTrue(bos.size () < 754000); Assert.assertTrue(bos.size () < 800000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -75,8 +75,8 @@ public class GraggBulirschStoerStepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 34000); Assert.assertTrue(bos.size () > 35000);
Assert.assertTrue(bos.size () < 35000); Assert.assertTrue(bos.size () < 36000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -73,8 +73,8 @@ public class HighamHall54StepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 167000); Assert.assertTrue(bos.size () > 170000);
Assert.assertTrue(bos.size () < 168000); Assert.assertTrue(bos.size () < 175000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -62,8 +62,8 @@ public class MidpointStepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 114000); Assert.assertTrue(bos.size () > 120000);
Assert.assertTrue(bos.size () < 115000); Assert.assertTrue(bos.size () < 125000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -61,8 +61,8 @@ public class ThreeEighthesStepInterpolatorTest {
oos.writeObject(handler); oos.writeObject(handler);
} }
Assert.assertTrue(bos.size () > 753000); Assert.assertTrue(bos.size () > 750000);
Assert.assertTrue(bos.size () < 754000); Assert.assertTrue(bos.size () < 800000);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);

View File

@ -85,8 +85,8 @@ public class DummyStepInterpolatorTest {
ObjectOutputStream oos = new ObjectOutputStream(bos); ObjectOutputStream oos = new ObjectOutputStream(bos);
oos.writeObject(interpolator); oos.writeObject(interpolator);
Assert.assertTrue(bos.size () > 200); Assert.assertTrue(bos.size () > 300);
Assert.assertTrue(bos.size () < 300); Assert.assertTrue(bos.size () < 500);
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
ObjectInputStream ois = new ObjectInputStream(bis); ObjectInputStream ois = new ObjectInputStream(bis);