Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/18/20 00:25:54 (4 years ago)
Author:
abeham
Message:

#2521: working on problems / fixing P3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs

    r17620 r17680  
    7070    public OrienteeringProblem()
    7171      : base(new IntegerVectorEncoding("Route")) {
     72      Maximization = true;
     73      Encoding.LengthParameter.ReadOnly = DimensionRefParameter.ReadOnly = true;
     74      Encoding.BoundsParameter.ReadOnly = BoundsRefParameter.ReadOnly = true;
     75
    7276      Parameters.Add(OrienteeringProblemDataParameter = new ValueParameter<IOrienteeringProblemData>("OP Data", "The main parameters for the orienteering problem.", new OrienteeringProblemData()));
    7377      Parameters.Add(BestKnownSolutionParameter = new OptionalValueParameter<OrienteeringSolution>("BestKnownSolution", "The best known solution of this Orienteering instance."));
    7478      Parameters.Add(BestOrienteeringSolutionParameter = new ResultParameter<OrienteeringSolution>("Best Orienteering Solution", "The best so far solution found."));
    75       Maximization = true;
     79     
    7680      Dimension = OrienteeringProblemData.Cities;
    7781      Bounds = new Data.IntMatrix(new[,] { { 0, Dimension } }, @readonly: true);
Note: See TracChangeset for help on using the changeset viewer.