Changeset 4378 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPProblemInstance.cs
- Timestamp:
- 09/10/10 13:00:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPProblemInstance.cs
r4377 r4378 147 147 148 148 public bool Feasible(IVRPEncoding solution) { 149 return EvaluatorParameter.Value.Feasible(this, solution); 149 return EvaluatorParameter.Value.Feasible( 150 EvaluatorParameter.Value.Evaluate( 151 this, solution)); 150 152 } 151 153 152 154 public bool Feasible(Tour tour) { 153 return EvaluatorParameter.Value.Feasible(this, tour); 155 return EvaluatorParameter.Value.Feasible( 156 EvaluatorParameter.Value.Evaluate( 157 this, tour)); 154 158 } 155 159 156 160 public double Evaluate(IVRPEncoding solution) { 157 return EvaluatorParameter.Value.Evaluate(this, solution) ;161 return EvaluatorParameter.Value.Evaluate(this, solution).Quality; 158 162 } 159 163 160 164 public double Evaluate(Tour tour) { 161 return EvaluatorParameter.Value.Evaluate(this, tour) ;165 return EvaluatorParameter.Value.Evaluate(this, tour).Quality; 162 166 } 163 167
Note: See TracChangeset
for help on using the changeset viewer.