Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/08/09 10:24:40 (15 years ago)
Author:
dtraxing
Message:

added fixed operator for SteadyStateOSGA
FixedOSGAMain: fixed a type in the name; removed catch block to in Apply method
FixedGAMainBase: add virtual and protected modifier to InitReplacement and DoReplacement
(ticket #580)

Location:
trunk/sources/HeuristicLab.FixedOperators/3.2
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.FixedOperators/3.2/FixedGAMainBase.cs

    r2129 r2150  
    8787    } // FixedGABase
    8888
    89     private void InitReplacement() {
     89    protected virtual void InitReplacement() {
    9090      ls = new LeftSelector();
    9191      rr = new RightReducer();
     
    170170    } // GetOperatorsFromScope
    171171
    172     protected void DoReplacement(IScope scope) {
     172    protected virtual void DoReplacement(IScope scope) {
    173173      //// SequentialSubScopesProcessor
    174174      Execute(ls, scope.SubScopes[0]);
  • trunk/sources/HeuristicLab.FixedOperators/3.2/FixedOSGAMain.cs

    r2129 r2150  
    3737  class FixedOSGAMain : FixedGAMainBase {
    3838    WeightedOffspringFitnessComparer wofc;
    39     OffspringSelector os;
     39    protected IOperator os;
    4040
    4141    public FixedOSGAMain()
    4242      : base() {
    43       Name = "FixeOSGAMain";
     43      Name = "FixedOSGAMain";
    4444      wofc = new WeightedOffspringFitnessComparer();
    4545      os = new OffspringSelector();
     
    144144        return new AtomicOperation(this, scope);
    145145      }
    146       catch (Exception ex) {
    147         ex.ToString();
    148       }
    149146
    150147      return null;
  • trunk/sources/HeuristicLab.FixedOperators/3.2/HeuristicLab.FixedOperators-3.2.csproj

    r2120 r2150  
    106106    <Compile Include="HeuristicLabFixedOperatorsPlugin.cs" />
    107107    <Compile Include="Properties\AssemblyInfo.cs" />
     108    <Compile Include="FixedSteadyStateOSGAMain.cs" />
    108109  </ItemGroup>
    109110  <ItemGroup>
     
    163164      <Project>{4095C92C-5A4C-44BC-9963-5F384CF5CC3F}</Project>
    164165      <Name>HeuristicLab.Logging-3.2</Name>
     166    </ProjectReference>
     167    <ProjectReference Include="..\..\HeuristicLab.Operators.Programmable\3.2\HeuristicLab.Operators.Programmable-3.2.csproj">
     168      <Project>{E3CCBFC6-900C-41B6-AFB8-6646DB097435}</Project>
     169      <Name>HeuristicLab.Operators.Programmable-3.2</Name>
    165170    </ProjectReference>
    166171    <ProjectReference Include="..\..\HeuristicLab.Operators\3.2\HeuristicLab.Operators-3.2.csproj">
Note: See TracChangeset for help on using the changeset viewer.