Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/30/12 16:46:06 (12 years ago)
Author:
abeham
Message:

#1722: changed name of AfterDeserializationHook in some classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs

    r7906 r7934  
    2727using HeuristicLab.Core;
    2828using HeuristicLab.Data;
    29 using HeuristicLab.Encodings.PermutationEncoding;
    3029using HeuristicLab.Optimization;
    3130using HeuristicLab.Parameters;
    3231using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3332using HeuristicLab.PluginInfrastructure;
     33using HeuristicLab.Problems.Instances;
    3434using HeuristicLab.Problems.VehicleRouting.Interfaces;
     35using HeuristicLab.Problems.VehicleRouting.Interpreters;
    3536using HeuristicLab.Problems.VehicleRouting.ProblemInstances;
    3637using HeuristicLab.Problems.VehicleRouting.Variants;
    37 using HeuristicLab.Problems.Instances;
    38 using System.Reflection;
    39 using HeuristicLab.Problems.VehicleRouting.Interpreters;
    4038
    4139namespace HeuristicLab.Problems.VehicleRouting {
     
    112110
    113111    [Storable]
    114     private List<IOperator> operators; 
     112    private List<IOperator> operators;
    115113
    116114    public IEnumerable<IOperator> Operators {
     
    173171      EventHandler handler = Reset;
    174172      if (handler != null) handler(this, EventArgs.Empty);
    175     } 
     173    }
    176174    #endregion
    177175
    178176    #region Helpers
    179177    [StorableHook(HookType.AfterDeserialization)]
    180     private void AfterDeserializationHook() {
     178    private void AfterDeserialization() {
    181179      AttachEventHandlers();
    182180      AttachProblemInstanceEventHandlers();
     
    204202
    205203        ProblemInstance.EvaluationChanged += new EventHandler(ProblemInstance_EvaluationChanged);
    206       }     
     204      }
    207205    }
    208206
     
    248246    private void SolutionCreatorParameter_ValueChanged(object sender, EventArgs e) {
    249247      ParameterizeSolutionCreator();
    250      
     248
    251249      OnSolutionCreatorChanged();
    252250    }
     
    369367      } else {
    370368        throw new Exception("Cannot find an interpreter for " + data.GetType());
    371       }   
     369      }
    372370    }
    373371  }
Note: See TracChangeset for help on using the changeset viewer.