コード例 #1
0
ファイル: GACodeGenerator.cs プロジェクト: harnold/cobe
        public GACodeGenerator(
            GAInstructionSelectorConfiguration selectorConfiguration,
            GASchedulerConfiguration schedulerConfiguration)
        {
            this.selectorConfiguration = selectorConfiguration;
            this.schedulerConfiguration = schedulerConfiguration;

            selector = new GAInstructionSelector(this);
            scheduler = selector.Scheduler;
        }
コード例 #2
0
 public SelectionGenomePopulation(
     int size, GAInstructionSelector instructionSelector)
     : base(size)
 {
     this.instructionSelector = instructionSelector;
 }