Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/10/10 11:32:52 (14 years ago)
Author:
svonolfe
Message:

Improved VRP visualization (#1039)

Location:
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Analyzers/BestVRPSolutionAnalyzer.cs

    r4184 r4185  
    127127        BestSolutionParameter.ActualValue = solution;
    128128        results.Add(new Result("Best VRP Solution", solution));
    129        
     129
     130        results.Add(new Result("Best TravelTime", new DoubleValue(travelTimes[i].Value)));
    130131        results.Add(new Result("Best Distance",  new DoubleValue(distances[i].Value)));
     132        results.Add(new Result("Best VehicleUtilization", new DoubleValue(vehiclesUtilizations[i].Value)));
    131133        results.Add(new Result("Best Overload",  new DoubleValue(overloads[i].Value)));
    132134        results.Add(new Result("Best Tardiness",  new DoubleValue(tardinesses[i].Value)));
    133         results.Add(new Result("Best TravelTime",  new DoubleValue(travelTimes[i].Value)));
    134         results.Add(new Result("Best VehicleUtilization",  new DoubleValue(vehiclesUtilizations[i].Value)));
    135135      } else {
    136136        if (solution.Quality.Value > qualities[i].Value) {
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/VRPSolution.cs

    r4015 r4185  
    195195    public VRPSolution() : base() { }
    196196
     197    public VRPSolution(DoubleMatrix coordinates): base() {
     198      this.coordinates = coordinates;
     199    }
     200
    197201    public VRPSolution(DoubleMatrix coordinates, IVRPEncoding solution, DoubleValue quality,
    198202      DoubleValue distance, DoubleValue overload, DoubleValue tardiness, DoubleValue travelTime,
Note: See TracChangeset for help on using the changeset viewer.