Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/06/12 04:29:56 (12 years ago)
Author:
abeham
Message:

#1614: restructured architecture to allow for different evaluator with different penalty strategies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Interfaces/IGQAPEvaluator.cs

    r7419 r7970  
    2222using HeuristicLab.Core;
    2323using HeuristicLab.Data;
     24using HeuristicLab.Encodings.IntegerVectorEncoding;
    2425using HeuristicLab.Optimization;
    2526
     
    3031    ILookupParameter<DoubleValue> InstallationQualityParameter { get; }
    3132    ILookupParameter<DoubleValue> OverbookedCapacityParameter { get; }
     33
     34    double Evaluate(IntegerVector assignment, DoubleMatrix weights, DoubleMatrix distances,
     35                    DoubleMatrix installCosts, DoubleArray demands, DoubleArray capacities,
     36                    double transportationCosts, double expectedRandomQuality);
     37
     38    void Evaluate(IntegerVector assignment, DoubleMatrix weights, DoubleMatrix distances,
     39                  DoubleMatrix installCosts, DoubleArray demands, DoubleArray capacities,
     40                  out double flowDistanceQuality, out double installationQuality,
     41                  out double overbookedCapacity);
     42
     43    double EvaluateOverbooking(DoubleArray slack, DoubleArray capacities);
     44
     45    double GetFitness(double flowDistanceQuality, double installationQuality,
     46                      double overbookedCapacity, double transportationCosts,
     47                      double expectedRandomQuality);
    3248  }
    3349}
Note: See TracChangeset for help on using the changeset viewer.