Changeset 1560


Ignore:
Timestamp:
04/15/09 17:10:29 (12 years ago)
Author:
dtraxing
Message:

added SGAMain as operator. SGAMain operator implements the functionality of SGAMain hardwired (only control structures). (ticket #580)

Location:
trunk/sources/HeuristicLab.SGA.Hardwired/3.3
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.SGA.Hardwired/3.3/CreateReplacement.cs

    r1558 r1560  
    4545    DoubleData probability;
    4646
    47     IList<OperatorBase> operators;
    48 
    4947    public override string Description {
    5048      get { return @"Implements the control structures of CreateReplacement hard wired. Operators are delegated."; }
     
    6967      //AddVariableInfo(new VariableInfo("Random", "Pseudo random number generator", typeof(IRandom), VariableKind.In));
    7068      //AddVariableInfo(new VariableInfo("Elites", "Number of selected sub-scopes", typeof(IntData), VariableKind.In));
    71 
    72       operators = new List<OperatorBase>();
    73       operators.Add(ls);
    74       operators.Add(rr);
    75       operators.Add(rs);
    76       operators.Add(lr);
    7769    }
    7870
  • trunk/sources/HeuristicLab.SGA.Hardwired/3.3/HeuristicLab.SGA.Hardwired-3.3.csproj

    r1558 r1560  
    6969  <ItemGroup>
    7070    <Compile Include="CreateReplacement.cs" />
    71     <Compile Include="CreateReplacementHardWired.cs" />
    7271    <Compile Include="CreateChildrenHardWired.cs" />
    7372    <Compile Include="HeuristicLabSGAHardwiredPlugin.cs" />
    7473    <Compile Include="Properties\AssemblyInfo.cs" />
    7574    <Compile Include="CreateChildren.cs" />
     75    <Compile Include="SGAMainWithHWControllStructures.cs" />
    7676  </ItemGroup>
    7777  <ItemGroup>
Note: See TracChangeset for help on using the changeset viewer.