Changeset 5809 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 03/23/11 01:09:38 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3
- Property svn:ignore
-
old new 3 3 obj 4 4 HeuristicLabAlgorithmsGeneticAlgorithmPlugin.cs 5 *.vs10x
-
- Property svn:ignore
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs
r5445 r5809 41 41 [Creatable("Algorithms")] 42 42 [StorableClass] 43 public sealed class GeneticAlgorithm : EngineAlgorithm, IStorableContent {43 public sealed class GeneticAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent { 44 44 public string Filename { get; set; } 45 45 46 46 #region Problem Properties 47 47 public override Type ProblemType { 48 get { return typeof(ISingleObjective Problem); }49 } 50 public new ISingleObjective Problem Problem {51 get { return (ISingleObjective Problem)base.Problem; }48 get { return typeof(ISingleObjectiveHeuristicOptimizationProblem); } 49 } 50 public new ISingleObjectiveHeuristicOptimizationProblem Problem { 51 get { return (ISingleObjectiveHeuristicOptimizationProblem)base.Problem; } 52 52 set { base.Problem = value; } 53 53 } -
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r5445 r5809 41 41 [Creatable("Algorithms")] 42 42 [StorableClass] 43 public sealed class IslandGeneticAlgorithm : EngineAlgorithm, IStorableContent {43 public sealed class IslandGeneticAlgorithm : HeuristicOptimizationEngineAlgorithm, IStorableContent { 44 44 public string Filename { get; set; } 45 45 46 46 #region Problem Properties 47 47 public override Type ProblemType { 48 get { return typeof(ISingleObjective Problem); }49 } 50 public new ISingleObjective Problem Problem {51 get { return (ISingleObjective Problem)base.Problem; }48 get { return typeof(ISingleObjectiveHeuristicOptimizationProblem); } 49 } 50 public new ISingleObjectiveHeuristicOptimizationProblem Problem { 51 get { return (ISingleObjectiveHeuristicOptimizationProblem)base.Problem; } 52 52 set { base.Problem = value; } 53 53 }
Note: See TracChangeset
for help on using the changeset viewer.