Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/30/10 15:54:47 (14 years ago)
Author:
svonolfe
Message:

Fixed small issues in the VRP implementation (#1039)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/Alba/Creators/AlbaPermutationCreator.cs

    r3938 r3991  
    5252      Parameters.Add(new ValueLookupParameter<IPermutationCreator>("PermutationCreatorParameter", "The permutation creator.", new RandomPermutationCreator()));
    5353
     54      Initialize();
    5455      ParameterizeSolutionCreator();
    55 
    56       Initialize();
    5756    }
    5857
     
    7574    void CitiesParameter_ValueChanged(object sender, EventArgs e) {
    7675      CitiesParameter.Value.ValueChanged += new EventHandler(CitiesValue_ValueChanged);
    77      
    7876      ParameterizeSolutionCreator();
    7977    }
     
    8482
    8583    private void ParameterizeSolutionCreator() {
    86       PermutationCreatorParameter.Value.LengthParameter.Value = CitiesParameter.Value;
    8784      PermutationCreatorParameter.Value.PermutationTypeParameter.Value = new PermutationType(PermutationTypes.RelativeUndirected);
    8885    }
Note: See TracChangeset for help on using the changeset viewer.