- Timestamp:
- 05/15/13 22:23:36 (11 years ago)
- Location:
- branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Evaluators/Abstract
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Evaluators/Abstract/BinUtilizationRegularIdenticalBinEvaluator.cs
r9440 r9495 66 66 67 67 //if (itemPositionsAreValid) 68 return CalculateBinUtilization(plan as PackingPlan<D, B, I>, binMeasure, itemMeasures);68 return CalculateBinUtilization(plan as SingleBinSizePackingPlan<D, B, I>, binMeasure, itemMeasures); 69 69 70 70 //return quality; 71 71 } 72 72 73 public static DoubleValue CalculateBinUtilization( PackingPlan<D, B, I> plan, B binMeasure, ItemList<I> itemMeasures) {73 public static DoubleValue CalculateBinUtilization(SingleBinSizePackingPlan<D, B, I> plan, B binMeasure, ItemList<I> itemMeasures) { 74 74 int nrOfBins = plan.NrOfBins; 75 75 double result = 0; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Evaluators/Abstract/PackingPlanEvaluator.cs
r9440 r9495 72 72 73 73 74 protected abstract DoubleValue Evaluate(); 75 74 protected abstract DoubleValue Evaluate(); 76 75 public override IOperation Apply() { 77 76 QualityParameter.ActualValue = Evaluate();
Note: See TracChangeset
for help on using the changeset viewer.