Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/20/09 10:50:18 (15 years ago)
Author:
gkronber
Message:

Worked on lose coupling of CEDMA and GP/SVR with plugin HeuristicLab.Modeling as common bridge. #635

Location:
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/AlgorithmBase.cs

    r1529 r1857  
    3535using HeuristicLab.Operators.Programmable;
    3636using HeuristicLab.Evolutionary;
     37using HeuristicLab.Modeling;
    3738
    3839namespace HeuristicLab.GP.StructureIdentification {
    39   public abstract class AlgorithmBase : ItemBase {
     40  public abstract class AlgorithmBase : ItemBase, IAlgorithm, IStochasticAlgorithm {
     41    public virtual string Name { get { return "GP"; } }
     42    public virtual string Description { get { return "TODO"; } }
     43
    4044    public virtual double MutationRate {
    4145      get { return GetVariableInjector().GetVariable("MutationRate").GetValue<DoubleData>().Data; }
     
    5256    }
    5357
    54     public virtual int Seed {
     58    public virtual int RandomSeed {
    5559      get { return GetRandomInjector().GetVariable("Seed").GetValue<IntData>().Data; }
    5660      set { GetRandomInjector().GetVariable("Seed").GetValue<IntData>().Data = value; }
     
    430434    }
    431435    #endregion
     436
    432437  }
    433438}
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/OffspringSelectionGP.cs

    r1529 r1857  
    3939namespace HeuristicLab.GP.StructureIdentification {
    4040  public class OffspringSelectionGP : StandardGP {
     41    public override string Name { get { return "OffspringSelectionGP"; } }
    4142
    4243    public virtual int MaxEvaluatedSolutions {
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGP.cs

    r1856 r1857  
    3838namespace HeuristicLab.GP.StructureIdentification {
    3939  public class StandardGP : AlgorithmBase, IEditable {
     40
     41    public override string Name { get { return "StandardGP"; } }
    4042
    4143    public virtual int MaxGenerations {
Note: See TracChangeset for help on using the changeset viewer.