コード例 #1
0
        public SIMONIntelligence()
        {
            IntelligenceAlgorithm = AlgorithmForAI.GENETIC;
            AlgorithmPerformer = new SIMONGeneticAlgorithm();

            AlgorithmInvoker = new AlgorithmDelegate(AlgorithmPerformer.Implementation);
            AlgorithmLearnInvoker = new AlgorithmLearningDelegate(AlgorithmPerformer.Implementation);
            AlgorithmLearnPropInvoker = new AlgorithmLearnPropDelegate(AlgorithmPerformer.Implementation);
            LearnCallbackInvoker = new AsyncCallback(LearnAsyncCallback);
            LearnPropCallbackInvoker = new AsyncCallback(LearnPropertyAsyncCallback);
            LearnResult = null;
        }
コード例 #2
0
 /// <summary>
 /// SIMONFramework에서 제공되는 유전 알고리즘 클래스에 대한 옵션값을 설정합니다.
 /// </summary>
 /// <param name="optionInfo">GeneticAlgorithm 클래스의 프로퍼티값</param>
 public void ConfigureGeneticLearn(SIMONGeneticAlgorithm.GeneOption optionInfo)
 {
     IntelligenceManager.ConfigureLearning(AlgorithmForAI.GENETIC, optionInfo);
 }