Free cookie consent management tool by TermsFeed Policy Generator

Changeset 15235


Ignore:
Timestamp:
07/13/17 16:35:45 (7 years ago)
Author:
mkommend
Message:

#2802: Implemented new sample with strict OS for sym reg (Paige-I) with constant optimization and a simplified grammar.

Location:
trunk/sources
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs

    r15049 r15235  
    5555
    5656    #region Parameter Properties
    57     private ValueParameter<IntValue> SeedParameter {
     57    public IValueParameter<IntValue> SeedParameter {
    5858      get { return (ValueParameter<IntValue>)Parameters["Seed"]; }
    5959    }
    60     private ValueParameter<BoolValue> SetSeedRandomlyParameter {
     60    public IValueParameter<BoolValue> SetSeedRandomlyParameter {
    6161      get { return (ValueParameter<BoolValue>)Parameters["SetSeedRandomly"]; }
    6262    }
    63     private ValueParameter<IntValue> PopulationSizeParameter {
     63    public IValueParameter<IntValue> PopulationSizeParameter {
    6464      get { return (ValueParameter<IntValue>)Parameters["PopulationSize"]; }
    6565    }
     
    7070      get { return (IConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }
    7171    }
    72     private ValueParameter<PercentValue> MutationProbabilityParameter {
     72    public IValueParameter<PercentValue> MutationProbabilityParameter {
    7373      get { return (ValueParameter<PercentValue>)Parameters["MutationProbability"]; }
    7474    }
     
    7676      get { return (IConstrainedValueParameter<IManipulator>)Parameters["Mutator"]; }
    7777    }
    78     private ValueParameter<IntValue> ElitesParameter {
     78    public IValueParameter<IntValue> ElitesParameter {
    7979      get { return (ValueParameter<IntValue>)Parameters["Elites"]; }
    8080    }
    81     private IFixedValueParameter<BoolValue> ReevaluateElitesParameter {
     81    public IFixedValueParameter<BoolValue> ReevaluateElitesParameter {
    8282      get { return (IFixedValueParameter<BoolValue>)Parameters["ReevaluateElites"]; }
    8383    }
    84     private ValueParameter<IntValue> MaximumGenerationsParameter {
     84    public IValueParameter<IntValue> MaximumGenerationsParameter {
    8585      get { return (ValueParameter<IntValue>)Parameters["MaximumGenerations"]; }
    8686    }
    87     private ValueLookupParameter<DoubleValue> SuccessRatioParameter {
     87    public IValueLookupParameter<DoubleValue> SuccessRatioParameter {
    8888      get { return (ValueLookupParameter<DoubleValue>)Parameters["SuccessRatio"]; }
    8989    }
    90     private ValueLookupParameter<DoubleValue> ComparisonFactorLowerBoundParameter {
     90    public IValueLookupParameter<DoubleValue> ComparisonFactorLowerBoundParameter {
    9191      get { return (ValueLookupParameter<DoubleValue>)Parameters["ComparisonFactorLowerBound"]; }
    9292    }
    93     private ValueLookupParameter<DoubleValue> ComparisonFactorUpperBoundParameter {
     93    public IValueLookupParameter<DoubleValue> ComparisonFactorUpperBoundParameter {
    9494      get { return (ValueLookupParameter<DoubleValue>)Parameters["ComparisonFactorUpperBound"]; }
    9595    }
     
    9797      get { return (IConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["ComparisonFactorModifier"]; }
    9898    }
    99     private ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter {
     99    public IValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter {
    100100      get { return (ValueLookupParameter<DoubleValue>)Parameters["MaximumSelectionPressure"]; }
    101101    }
    102     private ValueLookupParameter<BoolValue> OffspringSelectionBeforeMutationParameter {
     102    public IValueLookupParameter<BoolValue> OffspringSelectionBeforeMutationParameter {
    103103      get { return (ValueLookupParameter<BoolValue>)Parameters["OffspringSelectionBeforeMutation"]; }
    104104    }
    105     private ValueLookupParameter<IntValue> SelectedParentsParameter {
     105    public IValueLookupParameter<IntValue> SelectedParentsParameter {
    106106      get { return (ValueLookupParameter<IntValue>)Parameters["SelectedParents"]; }
    107107    }
    108     private ValueParameter<MultiAnalyzer> AnalyzerParameter {
     108    public IValueParameter<MultiAnalyzer> AnalyzerParameter {
    109109      get { return (ValueParameter<MultiAnalyzer>)Parameters["Analyzer"]; }
    110110    }
    111     private ValueParameter<IntValue> MaximumEvaluatedSolutionsParameter {
     111    public IValueParameter<IntValue> MaximumEvaluatedSolutionsParameter {
    112112      get { return (ValueParameter<IntValue>)Parameters["MaximumEvaluatedSolutions"]; }
    113113    }
    114     private IFixedValueParameter<BoolValue> FillPopulationWithParentsParameter {
     114    public IFixedValueParameter<BoolValue> FillPopulationWithParentsParameter {
    115115      get { return (IFixedValueParameter<BoolValue>)Parameters["FillPopulationWithParents"]; }
    116116    }
  • trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj

    r15223 r15235  
    152152    <EmbeddedResource Include="Documents\SGP_Robocode.hl" />
    153153    <EmbeddedResource Include="Documents\PSO_Rastrigin.hl" />
     154    <EmbeddedResource Include="Documents\OSGP_SymReg.hl" />
    154155    <None Include="Plugin.cs.frame" />
    155156    <Compile Include="ChangeNestingLevelDialog.cs">
  • trunk/sources/HeuristicLab.Optimizer/3.3/StartPage.cs

    r15223 r15235  
    138138        };
    139139      groupLookup[standardProblemsGroup] = standardProblems;
    140       var dataAnalysisProblems = new List<string> { "ALPSGP_SymReg", "SGP_SymbClass", "SGP_SymbReg", "OSGP_TimeSeries", "GE_SymbReg", "GPR" };
     140      var dataAnalysisProblems = new List<string> { "ALPSGP_SymReg", "SGP_SymbClass", "SGP_SymbReg","OSGP_SymReg", "OSGP_TimeSeries", "GE_SymbReg", "GPR" };
    141141      groupLookup[dataAnalysisGroup] = dataAnalysisProblems;
    142142      var scripts = new List<string> { "GA_QAP_Script", "GUI_Automation_Script", "OSGA_Rastrigin_Script",
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Tests.csproj

    r15224 r15235  
    460460    <Compile Include="HeuristicLab-3.3\Samples\GABppSampleTest.cs" />
    461461    <Compile Include="HeuristicLab-3.3\Samples\GPRobocodeSampleTest.cs" />
     462    <Compile Include="HeuristicLab-3.3\Samples\GPSymbolicRegressionSampleWithOSTest.cs" />
    462463    <Compile Include="HeuristicLab-3.3\Samples\OSESGriewankSampleTest.cs" />
    463464    <Compile Include="HeuristicLab-3.3\Samples\GAGroupingProblemSampleTest.cs" />
Note: See TracChangeset for help on using the changeset viewer.