Changeset 7970 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Views/3.3/GQAPAssignmentView.cs
- Timestamp:
- 06/06/12 04:29:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Views/3.3/GQAPAssignmentView.cs
r7593 r7970 315 315 private void recalculateButton_Click(object sender, EventArgs e) { 316 316 double fdq, iq, oc; 317 GQAPEvaluator.Evaluate(Content.Assignment, Content.Weights,317 Content.Evaluator.Evaluate(Content.Assignment, Content.Weights, 318 318 Content.Distances, Content.InstallationCosts, Content.Demands, 319 319 Content.Capacities, out fdq, out iq, out oc); … … 322 322 Content.OverbookedCapacity = new DoubleValue(oc); 323 323 Content.Quality = new DoubleValue( 324 GQAPEvaluator.GetCombinedQuality(fdq, iq, oc,325 Content.TransportationCosts.Value, Content. OverbookedCapacityPenalty.Value));324 Content.Evaluator.GetFitness(fdq, iq, oc, 325 Content.TransportationCosts.Value, Content.ExpectedRandomQuality.Value)); 326 326 } 327 327 }
Note: See TracChangeset
for help on using the changeset viewer.