Changeset 3303 for trunk/sources/HeuristicLab.Problems.Knapsack/3.3
- Timestamp:
- 04/12/10 01:29:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r3166 r3303 298 298 private void InitializeOperators() { 299 299 operators = new List<IBinaryVectorOperator>(); 300 if (ApplicationManager.Manager != null) { 301 foreach (IBinaryVectorOperator op in ApplicationManager.Manager.GetInstances<IBinaryVectorOperator>()) { 302 if (!(op is ISingleObjectiveMoveEvaluator) || (op is IKnapsackMoveEvaluator)) { 303 operators.Add(op); 304 } 300 foreach (IBinaryVectorOperator op in ApplicationManager.Manager.GetInstances<IBinaryVectorOperator>()) { 301 if (!(op is ISingleObjectiveMoveEvaluator) || (op is IKnapsackMoveEvaluator)) { 302 operators.Add(op); 305 303 } 306 ParameterizeOperators(); 307 } 308 304 } 305 ParameterizeOperators(); 309 306 InitializeMoveGenerators(); 310 307 }
Note: See TracChangeset
for help on using the changeset viewer.