/// <summary> /// Construct with the provided IGenomeDecoder and IPhenomeEvaluator. /// </summary> public CoroutinedListEvaluator(IGenomeDecoder <TGenome, TPhenome> genomeDecoder, IPhenomeEvaluator <TPhenome> phenomeEvaluator, NeatSupervisor neatSupervisor) { _genomeDecoder = genomeDecoder; _phenomeEvaluator = phenomeEvaluator; _neatSupervisor = neatSupervisor; }
public void Initialize(XmlElement xmlConfig, NeatSupervisor neatSupervisor, int inputCount, int outputCount) { _name = XmlUtils.TryGetValueAsString(xmlConfig, "ExperimentName"); _populationSize = XmlUtils.GetValueAsInt(xmlConfig, "PopulationSize"); _specieCount = XmlUtils.GetValueAsInt(xmlConfig, "SpecieCount"); _activationScheme = ExperimentUtils.CreateActivationScheme(xmlConfig, "Activation"); _complexityRegulationStr = XmlUtils.TryGetValueAsString(xmlConfig, "ComplexityRegulationStrategy"); _complexityThreshold = XmlUtils.TryGetValueAsInt(xmlConfig, "ComplexityThreshold"); _description = XmlUtils.TryGetValueAsString(xmlConfig, "Description"); _eaParams = new NeatEvolutionAlgorithmParameters(); _eaParams.SpecieCount = _specieCount; _neatGenomeParams = new NeatGenomeParameters(); _neatGenomeParams.FeedforwardOnly = _activationScheme.AcyclicNetwork; _neatSupervisor = neatSupervisor; _inputCount = inputCount; _outputCount = outputCount; }
public BlackBoxFitnessEvaluator(NeatSupervisor neatSupervisor) { this._neatSupervisor = neatSupervisor; }