Exemple #1
0
        public void StartNoveltyEvaluations()
        {
            try
            {
                novel = new NoveltyThread(jsPop, this.assessGenome, 120);

                //then we run a single generation by doing this
                novel.StartNovelty();

                //we can stop at any time using PauseNovelty(), but we can just leave it running for now
            }
            catch (Exception e)
            {
                Console.WriteLine("Failed to create ea:");
                Console.WriteLine(e.Message);
                Console.WriteLine(e.StackTrace);
            }
        }
        public void StartNoveltyEvaluations()
        {
            try
            {
                novel = new NoveltyThread(jsPop, this.assessGenome,  120);

                //then we run a single generation by doing this
                novel.StartNovelty();

                //we can stop at any time using PauseNovelty(), but we can just leave it running for now
            }
            catch (Exception e)
            {
                Console.WriteLine("Failed to create ea:");
                Console.WriteLine(e.Message);
                Console.WriteLine(e.StackTrace);

            }
        }