Changeset 9077 for branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
- Timestamp:
- 12/19/12 10:33:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r9066 r9077 177 177 set { IslandAnalyzerParameter.Value = value; } 178 178 } 179 pr ivateRandomCreator RandomCreator {179 protected RandomCreator RandomCreator { 180 180 get { return (RandomCreator)OperatorGraph.InitialOperator; } 181 181 } 182 pr ivateUniformSubScopesProcessor IslandProcessor {182 protected UniformSubScopesProcessor IslandProcessor { 183 183 get { return OperatorGraph.Iterate().OfType<UniformSubScopesProcessor>().First(x => x.Operator is SolutionsCreator); } 184 184 } 185 pr ivateSolutionsCreator SolutionsCreator {185 protected SolutionsCreator SolutionsCreator { 186 186 get { return (SolutionsCreator)IslandProcessor.Operator; } 187 187 } 188 pr ivateIslandGeneticAlgorithmMainLoop MainLoop {188 protected IslandGeneticAlgorithmMainLoop MainLoop { 189 189 get { return FindMainLoop(IslandProcessor.Successor); } 190 190 } … … 417 417 } 418 418 } 419 pr ivatevoid ParameterizeSolutionsCreator() {419 protected virtual void ParameterizeSolutionsCreator() { 420 420 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 421 421 SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name; 422 422 } 423 pr ivatevoid ParameterizeMainLoop() {423 protected virtual void ParameterizeMainLoop() { 424 424 MainLoop.BestKnownQualityParameter.ActualName = Problem.BestKnownQualityParameter.Name; 425 425 MainLoop.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; … … 427 427 MainLoop.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName; 428 428 } 429 pr ivatevoid ParameterizeStochasticOperator(IOperator op) {429 protected void ParameterizeStochasticOperator(IOperator op) { 430 430 IStochasticOperator stochasticOp = op as IStochasticOperator; 431 431 if (stochasticOp != null) { … … 434 434 } 435 435 } 436 pr ivatevoid ParameterizeStochasticOperatorForIsland(IOperator op) {436 protected void ParameterizeStochasticOperatorForIsland(IOperator op) { 437 437 IStochasticOperator stochasticOp = op as IStochasticOperator; 438 438 if (stochasticOp != null) {
Note: See TracChangeset
for help on using the changeset viewer.