Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/19/12 10:33:27 (11 years ago)
Author:
mkommend
Message:

#1997: Added first working version of SymbolicDataAnalysisIslandGA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis.IslandAlgorithms/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs

    r9066 r9077  
    177177      set { IslandAnalyzerParameter.Value = value; }
    178178    }
    179     private RandomCreator RandomCreator {
     179    protected RandomCreator RandomCreator {
    180180      get { return (RandomCreator)OperatorGraph.InitialOperator; }
    181181    }
    182     private UniformSubScopesProcessor IslandProcessor {
     182    protected UniformSubScopesProcessor IslandProcessor {
    183183      get { return OperatorGraph.Iterate().OfType<UniformSubScopesProcessor>().First(x => x.Operator is SolutionsCreator); }
    184184    }
    185     private SolutionsCreator SolutionsCreator {
     185    protected SolutionsCreator SolutionsCreator {
    186186      get { return (SolutionsCreator)IslandProcessor.Operator; }
    187187    }
    188     private IslandGeneticAlgorithmMainLoop MainLoop {
     188    protected IslandGeneticAlgorithmMainLoop MainLoop {
    189189      get { return FindMainLoop(IslandProcessor.Successor); }
    190190    }
     
    417417      }
    418418    }
    419     private void ParameterizeSolutionsCreator() {
     419    protected virtual void ParameterizeSolutionsCreator() {
    420420      SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name;
    421421      SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;
    422422    }
    423     private void ParameterizeMainLoop() {
     423    protected virtual void ParameterizeMainLoop() {
    424424      MainLoop.BestKnownQualityParameter.ActualName = Problem.BestKnownQualityParameter.Name;
    425425      MainLoop.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name;
     
    427427      MainLoop.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName;
    428428    }
    429     private void ParameterizeStochasticOperator(IOperator op) {
     429    protected void ParameterizeStochasticOperator(IOperator op) {
    430430      IStochasticOperator stochasticOp = op as IStochasticOperator;
    431431      if (stochasticOp != null) {
     
    434434      }
    435435    }
    436     private void ParameterizeStochasticOperatorForIsland(IOperator op) {
     436    protected void ParameterizeStochasticOperatorForIsland(IOperator op) {
    437437      IStochasticOperator stochasticOp = op as IStochasticOperator;
    438438      if (stochasticOp != null) {
Note: See TracChangeset for help on using the changeset viewer.