Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/03/20 11:35:39 (4 years ago)
Author:
abeham
Message:

#2521: working on VRP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPEvaluation.cs

    r17708 r17709  
    124124  [Item("VRPEvaluation", "")]
    125125  [StorableType("0c4dfa78-8e41-4558-b2dd-4a22954c35ba")]
    126   public class VRPEvaluation : EvaluationResult {
     126  public class VRPEvaluation : EvaluationResult, ISingleObjectiveEvaluationResult {
     127    // TODO: Would be nice to collect these, into individual results in a run
    127128    [Storable] public double Quality { get; set; }
    128129    [Storable] public double Distance { get; set; }
     
    130131    [Storable] public InsertionInfo InsertionInfo { get; set; }
    131132    [Storable] public double Penalty { get; set; }
    132 
     133    [Storable] public bool IsFeasible { get; set; }
    133134
    134135    [StorableConstructor]
     
    141142      InsertionInfo = cloner.Clone(original.InsertionInfo);
    142143      Penalty = original.Penalty;
     144      IsFeasible = original.IsFeasible;
    143145    }
    144146    public VRPEvaluation() : base() {
Note: See TracChangeset for help on using the changeset viewer.