Merge pull request #158 from mureinik/imports
Code cleanup: Remove unused imports This removes from test classes imports that are in the same package.
This commit is contained in:
commit
84ca159267
|
@ -19,7 +19,6 @@ package org.apache.commons.math4;
|
|||
import org.apache.commons.numbers.arrays.LinearCombination;
|
||||
import org.apache.commons.rng.UniformRandomProvider;
|
||||
import org.apache.commons.rng.simple.RandomSource;
|
||||
import org.apache.commons.math4.RealFieldElement;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.apache.commons.math4.util.MathArrays;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.text.DecimalFormat;
|
|||
import org.apache.commons.numbers.complex.Complex;
|
||||
import org.apache.commons.numbers.core.Precision;
|
||||
import org.apache.commons.statistics.distribution.ContinuousDistribution;
|
||||
import org.apache.commons.math4.FieldElement;
|
||||
import org.apache.commons.math4.complex.ComplexFormat;
|
||||
import org.apache.commons.math4.linear.FieldMatrix;
|
||||
import org.apache.commons.math4.linear.RealMatrix;
|
||||
|
|
|
@ -21,7 +21,6 @@ import java.lang.reflect.Field;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.math4.analysis.differentiation.DSCompiler;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.numbers.combinatorics.BinomialCoefficient;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -22,7 +22,6 @@ import java.util.List;
|
|||
|
||||
import org.apache.commons.math4.ExtendedFieldElementAbstractTest;
|
||||
import org.apache.commons.math4.TestUtils;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
|
|
|
@ -20,7 +20,6 @@ package org.apache.commons.math4.analysis.function;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.function.Gaussian;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.function;
|
|||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.function.HarmonicOscillator;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.function;
|
|||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.function.Logistic;
|
||||
import org.apache.commons.math4.analysis.function.Sigmoid;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
|
|
|
@ -21,8 +21,6 @@ import org.apache.commons.math4.analysis.FunctionUtils;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.function.Logit;
|
||||
import org.apache.commons.math4.analysis.function.Sigmoid;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.apache.commons.math4.exception.OutOfRangeException;
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.function;
|
|||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.function.Sigmoid;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
package org.apache.commons.math4.analysis.function;
|
||||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.StepFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NoDataException;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration;
|
|||
import org.apache.commons.math4.analysis.QuinticFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.integration.MidPointIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration;
|
|||
import org.apache.commons.math4.analysis.QuinticFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.integration.RombergIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -21,8 +21,6 @@ import org.apache.commons.math4.analysis.UnivariateFunction;
|
|||
import org.apache.commons.math4.analysis.function.Identity;
|
||||
import org.apache.commons.math4.analysis.function.Inverse;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.integration.SimpsonIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration;
|
|||
import org.apache.commons.math4.analysis.QuinticFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.integration.TrapezoidIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.util.concurrent.Future;
|
|||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
import org.apache.commons.math4.analysis.integration.gauss.BaseRuleFactory;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
import org.junit.Test;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.commons.math4.analysis.integration.gauss;
|
|||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Constant;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
|
||||
import org.apache.commons.math4.util.Pair;
|
||||
import org.junit.Test;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import org.apache.commons.math4.analysis.function.Power;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Test;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -22,8 +22,6 @@ import java.util.Collection;
|
|||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Parameterized;
|
||||
import org.junit.runners.Parameterized.Parameters;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.HermiteRuleFactory;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
package org.apache.commons.math4.analysis.integration.gauss;
|
||||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.HermiteRuleFactory;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Test;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration.gauss;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.LegendreHighPrecisionRuleFactory;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Parameterized;
|
||||
import org.junit.runners.Parameterized.Parameters;
|
||||
|
|
|
@ -20,9 +20,6 @@ import org.apache.commons.math4.analysis.UnivariateFunction;
|
|||
import org.apache.commons.math4.analysis.function.Cos;
|
||||
import org.apache.commons.math4.analysis.function.Inverse;
|
||||
import org.apache.commons.math4.analysis.function.Log;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.LegendreHighPrecisionRuleFactory;
|
||||
import org.junit.Test;
|
||||
import org.junit.Assert;
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.integration.gauss;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.LegendreRuleFactory;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Parameterized;
|
||||
import org.junit.runners.Parameterized.Parameters;
|
||||
|
|
|
@ -20,9 +20,6 @@ import org.apache.commons.math4.analysis.UnivariateFunction;
|
|||
import org.apache.commons.math4.analysis.function.Cos;
|
||||
import org.apache.commons.math4.analysis.function.Inverse;
|
||||
import org.apache.commons.math4.analysis.function.Log;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.GaussIntegratorFactory;
|
||||
import org.apache.commons.math4.analysis.integration.gauss.LegendreRuleFactory;
|
||||
import org.junit.Test;
|
||||
import org.junit.Assert;
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Expm1;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.interpolation.DividedDifferenceInterpolator;
|
||||
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.commons.math4.analysis.interpolation;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import org.apache.commons.math4.analysis.interpolation.FieldHermiteInterpolator;
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
|
||||
import org.apache.commons.math4.dfp.Dfp;
|
||||
import org.apache.commons.math4.dfp.DfpField;
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
|
|||
import java.util.Random;
|
||||
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.interpolation.HermiteInterpolator;
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.NoDataException;
|
||||
|
|
|
@ -18,8 +18,6 @@ package org.apache.commons.math4.analysis.interpolation;
|
|||
|
||||
import org.apache.commons.math4.TestUtils;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.interpolation.LinearInterpolator;
|
||||
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialSplineFunction;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.analysis.interpolation;
|
||||
|
||||
import org.apache.commons.math4.analysis.interpolation.LoessInterpolator;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NoDataException;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
|
|
|
@ -19,8 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Expm1;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.interpolation.NevilleInterpolator;
|
||||
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -19,9 +19,6 @@ package org.apache.commons.math4.analysis.interpolation;
|
|||
import java.util.Random;
|
||||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.interpolation.LinearInterpolator;
|
||||
import org.apache.commons.math4.analysis.interpolation.UnivariateInterpolator;
|
||||
import org.apache.commons.math4.analysis.interpolation.UnivariatePeriodicInterpolator;
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.analysis.polynomials;
|
||||
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunctionLagrangeForm;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
package org.apache.commons.math4.analysis.polynomials;
|
||||
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunctionNewtonForm;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -20,12 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.XMinus5Function;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.solvers.AllowedSolution;
|
||||
import org.apache.commons.math4.analysis.solvers.BaseSecantSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.BracketedUnivariateSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.PegasusSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolverUtils;
|
||||
import org.apache.commons.math4.exception.NoBracketingException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.solvers;
|
|||
import org.apache.commons.math4.analysis.QuinticFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.solvers.BisectionSolver;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -21,10 +21,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.DerivativeStructure;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.solvers.AllowedSolution;
|
||||
import org.apache.commons.math4.analysis.solvers.BracketingNthOrderBrentSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.NewtonRaphsonSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -26,8 +26,6 @@ import org.apache.commons.math4.analysis.function.Constant;
|
|||
import org.apache.commons.math4.analysis.function.Inverse;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.function.Sqrt;
|
||||
import org.apache.commons.math4.analysis.solvers.BrentSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
import org.apache.commons.math4.exception.NoBracketingException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
package org.apache.commons.math4.analysis.solvers;
|
||||
|
||||
import org.apache.commons.math4.analysis.RealFieldUnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.solvers.AllowedSolution;
|
||||
import org.apache.commons.math4.dfp.Dfp;
|
||||
import org.apache.commons.math4.dfp.DfpField;
|
||||
import org.apache.commons.math4.dfp.DfpMath;
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
|
||||
package org.apache.commons.math4.analysis.solvers;
|
||||
|
||||
import org.apache.commons.math4.analysis.solvers.IllinoisSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
|
||||
/**
|
||||
* Test case for {@link IllinoisSolver Illinois} solver.
|
||||
*
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.commons.math4.analysis.solvers;
|
|||
|
||||
import org.apache.commons.numbers.complex.Complex;
|
||||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
|
||||
import org.apache.commons.math4.analysis.solvers.LaguerreSolver;
|
||||
import org.apache.commons.math4.exception.NoBracketingException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -20,8 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Expm1;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.solvers.MullerSolver2;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
import org.apache.commons.math4.exception.NoBracketingException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -20,8 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Expm1;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.solvers.MullerSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
import org.apache.commons.math4.exception.NoBracketingException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.commons.math4.analysis.solvers;
|
|||
import org.apache.commons.math4.analysis.QuinticFunction;
|
||||
import org.apache.commons.math4.analysis.differentiation.UnivariateDifferentiableFunction;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.solvers.NewtonRaphsonSolver;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
|
||||
package org.apache.commons.math4.analysis.solvers;
|
||||
|
||||
import org.apache.commons.math4.analysis.solvers.PegasusSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
|
||||
/**
|
||||
* Test case for {@link PegasusSolver Pegasus} solver.
|
||||
*
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
package org.apache.commons.math4.analysis.solvers;
|
||||
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.solvers.RegulaFalsiSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -20,8 +20,6 @@ import org.apache.commons.math4.analysis.QuinticFunction;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Expm1;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.solvers.RiddersSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
import org.apache.commons.math4.exception.NoBracketingException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
|
||||
package org.apache.commons.math4.analysis.solvers;
|
||||
|
||||
import org.apache.commons.math4.analysis.solvers.SecantSolver;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolver;
|
||||
|
||||
/**
|
||||
* Test case for {@link SecantSolver Secant} solver.
|
||||
*
|
||||
|
|
|
@ -20,7 +20,6 @@ package org.apache.commons.math4.analysis.solvers;
|
|||
import org.apache.commons.math4.analysis.QuinticFunction;
|
||||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.function.Sin;
|
||||
import org.apache.commons.math4.analysis.solvers.UnivariateSolverUtils;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.NoBracketingException;
|
||||
import org.apache.commons.math4.exception.NullArgumentException;
|
||||
|
|
|
@ -17,10 +17,6 @@
|
|||
|
||||
package org.apache.commons.math4.dfp;
|
||||
|
||||
import org.apache.commons.math4.dfp.Dfp;
|
||||
import org.apache.commons.math4.dfp.DfpDec;
|
||||
import org.apache.commons.math4.dfp.DfpField;
|
||||
|
||||
public class Decimal10 extends DfpDec {
|
||||
|
||||
Decimal10(final DfpField factory) {
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
|
||||
package org.apache.commons.math4.dfp;
|
||||
|
||||
import org.apache.commons.math4.dfp.Dfp;
|
||||
import org.apache.commons.math4.dfp.DfpDec;
|
||||
import org.apache.commons.math4.dfp.DfpField;
|
||||
import org.junit.After;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
|
||||
package org.apache.commons.math4.dfp;
|
||||
|
||||
import org.apache.commons.math4.dfp.Dfp;
|
||||
import org.apache.commons.math4.dfp.DfpField;
|
||||
import org.apache.commons.math4.dfp.DfpMath;
|
||||
import org.junit.After;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.distribution;
|
||||
|
||||
import org.apache.commons.math4.distribution.AbstractIntegerDistribution;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.commons.math4.distribution;
|
|||
import org.apache.commons.math4.analysis.UnivariateFunction;
|
||||
import org.apache.commons.math4.analysis.integration.RombergIntegrator;
|
||||
import org.apache.commons.math4.analysis.integration.UnivariateIntegrator;
|
||||
import org.apache.commons.math4.distribution.AbstractRealDistribution;
|
||||
import org.apache.commons.math4.exception.OutOfRangeException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.commons.math4.distribution;
|
|||
|
||||
import java.util.Arrays;
|
||||
import org.apache.commons.statistics.distribution.DiscreteDistribution;
|
||||
import org.apache.commons.math4.distribution.EnumeratedIntegerDistribution;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.MathArithmeticException;
|
||||
import org.apache.commons.math4.exception.NotANumberException;
|
||||
|
|
|
@ -22,8 +22,6 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
import org.apache.commons.statistics.distribution.ContinuousDistribution;
|
||||
import org.apache.commons.math4.distribution.EnumeratedDistribution;
|
||||
import org.apache.commons.math4.distribution.EnumeratedRealDistribution;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.MathArithmeticException;
|
||||
import org.apache.commons.math4.exception.NotANumberException;
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.commons.math4.distribution;
|
|||
|
||||
import org.apache.commons.statistics.distribution.DiscreteDistribution;
|
||||
import org.apache.commons.math4.TestUtils;
|
||||
import org.apache.commons.math4.distribution.AbstractIntegerDistribution;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.rng.simple.RandomSource;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.commons.math4.distribution;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.distribution.MultivariateNormalDistribution;
|
||||
import org.apache.commons.math4.exception.MathArithmeticException;
|
||||
import org.apache.commons.math4.exception.NotPositiveException;
|
||||
import org.apache.commons.rng.simple.RandomSource;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
package org.apache.commons.math4.distribution;
|
||||
|
||||
import org.apache.commons.math4.distribution.MultivariateNormalDistribution;
|
||||
import org.apache.commons.statistics.distribution.NormalDistribution;
|
||||
import org.apache.commons.math4.linear.RealMatrix;
|
||||
import org.apache.commons.rng.simple.RandomSource;
|
||||
|
|
|
@ -22,7 +22,6 @@ import java.util.List;
|
|||
|
||||
import org.apache.commons.math4.distribution.MixtureMultivariateNormalDistribution;
|
||||
import org.apache.commons.math4.distribution.MultivariateNormalDistribution;
|
||||
import org.apache.commons.math4.distribution.fitting.MultivariateNormalMixtureExpectationMaximization;
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.MaxCountExceededException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.NonMonotonicSequenceException;
|
||||
import org.apache.commons.math4.util.MathArrays;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.NotPositiveException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.NotStrictlyPositiveException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.exception;
|
||||
|
||||
import org.apache.commons.math4.exception.OutOfRangeException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.commons.math4.exception;
|
|||
|
||||
import java.text.MessageFormat;
|
||||
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.apache.commons.math4.exception.util;
|
|||
import java.util.List;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.apache.commons.math4.exception.util.ArgUtils;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ import java.io.ObjectInputStream;
|
|||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.ByteArrayInputStream;
|
||||
|
||||
import org.apache.commons.math4.exception.util.ExceptionContext;
|
||||
import org.apache.commons.math4.exception.util.LocalizedFormats;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,11 +16,6 @@ package org.apache.commons.math4.filter;
|
|||
|
||||
import org.apache.commons.statistics.distribution.ContinuousDistribution;
|
||||
import org.apache.commons.statistics.distribution.NormalDistribution;
|
||||
import org.apache.commons.math4.filter.DefaultMeasurementModel;
|
||||
import org.apache.commons.math4.filter.DefaultProcessModel;
|
||||
import org.apache.commons.math4.filter.KalmanFilter;
|
||||
import org.apache.commons.math4.filter.MeasurementModel;
|
||||
import org.apache.commons.math4.filter.ProcessModel;
|
||||
import org.apache.commons.math4.linear.Array2DRowRealMatrix;
|
||||
import org.apache.commons.math4.linear.ArrayRealVector;
|
||||
import org.apache.commons.math4.linear.MatrixDimensionMismatchException;
|
||||
|
|
|
@ -18,8 +18,6 @@ package org.apache.commons.math4.fitting;
|
|||
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.TooManyIterationsException;
|
||||
import org.apache.commons.math4.fitting.GaussianCurveFitter;
|
||||
import org.apache.commons.math4.fitting.WeightedObservedPoints;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -24,9 +24,6 @@ import org.apache.commons.numbers.angle.PlaneAngleRadians;
|
|||
import org.apache.commons.math4.analysis.function.HarmonicOscillator;
|
||||
import org.apache.commons.math4.exception.MathIllegalStateException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.fitting.HarmonicCurveFitter;
|
||||
import org.apache.commons.math4.fitting.WeightedObservedPoint;
|
||||
import org.apache.commons.math4.fitting.WeightedObservedPoints;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -23,8 +23,6 @@ import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
|
|||
import org.apache.commons.statistics.distribution.ContinuousDistribution;
|
||||
import org.apache.commons.statistics.distribution.UniformContinuousDistribution;
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.fitting.PolynomialCurveFitter;
|
||||
import org.apache.commons.math4.fitting.WeightedObservedPoints;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.apache.commons.rng.simple.RandomSource;
|
||||
import org.junit.Assert;
|
||||
|
|
|
@ -23,8 +23,6 @@ import org.apache.commons.math4.analysis.ParametricUnivariateFunction;
|
|||
import org.apache.commons.math4.analysis.polynomials.PolynomialFunction;
|
||||
import org.apache.commons.statistics.distribution.ContinuousDistribution;
|
||||
import org.apache.commons.statistics.distribution.UniformContinuousDistribution;
|
||||
import org.apache.commons.math4.fitting.SimpleCurveFitter;
|
||||
import org.apache.commons.math4.fitting.WeightedObservedPoints;
|
||||
import org.apache.commons.rng.simple.RandomSource;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@ import java.util.List;
|
|||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.apache.commons.math4.fitting.WeightedObservedPoint;
|
||||
import org.apache.commons.math4.fitting.WeightedObservedPoints;
|
||||
import org.apache.commons.numbers.core.Precision;
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,10 +21,6 @@ import org.apache.commons.math4.analysis.MultivariateMatrixFunction;
|
|||
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.fitting.leastsquares.MultivariateJacobianFunction;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer.Optimum;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem.Evaluation;
|
||||
import org.apache.commons.math4.linear.Array2DRowRealMatrix;
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.fitting.leastsquares;
|
||||
|
||||
import org.apache.commons.math4.fitting.leastsquares.EvaluationRmsChecker;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem.Evaluation;
|
||||
import org.apache.commons.math4.linear.RealMatrix;
|
||||
import org.apache.commons.math4.linear.RealVector;
|
||||
|
|
|
@ -17,11 +17,6 @@ import org.apache.commons.math4.TestUtils;
|
|||
import org.apache.commons.math4.analysis.MultivariateMatrixFunction;
|
||||
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
|
||||
import org.apache.commons.math4.exception.MathIllegalStateException;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresFactory;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.fitting.leastsquares.MultivariateJacobianFunction;
|
||||
import org.apache.commons.math4.fitting.leastsquares.ValueAndJacobianFunction;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem.Evaluation;
|
||||
import org.apache.commons.math4.linear.ArrayRealVector;
|
||||
import org.apache.commons.math4.linear.DiagonalMatrix;
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.fitting.leastsquares;
|
||||
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.linear.ArrayRealVector;
|
||||
import org.apache.commons.math4.linear.DiagonalMatrix;
|
||||
import org.apache.commons.math4.linear.RealVector;
|
||||
|
|
|
@ -19,9 +19,6 @@ package org.apache.commons.math4.fitting.leastsquares;
|
|||
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
|
||||
import org.apache.commons.math4.optim.SimpleVectorValueChecker;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -19,9 +19,6 @@ package org.apache.commons.math4.fitting.leastsquares;
|
|||
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
|
||||
import org.apache.commons.math4.optim.SimpleVectorValueChecker;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -19,9 +19,6 @@ package org.apache.commons.math4.fitting.leastsquares;
|
|||
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
|
||||
import org.apache.commons.math4.optim.SimpleVectorValueChecker;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -23,9 +23,6 @@ import org.apache.commons.geometry.euclidean.threed.Vector3D;
|
|||
import org.apache.commons.geometry.core.precision.EpsilonDoublePrecisionContext;
|
||||
import org.apache.commons.math4.exception.ConvergenceException;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.fitting.leastsquares.GaussNewtonOptimizer.Decomposition;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer.Optimum;
|
||||
import org.apache.commons.math4.optim.SimpleVectorValueChecker;
|
||||
|
|
|
@ -22,9 +22,6 @@ import java.util.Arrays;
|
|||
import org.apache.commons.math4.analysis.MultivariateMatrixFunction;
|
||||
import org.apache.commons.math4.analysis.MultivariateVectorFunction;
|
||||
import org.apache.commons.math4.exception.TooManyEvaluationsException;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresBuilder;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresProblem;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LevenbergMarquardtOptimizer;
|
||||
import org.apache.commons.math4.fitting.leastsquares.LeastSquaresOptimizer.Optimum;
|
||||
import org.apache.commons.math4.linear.DiagonalMatrix;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
|
|
|
@ -18,8 +18,6 @@ package org.apache.commons.math4.genetics;
|
|||
|
||||
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
package org.apache.commons.math4.genetics;
|
||||
|
||||
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.BinaryMutation;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -20,9 +20,6 @@ package org.apache.commons.math4.genetics;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ListPopulation;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -18,11 +18,6 @@ package org.apache.commons.math4.genetics;
|
|||
|
||||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ChromosomePair;
|
||||
import org.apache.commons.math4.genetics.CrossoverPolicy;
|
||||
import org.apache.commons.math4.genetics.CycleCrossover;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -18,9 +18,6 @@ package org.apache.commons.math4.genetics;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.genetics.AbstractListChromosome;
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
|
||||
/**
|
||||
* Implementation of BinaryChromosome for testing purposes
|
||||
*/
|
||||
|
|
|
@ -19,9 +19,6 @@ package org.apache.commons.math4.genetics;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.genetics.AbstractListChromosome;
|
||||
import org.apache.commons.math4.genetics.InvalidRepresentationException;
|
||||
|
||||
/**
|
||||
* Implementation of ListChromosome for testing purposes
|
||||
*/
|
||||
|
|
|
@ -18,9 +18,6 @@ package org.apache.commons.math4.genetics;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.genetics.AbstractListChromosome;
|
||||
import org.apache.commons.math4.genetics.RandomKey;
|
||||
|
||||
/**
|
||||
* Implementation of RandomKey for testing purposes
|
||||
*/
|
||||
|
|
|
@ -21,9 +21,6 @@ import java.util.Collections;
|
|||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.exception.OutOfRangeException;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ElitisticListPopulation;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -20,16 +20,6 @@ package org.apache.commons.math4.genetics;
|
|||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.BinaryMutation;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ElitisticListPopulation;
|
||||
import org.apache.commons.math4.genetics.FixedGenerationCount;
|
||||
import org.apache.commons.math4.genetics.GeneticAlgorithm;
|
||||
import org.apache.commons.math4.genetics.OnePointCrossover;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.apache.commons.math4.genetics.StoppingCondition;
|
||||
import org.apache.commons.math4.genetics.TournamentSelection;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -19,9 +19,6 @@ package org.apache.commons.math4.genetics;
|
|||
import java.util.Iterator;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.FixedElapsedTime;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -19,9 +19,6 @@ package org.apache.commons.math4.genetics;
|
|||
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.FixedGenerationCount;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -20,17 +20,6 @@ package org.apache.commons.math4.genetics;
|
|||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.genetics.AbstractListChromosome;
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.BinaryMutation;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ElitisticListPopulation;
|
||||
import org.apache.commons.math4.genetics.FixedGenerationCount;
|
||||
import org.apache.commons.math4.genetics.GeneticAlgorithm;
|
||||
import org.apache.commons.math4.genetics.OnePointCrossover;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.apache.commons.math4.genetics.StoppingCondition;
|
||||
import org.apache.commons.math4.genetics.TournamentSelection;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -20,17 +20,6 @@ package org.apache.commons.math4.genetics;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.math4.genetics.AbstractListChromosome;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ElitisticListPopulation;
|
||||
import org.apache.commons.math4.genetics.FixedGenerationCount;
|
||||
import org.apache.commons.math4.genetics.GeneticAlgorithm;
|
||||
import org.apache.commons.math4.genetics.OnePointCrossover;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.apache.commons.math4.genetics.RandomKey;
|
||||
import org.apache.commons.math4.genetics.RandomKeyMutation;
|
||||
import org.apache.commons.math4.genetics.StoppingCondition;
|
||||
import org.apache.commons.math4.genetics.TournamentSelection;
|
||||
import org.apache.commons.math4.util.FastMath;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -23,10 +23,6 @@ import java.util.Iterator;
|
|||
import org.apache.commons.math4.exception.NotPositiveException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooSmallException;
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ListPopulation;
|
||||
import org.apache.commons.math4.genetics.Population;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -21,11 +21,6 @@ import java.util.List;
|
|||
import org.apache.commons.math4.exception.DimensionMismatchException;
|
||||
import org.apache.commons.math4.exception.MathIllegalArgumentException;
|
||||
import org.apache.commons.math4.exception.NumberIsTooLargeException;
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.Chromosome;
|
||||
import org.apache.commons.math4.genetics.ChromosomePair;
|
||||
import org.apache.commons.math4.genetics.CrossoverPolicy;
|
||||
import org.apache.commons.math4.genetics.NPointCrossover;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
*/
|
||||
package org.apache.commons.math4.genetics;
|
||||
|
||||
import org.apache.commons.math4.genetics.BinaryChromosome;
|
||||
import org.apache.commons.math4.genetics.ChromosomePair;
|
||||
import org.apache.commons.math4.genetics.OnePointCrossover;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue