public void FWOptimizerTestOptimization()
        {
            FWOptimizer fw = new FWOptimizer();

            FWParams param = new FWParams(10, GeneralOptimizerTests.ITER_MAX, 3, 1, 2, 4);

            bool error = GeneralOptimizerTests.TestOptimizer(fw, param);

            Assert.False(error);
        }
예제 #2
0
        public void GEMOptimizerTestOptimization()
        {
            GEMOptimizer gem = new GEMOptimizer();

            GEMParams param = new GEMParams(1, 5, GeneralOptimizerTests.ITER_MAX, 0.6, 10);

            bool error = GeneralOptimizerTests.TestOptimizer(gem, param);

            Assert.False(error);
        }
        public void BBBCTestOptimization()
        {
            BBBCOptimizer bb = new BBBCOptimizer();

            BBBCParams param = new BBBCParams(10, GeneralOptimizerTests.ITER_MAX, 0.4, 0.3);

            bool error = GeneralOptimizerTests.TestOptimizer(bb, param);

            Assert.False(error);
        }