Changeset 9363 for branches/OaaS/HeuristicLab.Optimization/3.3/Algorithms
- Timestamp:
- 04/16/13 13:13:41 (12 years ago)
- Location:
- branches/OaaS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.Optimization/3.3/Algorithms/Algorithm.cs
r8212 r9363 134 134 storeAlgorithmInEachRun = false; 135 135 runsCounter = 0; 136 Runs = new RunCollection ();136 Runs = new RunCollection { OptimizerName = Name }; 137 137 } 138 138 protected Algorithm(string name) … … 142 142 storeAlgorithmInEachRun = false; 143 143 runsCounter = 0; 144 Runs = new RunCollection ();144 Runs = new RunCollection { OptimizerName = Name }; 145 145 } 146 146 protected Algorithm(string name, ParameterCollection parameters) … … 150 150 storeAlgorithmInEachRun = false; 151 151 runsCounter = 0; 152 Runs = new RunCollection ();152 Runs = new RunCollection { OptimizerName = Name }; 153 153 } 154 154 protected Algorithm(string name, string description) … … 158 158 storeAlgorithmInEachRun = false; 159 159 runsCounter = 0; 160 Runs = new RunCollection ();160 Runs = new RunCollection { OptimizerName = Name }; 161 161 } 162 162 protected Algorithm(string name, string description, ParameterCollection parameters) … … 166 166 storeAlgorithmInEachRun = false; 167 167 runsCounter = 0; 168 Runs = new RunCollection ();168 Runs = new RunCollection { OptimizerName = Name }; 169 169 } 170 170 [StorableConstructor] … … 250 250 251 251 #region Events 252 protected override void OnNameChanged() { 253 base.OnNameChanged(); 254 Runs.OptimizerName = Name; 255 } 256 252 257 public event EventHandler ExecutionStateChanged; 253 258 protected virtual void OnExecutionStateChanged() { -
branches/OaaS/HeuristicLab.Optimization/3.3/Algorithms/UserDefinedAlgorithm.cs
r7259 r9363 107 107 if (Analyzer != null && Problem != null) { 108 108 foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) { 109 Analyzer.Operators.Add(analyzer );109 Analyzer.Operators.Add(analyzer, analyzer.EnabledByDefault); 110 110 } 111 111 }
Note: See TracChangeset
for help on using the changeset viewer.