Changeset 7460 for branches/HeuristicLab.TimeSeries/HeuristicLab.Operators
- Timestamp:
- 02/06/12 17:50:17 (13 years ago)
- Location:
- branches/HeuristicLab.TimeSeries
- Files:
-
- 3 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries
- Property svn:ignore
-
old new 3 3 *.resharper 4 4 *.suo 5 *.user 5 6 *.vsp 6 7 Doxygen 8 FxCopResults.txt 7 9 Google.ProtocolBuffers-0.9.1.dll 8 10 HeuristicLab 3.3.5.1.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Operators/3.3/HeuristicLab.Operators-3.3.csproj
r6866 r7460 118 118 <Compile Include="Assigner.cs" /> 119 119 <Compile Include="AlgorithmOperator.cs" /> 120 <Compile Include="DataReducer.cs" /> 121 <Compile Include="LocalRandomCreator.cs" /> 120 122 <Compile Include="MultiOperator.cs" /> 121 123 <Compile Include="Operator.cs" /> … … 123 125 <Compile Include="IntCounter.cs" /> 124 126 <Compile Include="Plugin.cs" /> 127 <Compile Include="ReductionOperation.cs" /> 128 <Compile Include="ReductionOperations.cs" /> 125 129 <Compile Include="ScopeCleaner.cs" /> 126 130 <Compile Include="StochasticBranch.cs" /> -
branches/HeuristicLab.TimeSeries/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs
r7268 r7460 61 61 } 62 62 63 [StorableHook(HookType.AfterDeserialization)]64 private void AfterDeserializationHook() {65 #region Backwards Compatibility66 if (!Parameters.ContainsKey("SelectedOperator")) {67 Parameters.Add(new LookupParameter<StringValue>("SelectedOperator", "If the TraceSelectedOperator flag is set, the name of the operator is traced in this parameter."));68 SelectedOperatorParameter.Hidden = false;69 }70 if (!Parameters.ContainsKey("TraceSelectedOperator")) {71 Parameters.Add(new ValueParameter<BoolValue>("TraceSelectedOperator", "Indicates, if the selected operator should be traced.", new BoolValue(false)));72 }73 #endregion74 }75 76 63 [StorableConstructor] 77 64 protected StochasticMultiBranch(bool deserializing) : base(deserializing) { } … … 90 77 Parameters.Add(new ValueParameter<BoolValue>("TraceSelectedOperator", "Indicates, if the selected operator should be traced.", new BoolValue(false))); 91 78 SelectedOperatorParameter.Hidden = false; 79 } 80 81 [StorableHook(HookType.AfterDeserialization)] 82 private void AfterDeserialization() { 83 // BackwardsCompatibility3.3 84 #region Backwards compatible code, remove with 3.4 85 if (!Parameters.ContainsKey("SelectedOperator")) { 86 Parameters.Add(new LookupParameter<StringValue>("SelectedOperator", "If the TraceSelectedOperator flag is set, the name of the operator is traced in this parameter.")); 87 SelectedOperatorParameter.Hidden = false; 88 } 89 if (!Parameters.ContainsKey("TraceSelectedOperator")) { 90 Parameters.Add(new ValueParameter<BoolValue>("TraceSelectedOperator", "Indicates, if the selected operator should be traced.", new BoolValue(false))); 91 } 92 #endregion 92 93 } 93 94
Note: See TracChangeset
for help on using the changeset viewer.