Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/22/09 11:45:04 (15 years ago)
Author:
gkronber
Message:
  • Implemented cloning and persistence in data-modeling algorithms.
  • Fixed bugs in CEDMA controller.

#754

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Server/3.3/SimpleDispatcher.cs

    r2375 r2377  
    145145      if (possibleAlgos.Count() > 0) selectedAlgorithm = possibleAlgos.ElementAt(random.Next(possibleAlgos.Count()));
    146146      if (selectedAlgorithm != null) {
     147        // create a clone of the algorithm template before setting the parameters
     148        selectedAlgorithm = (HeuristicLab.Modeling.IAlgorithm)selectedAlgorithm.Clone();
    147149        SetProblemParameters(selectedAlgorithm, problemSpecifications[targetVariable]);
    148150        if (!(selectedAlgorithm is IStochasticAlgorithm))
Note: See TracChangeset for help on using the changeset viewer.