Changeset 1857 for trunk/sources/HeuristicLab.GP.StructureIdentification
- Timestamp:
- 05/20/09 10:50:18 (16 years ago)
- 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 35 35 using HeuristicLab.Operators.Programmable; 36 36 using HeuristicLab.Evolutionary; 37 using HeuristicLab.Modeling; 37 38 38 39 namespace 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 40 44 public virtual double MutationRate { 41 45 get { return GetVariableInjector().GetVariable("MutationRate").GetValue<DoubleData>().Data; } … … 52 56 } 53 57 54 public virtual int Seed {58 public virtual int RandomSeed { 55 59 get { return GetRandomInjector().GetVariable("Seed").GetValue<IntData>().Data; } 56 60 set { GetRandomInjector().GetVariable("Seed").GetValue<IntData>().Data = value; } … … 430 434 } 431 435 #endregion 436 432 437 } 433 438 } -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/OffspringSelectionGP.cs
r1529 r1857 39 39 namespace HeuristicLab.GP.StructureIdentification { 40 40 public class OffspringSelectionGP : StandardGP { 41 public override string Name { get { return "OffspringSelectionGP"; } } 41 42 42 43 public virtual int MaxEvaluatedSolutions { -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGP.cs
r1856 r1857 38 38 namespace HeuristicLab.GP.StructureIdentification { 39 39 public class StandardGP : AlgorithmBase, IEditable { 40 41 public override string Name { get { return "StandardGP"; } } 40 42 41 43 public virtual int MaxGenerations {
Note: See TracChangeset
for help on using the changeset viewer.