Changeset 7412 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Moves/NMoveMaker.cs
- Timestamp:
- 01/25/12 18:32:44 (12 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP
- Property svn:ignore
-
old new 1 1 *.suo 2 TestResults
-
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Moves/NMoveMaker.cs
r7407 r7412 42 42 get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; } 43 43 } 44 public ILookupParameter<DoubleValue> InfeasibilityParameter { 45 get { return (ILookupParameter<DoubleValue>)Parameters["Infeasibility"]; } 44 public ILookupParameter<DoubleValue> FlowDistanceQualityParameter { 45 get { return (ILookupParameter<DoubleValue>)Parameters["FlowDistanceQuality"]; } 46 } 47 public ILookupParameter<DoubleValue> InstallationQualityParameter { 48 get { return (ILookupParameter<DoubleValue>)Parameters["InstallationQuality"]; } 49 } 50 public ILookupParameter<DoubleValue> OverbookedCapacityParameter { 51 get { return (ILookupParameter<DoubleValue>)Parameters["OverbookedCapacity"]; } 46 52 } 47 53 public ILookupParameter<DoubleValue> MoveQualityParameter { 48 54 get { return (ILookupParameter<DoubleValue>)Parameters["MoveQuality"]; } 49 55 } 50 public ILookupParameter<DoubleValue> MoveInfeasibilityParameter { 51 get { return (ILookupParameter<DoubleValue>)Parameters["MoveInfeasibility"]; } 56 public ILookupParameter<DoubleValue> MoveFlowDistanceQualityParameter { 57 get { return (ILookupParameter<DoubleValue>)Parameters["MoveFlowDistanceQuality"]; } 58 } 59 public ILookupParameter<DoubleValue> MoveInstallationQualityParameter { 60 get { return (ILookupParameter<DoubleValue>)Parameters["MoveInstallationQuality"]; } 61 } 62 public ILookupParameter<DoubleValue> MoveOverbookedCapacityParameter { 63 get { return (ILookupParameter<DoubleValue>)Parameters["MoveOverbookedCapacity"]; } 52 64 } 53 65 … … 60 72 Parameters.Add(new LookupParameter<NMove>("Move", "The move to perform.")); 61 73 Parameters.Add(new LookupParameter<DoubleValue>("Quality", "The solution quality.")); 62 Parameters.Add(new LookupParameter<DoubleValue>("Infeasibility", "The infeasibility of a solution.")); 74 Parameters.Add(new LookupParameter<DoubleValue>("FlowDistanceQuality", "The quality regarding the flow-distance criteria.")); 75 Parameters.Add(new LookupParameter<DoubleValue>("InstallationQuality", "The quality regarding the installation costs.")); 76 Parameters.Add(new LookupParameter<DoubleValue>("OverbookedCapacity", "The sum of the overbooked capacities relative to the capacity of each location.")); 63 77 Parameters.Add(new LookupParameter<DoubleValue>("MoveQuality", "The quality of the move if it would be applied.")); 64 Parameters.Add(new LookupParameter<DoubleValue>("MoveInfeasibility", "The infeasibility of the move if it would be applied.")); 78 Parameters.Add(new LookupParameter<DoubleValue>("MoveFlowDistanceQuality", "The quality of the move regarding the flow-distance criteria.")); 79 Parameters.Add(new LookupParameter<DoubleValue>("MoveInstallationQuality", "The quality of the move regarding the installation costs.")); 80 Parameters.Add(new LookupParameter<DoubleValue>("MoveOverbookedCapacity", "The sum of the overbooked capacities of the move relative to the capacity of each location.")); 65 81 } 66 82 … … 78 94 Apply(AssignmentParameter.ActualValue, MoveParameter.ActualValue); 79 95 QualityParameter.ActualValue.Value = MoveQualityParameter.ActualValue.Value; 80 InfeasibilityParameter.ActualValue.Value = MoveInfeasibilityParameter.ActualValue.Value; 96 FlowDistanceQualityParameter.ActualValue.Value = MoveFlowDistanceQualityParameter.ActualValue.Value; 97 InstallationQualityParameter.ActualValue.Value = MoveInstallationQualityParameter.ActualValue.Value; 98 OverbookedCapacityParameter.ActualValue.Value = MoveOverbookedCapacityParameter.ActualValue.Value; 81 99 return base.Apply(); 82 100 }
Note: See TracChangeset
for help on using the changeset viewer.