Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/01/11 14:33:18 (14 years ago)
Author:
mkommend
Message:

#1418: Added IHeuristicOptimizationProblem and adapted all according classes.

Location:
branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs

    r5445 r5578  
    4646    #region Problem Properties
    4747    public override Type ProblemType {
    48       get { return typeof(ISingleObjectiveProblem); }
    49     }
    50     public new ISingleObjectiveProblem Problem {
    51       get { return (ISingleObjectiveProblem)base.Problem; }
     48      get { return typeof(ISingleObjectiveHeuristicOptimizationProblem); }
     49    }
     50    public new ISingleObjectiveHeuristicOptimizationProblem Problem {
     51      get { return (ISingleObjectiveHeuristicOptimizationProblem)base.Problem; }
    5252      set { base.Problem = value; }
    5353    }
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs

    r5445 r5578  
    4646    #region Problem Properties
    4747    public override Type ProblemType {
    48       get { return typeof(ISingleObjectiveProblem); }
    49     }
    50     public new ISingleObjectiveProblem Problem {
    51       get { return (ISingleObjectiveProblem)base.Problem; }
     48      get { return typeof(ISingleObjectiveHeuristicOptimizationProblem); }
     49    }
     50    public new ISingleObjectiveHeuristicOptimizationProblem Problem {
     51      get { return (ISingleObjectiveHeuristicOptimizationProblem)base.Problem; }
    5252      set { base.Problem = value; }
    5353    }
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASA.cs

    r5445 r5578  
    4646    #region Problem Properties
    4747    public override Type ProblemType {
    48       get { return typeof(ISingleObjectiveProblem); }
    49     }
    50     public new ISingleObjectiveProblem Problem {
    51       get { return (ISingleObjectiveProblem)base.Problem; }
     48      get { return typeof(ISingleObjectiveHeuristicOptimizationProblem); }
     49    }
     50    public new ISingleObjectiveHeuristicOptimizationProblem Problem {
     51      get { return (ISingleObjectiveHeuristicOptimizationProblem)base.Problem; }
    5252      set { base.Problem = value; }
    5353    }
Note: See TracChangeset for help on using the changeset viewer.