- Timestamp:
- 07/18/20 00:25:54 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs
r17620 r17680 70 70 public OrienteeringProblem() 71 71 : base(new IntegerVectorEncoding("Route")) { 72 Maximization = true; 73 Encoding.LengthParameter.ReadOnly = DimensionRefParameter.ReadOnly = true; 74 Encoding.BoundsParameter.ReadOnly = BoundsRefParameter.ReadOnly = true; 75 72 76 Parameters.Add(OrienteeringProblemDataParameter = new ValueParameter<IOrienteeringProblemData>("OP Data", "The main parameters for the orienteering problem.", new OrienteeringProblemData())); 73 77 Parameters.Add(BestKnownSolutionParameter = new OptionalValueParameter<OrienteeringSolution>("BestKnownSolution", "The best known solution of this Orienteering instance.")); 74 78 Parameters.Add(BestOrienteeringSolutionParameter = new ResultParameter<OrienteeringSolution>("Best Orienteering Solution", "The best so far solution found.")); 75 Maximization = true;79 76 80 Dimension = OrienteeringProblemData.Cities; 77 81 Bounds = new Data.IntMatrix(new[,] { { 0, Dimension } }, @readonly: true);
Note: See TracChangeset
for help on using the changeset viewer.