Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/28/14 14:24:09 (10 years ago)
Author:
pfleck
Message:

#2208:

  • Fixed bug in LocalImprovementOperator.
  • Implemented ShakingOperator.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Improvers/OrienteeringLocalImprovementOperator.cs

    r11194 r11226  
    4040    #region IGenericLocalImprovementOperator Properties
    4141    public Type ProblemType { get { return typeof(OrienteeringProblem); } }
    42     public IProblem Problem {
     42
     43    public OrienteeringProblem Problem {
     44      get { return problem; }
     45      set { ((ILocalImprovementOperator)this).Problem = value; }
     46    }
     47    IProblem ILocalImprovementOperator.Problem {
    4348      get { return problem; }
    4449      set {
     
    6166
    6267    public ILookupParameter<IntegerVector> IntegerVectorParameter {
    63       get { return (ILookupParameter<IntegerVector>)Parameters["IntegerVector"]; }
     68      get { return (ILookupParameter<IntegerVector>)Parameters["OrienteeringSolution"]; }
    6469    }
    6570    public ILookupParameter<DistanceMatrix> DistanceMatrixParameter {
     
    103108    public OrienteeringLocalImprovementOperator()
    104109      : base() {
    105       Parameters.Add(new LookupParameter<IntegerVector>("IntegerVector", "The Orienteering Solution given in path representation."));
     110      Parameters.Add(new LookupParameter<IntegerVector>("OrienteeringSolution", "The Orienteering Solution given in path representation."));
    106111      Parameters.Add(new LookupParameter<DistanceMatrix>("DistanceMatrix", "The matrix which contains the distances between the points."));
    107112      Parameters.Add(new LookupParameter<DoubleArray>("Scores", "The scores of the points."));
Note: See TracChangeset for help on using the changeset viewer.