Ejemplo n.º 1
0
        public GACodeGenerator(
            GAInstructionSelectorConfiguration selectorConfiguration,
            GASchedulerConfiguration schedulerConfiguration)
        {
            this.selectorConfiguration = selectorConfiguration;
            this.schedulerConfiguration = schedulerConfiguration;

            selector = new GAInstructionSelector(this);
            scheduler = selector.Scheduler;
        }
Ejemplo n.º 2
0
 public GAInstructionSelector(GACodeGenerator codeGenerator)
 {
     this.codeGenerator = codeGenerator;
     configuration = codeGenerator.SelectorConfiguration;
     scheduler = new GAScheduler(codeGenerator);
 }