类 AbstractSequentialLeastSquaresOptimizerAbstractTest

java.lang.Object
org.hipparchus.optim.nonlinear.vector.leastsquares.AbstractSequentialLeastSquaresOptimizerAbstractTest
直接已知子类:
SequentialGaussNewtonOptimizerWithCholeskyTest, SequentialGaussNewtonOptimizerWithLUTest, SequentialGaussNewtonOptimizerWithQRNormalTest, SequentialGaussNewtonOptimizerWithQRTest, SequentialGaussNewtonOptimizerWithSVDTest

public abstract class AbstractSequentialLeastSquaresOptimizerAbstractTest extends Object
一些单元测试是MINPACK file17file22 测试文件的重新实现。MINPACK的再分发政策在这里可用。

优化器的具体实现。
  • 字段详细资料

  • 构造器详细资料

    • AbstractSequentialLeastSquaresOptimizerAbstractTest

      public AbstractSequentialLeastSquaresOptimizerAbstractTest()
  • 方法详细资料

    • base

      public LeastSquaresBuilder base()
    • builder

      public LeastSquaresBuilder builder(org.hipparchus.optim.nonlinear.vector.leastsquares.CircleVectorial c)
    • builder

    • fail

      public void fail(LeastSquaresOptimizer optimizer)
    • assertEquals

      public void assertEquals(double tolerance, RealVector actual, double... expected)
      检查向量的值。
      参数:
      tolerance - 比较的绝对容差
      actual - 要测试的向量
      expected - 期望的值
    • getMaxIterations

      public abstract int getMaxIterations()
      返回:
      允许的默认迭代次数(如果未另行指定)。
    • defineOptimizer

      public abstract void defineOptimizer(LeastSquaresProblem.Evaluation evaluation)
      设置要测试的优化器的实例。
      参数:
      evaluation - 先前的评估
    • testGetIterations

      public void testGetIterations()
    • testTrivial

      public void testTrivial()
    • testQRColumnsPermutation

      public void testQRColumnsPermutation()
    • testNoDependency

      public void testNoDependency()
    • testOneSet

      public void testOneSet()
    • testTwoSets

      public void testTwoSets()
    • testNonInvertible

      public void testNonInvertible() throws Exception
      抛出:
      Exception
    • testIllConditioned

      public void testIllConditioned()
    • testMoreEstimatedParametersSimple

      public void testMoreEstimatedParametersSimple()
    • testMoreEstimatedParametersUnsorted

      public void testMoreEstimatedParametersUnsorted()
    • testRedundantEquations

      public void testRedundantEquations()
    • testInconsistentEquations

      public void testInconsistentEquations()
    • testInconsistentSizes1

      public void testInconsistentSizes1()
    • testInconsistentSizes2

      public void testInconsistentSizes2()
    • testSequential

      public void testSequential() throws Exception
      抛出:
      Exception
    • doTestStRD

      protected void doTestStRD(StatisticalReferenceDataset dataset, double errParams, double errParamsSd)
    • testKirby2

      public void testKirby2() throws IOException
      抛出:
      IOException
    • testHahn1

      public void testHahn1() throws IOException
      抛出:
      IOException
    • testPointCopy

      public void testPointCopy()
    • testPointDifferentDim

      public void testPointDifferentDim()