Changeset 7853


Ignore:
Timestamp:
05/21/12 14:12:04 (7 years ago)
Author:
svonolfe
Message:

Added missing creators (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs

    r7852 r7853  
    190190      if (ProblemInstance != null) {
    191191        EvaluatorParameter.Value = ProblemInstance.SolutionEvaluator;
    192         foreach (IVRPCreator creator in ProblemInstance.Operators.Where(o => o is IVRPCreator)) {
     192        foreach (IVRPCreator creator in operators.Where(o => o is IVRPCreator)) {
    193193          solutionCreatorParameter.ValidValues.Add(creator);
    194194        }
     
    208208
    209209    void ProblemInstanceParameter_ValueChanged(object sender, EventArgs e) {
     210      InitializeOperators();
    210211      AttachProblemInstanceEventHandlers();
    211       InitializeOperators();
    212212
    213213      OnSolutionCreatorChanged();
Note: See TracChangeset for help on using the changeset viewer.