Changeset 5159
- Timestamp:
- 12/22/10 16:13:11 (14 years ago)
- Location:
- branches/TSMemory
- Files:
-
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TSMemory/HeuristicLab.Algorithms.TabuSearch/3.3/HeuristicLab.Algorithms.TabuSearch-3.3.csproj
r5128 r5159 106 106 <ItemGroup> 107 107 <None Include="HeuristicLabAlgorithmsTabuSearchPlugin.cs.frame" /> 108 <Compile Include="MemoryCreator.cs" />109 <Compile Include="Memory.cs" />110 108 <Compile Include="HeuristicLabAlgorithmsTabuSearchPlugin.cs" /> 111 109 <Compile Include="Properties\AssemblyInfo.cs" /> -
branches/TSMemory/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearchMainLoop.cs
r5128 r5159 84 84 } 85 85 #endregion 86 87 [StorableHook(HookType.AfterDeserialization)] 88 private void AfterDeserialization() { 89 #region Backwards compatible code 90 VariableCreator variableCreator = OperatorGraph.InitialOperator as VariableCreator; 91 92 if (variableCreator != null) { 93 if (!variableCreator.CollectedValues.ContainsKey("Memories")) { 94 variableCreator.CollectedValues.Add(new ValueParameter<VariableCollection>("Memories", new VariableCollection())); 95 } 96 } 97 #endregion 98 } 86 99 87 100 [StorableConstructor] … … 153 166 variableCreator.CollectedValues.Add(new ValueParameter<BoolValue>("EmptyNeighborhood", new BoolValue(false))); 154 167 variableCreator.CollectedValues.Add(new ValueParameter<ItemList<IItem>>("TabuList", new ItemList<IItem>())); 155 variableCreator.CollectedValues.Add(new ValueParameter< Memory>("Memory", new Memory()));168 variableCreator.CollectedValues.Add(new ValueParameter<VariableCollection>("Memories", new VariableCollection())); 156 169 variableCreator.CollectedValues.Add(new ValueParameter<DoubleValue>("BestQuality", new DoubleValue(0))); 157 170 -
branches/TSMemory/HeuristicLab.Optimization/3.3/HeuristicLab.Optimization-3.3.csproj
r5128 r5159 112 112 <Compile Include="Algorithm.cs" /> 113 113 <Compile Include="BatchRun.cs" /> 114 <Compile Include="Interfaces\IMemory.cs" />115 114 <Compile Include="Interfaces\IMultiAnalyzer.cs" /> 116 115 <Compile Include="Interfaces\IIterationBasedOperator.cs" />
Note: See TracChangeset
for help on using the changeset viewer.