public void TestRandomize()
 {
     var algo = new TrialAlgo();
     var anneal = new TrainAnneal(algo, new TrialScore());
     anneal.PerformRandomize(algo.LongTermMemory);
     anneal.FinishTraining();
     Assert.AreEqual(0, algo.LongTermMemory[0], AIFH.DefaultPrecision);
 }
Beispiel #2
0
        public void TestRandomize()
        {
            var algo   = new TrialAlgo();
            var anneal = new TrainAnneal(algo, new TrialScore());

            anneal.PerformRandomize(algo.LongTermMemory);
            anneal.FinishTraining();
            Assert.AreEqual(0, algo.LongTermMemory[0], AIFH.DefaultPrecision);
        }