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.LinearAssignment/3.3/LinearAssignmentProblem.cs

    r17594 r17680  
    6767      get { return (IResultParameter<LAPAssignment>)Parameters["Best LAP Solution"]; }
    6868    }
    69     //public IResultDefinition<LAPAssignment> BestLAPSolution => BestLAPSolutionParameter;
    7069    #endregion
    7170
     
    101100    public LinearAssignmentProblem()
    102101      : base(new PermutationEncoding("Assignment")) {
     102      Encoding.LengthParameter.ReadOnly = DimensionRefParameter.ReadOnly = true;
     103
    103104      Parameters.Add(new ValueParameter<DoubleMatrix>("Costs", CostsDescription, new DoubleMatrix(3, 3)));
    104105      Parameters.Add(new OptionalValueParameter<ItemSet<Permutation>>("BestKnownSolutions", "The list of best known solutions which is updated whenever a new better solution is found or may be the optimal solution if it is known beforehand.", null));
Note: See TracChangeset for help on using the changeset viewer.